Coder Social home page Coder Social logo

ebadatibnbabar / spei-calculation-r Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 60 KB

This project employs R programming to compute the Standardized Precipitation Evapotranspiration Index (SPEI), a widely used drought index. SPEI calculations were conducted for Bahawalnagar District, Punjab, Pakistan.

R 100.00%
climate-analytics climate-data data-analysis data-visualization disaster-management drought-index drought-indices drought-monitoring meteorological-data meteorological-stations potential-evapotranspiration r-language r-programming rainfall spei temperature

spei-calculation-r's Introduction

SPEI Calculation using R Programming

This project employs R programming to compute the Standardized Precipitation Evapotranspiration Index (SPEI), a widely used drought index. SPEI calculations were conducted for Bahawalnagar District, Punjab, Pakistan. The primary objective is to assess and monitor drought patterns across the region.

SPEI Calculation R

Standardized Precipitation Evapotranspiration Index (SPEI)

The Standardized Precipitation Evapotranspiration Index (SPEI) is a drought index commonly used to assess and monitor drought conditions. It integrates both precipitation and evapotranspiration data, providing a standardized measure of drought severity that is comparable across different regions and time periods. SPEI accounts for the combined effects of precipitation deficits and excesses, as well as variations in temperature, soil moisture, and vegetation characteristics. By considering both precipitation and evapotranspiration, SPEI offers a more comprehensive understanding of drought conditions compared to indices based solely on precipitation. The index is calculated by fitting a probability distribution to the monthly or seasonal precipitation and evapotranspiration data. It then standardizes the cumulative precipitation and evapotranspiration values to a normal distribution, allowing for the comparison of drought severity across different time scales. SPEI values are typically reported in standard deviations from the long-term mean, with negative values indicating dry conditions (drought) and positive values indicating wet conditions (pluvial). The magnitude of the SPEI value corresponds to the severity of the drought or pluvial event, with more negative (or positive) values representing more severe drought (or pluvial) conditions.

Data

The repository includes datasets encompassing rainfall, minimum and maximum temperature records spanning from 1992 to 2021. These datasets were meticulously collected by the Pakistan Meteorological Department and acquired for M.Phil Research purposes.

Requirements

  • RStudio version 2023.06.1 Build 524
  • R Libraries: SPEI, ggplot2, lmomco, writexl

Citation

If you use this repository or the data provided, please cite the following:

spei-calculation-r's People

Contributors

ebadatibnbabar avatar

Watchers

 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.