Coder Social home page Coder Social logo

wrsi's Introduction

Water requirement satisfaction index (WRSI) calculator

from wrsi import wrsi_dekadal
from wrsi import wrsi_daily

calculate_wrsi_dek = wrsi_dekadal(ETa, ETc, method = "Modified", rain = Rain_data_list)
calculate_wrsi_dek.calculate_wrsi_dekadal()
print(calculate_wrsi_dek.wrsi)

calculate_wrsi_daily = wrsi_dekadal(ETa, ETc, method = "Original")
calculate_wrsi_dek.calculate_wrsi_daily()
print(calculate_wrsi_daily.wrsi)

Calculation of the Water requirement satisfaction index (WRSI) for annual crop.

About

This package calculate the wrsi for crop based on the original method by FAO (Frere and Popov 1979) and the modified method. The data needed for the calculation are:

  • actual evapotranspiration in mm (ETa).
  • reference crop evapotranspiration in mm (called also water requirement) which is the maximum evapotranspiration for a crop where there is no water stress(ETc).
  • rainfall in mm. Rainfall data is optionnal and is used to simulate the effect of water excess on the WRSI.

Two timestep are avalaible for the calculation, depending on the input data:

  • daily
  • dekadal The input data must have the same timestep and length.

Install

pip install wrsi

wrsi's People

Contributors

farafehizoro 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.