Skip to main content

Calculation of soil water balance

Project description

swb - Calculation of soil water balance

https://img.shields.io/pypi/v/swb.svg https://img.shields.io/travis/openmeteo/swb.svg Coverage Updates

Model for calculation of soil water balance. See https://swb.readthedocs.io.

History

5.0.1 (2024-04-14)

  • calculate_crop_evapotranspiration() now works with aware (as well as with naive) time series.

5.0.0 (2021-08-13)

  • mif has been renamed to refill_factor.

4.0.0 (2021-05-14)

  • actual_net_irrigation cannot be True any more; instead, it can have the value “model” (same as what True was) or “fc” (new functionality).

  • There is now an additional output column, assumed_net_irrigation, useful when actual_net_irrigation is “model” or “fc”.

3.0.0 (2020-09-24)

  • calculate_crop_evapotranspiration() argument kc_initial has been renamed to kc_plantingdate.

2.0.0 (2020-08-06)

  • Only Python>=3.6 is supported.

  • Specifying Kc for calculate_crop_evapotranspiration() has changed; it’s now not only three values (Kc_init, Kc_mid, Kc_late), but an unlimited number of (number-of-days-in-stage, Kc-at-end-of-stage) pairs.

1.0.2 (2020-04-08)

  • Fixed an issue when there was (unreasonably) large irrigation.

1.0.1 (2020-04-03)

  • Added the constraint Dr ≤ TAW.

1.0.0 (2020-01-07)

  • Added simple model to get effective precipitation from total precipitation.

0.3.3 (2019-12-13)

  • Fixed crash when calculate_crop_evapotranspiration received a time series whose timestamps did not end in 00:00.

0.3.2 (2019-05-06)

  • Fixed crop evapotranspiration model, which could only run for the entire period from planting to harvest; now it can run for part of the period.

0.3.1 (2019-03-27)

  • Changed the way deep percolation is calculated; now uses theta - theta_fc rather than theta_s - theta_fc.

0.3.0 (2019-03-26)

  • Fixed swb errors with deep percolation.

0.2.0 (2019-03-23)

  • Added model for calculation of crop evapotranspiration from reference evapotranspiration.

0.1.0 (2019-03-14)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swb-5.0.1.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

swb-5.0.1-py2.py3-none-any.whl (5.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file swb-5.0.1.tar.gz.

File metadata

  • Download URL: swb-5.0.1.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for swb-5.0.1.tar.gz
Algorithm Hash digest
SHA256 6632a6a2164ff73aa9d7f3f14b5cb7f9dd0f9034badb0e66e09ecf99baa54fa0
MD5 3d6f3276329b62eed433a227160581c9
BLAKE2b-256 62071544e9c7c9380c246391b652d2bc39df20a436e11d0a5fadd82c958ce430

See more details on using hashes here.

File details

Details for the file swb-5.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: swb-5.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for swb-5.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1033876878118cd064105ede533c3553131c464ee932d70cc3b0ca0032d9d3d5
MD5 489f5f3a433238f3a1f01842111d0abe
BLAKE2b-256 58916dcb10d28f8559776ea7357513381cb53a958961bd15e49c875e4cf4283a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page