Code Monkey home page Code Monkey logo

ibss_climate's Introduction

IBSS Climate

This is the code repository for computing precipitation extremes and their associated predictability scores at the chosen ethnographic sites (SCCS) for the Interdisciplinary Behavioral and Social Science (IBSS) project, based on data from the GHCN daily precipitation dataset.

At each SCCS site, 9 GHCN stations were chosen based on the nearest distance approach for gap-filling purpose. All 9 GHCN stations are gap-filled at the same time.

Extreme precipitation indices include: R10S: number of days with >10 mm/d of precipitation within a season R20S: number of days with >20 mm/d of precipitation within a season R01S: number of days with <1 mm/d of precipitation within a season R05S: number of days with <5 mm/d of precipitation within a season R95P: the 95th percentile of daily precipitation R99P: the 99th percentile of daily precipitation PRCPTOT: annual total precipitation

Additionally, there are consecutive dry and wet day indices.

Predictabiilty scores are calculated based on the Colwell index for each extreme index.

Repository structure

To run the script, simply run the "Run_programs.R" in the repository. All functions are stored in folder "modules". All pre-requisitory scripts are stored in folder "R". Raw GHCN daily dataset must be downloaded from the GHCN website and store in data/ghcnd_all/ghcnd_all (this directory is where the script is looking for input).

References:

Colwell, R.K., 1974. Predictability, constancy, and contingency of periodic phenomena. Ecology, 55: 1148-1153. Jiang et al., 2016. Journal of Climate (doi: https://doi.org/10.1175/JCLI-D-15-0560.1). Jiang et al., 2016. Scientific Reports (doi: 10.1038/srep29962).

ibss_climate's People

Contributors

bfelzer avatar mingkaijiang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.