Skip to main content

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

Release files for swb 5.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swb 5.0.1
File Size Uploaded
swb-5.0.1.tar.gz 15.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for swb 5.0.1
File Interpreter ABI Platform
swb-5.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 21.2 kB

Release files / swb-5.0.1.tar.gz

Download URL swb-5.0.1.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6632a6a2164ff73aa9d7f3f14b5cb7f9dd0f9034badb0e66e09ecf99baa54fa0
BLAKE2b-256 checksum
How to use checksums
62071544e9c7c9380c246391b652d2bc39df20a436e11d0a5fadd82c958ce430
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / swb-5.0.1-py2.py3-none-any.whl

Download URL swb-5.0.1-py2.py3-none-any.whl
Size 5.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1033876878118cd064105ede533c3553131c464ee932d70cc3b0ca0032d9d3d5
BLAKE2b-256 checksum
How to use checksums
58916dcb10d28f8559776ea7357513381cb53a958961bd15e49c875e4cf4283a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

5.0.1 This release

2 release files

5.0.0

2 release files

4.0.0

2 release files

3.0.0

2 release files

2.0.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page