AquaCrop-OSPy
Soil-Crop-Water model based on AquaCrop-OS.
from aquacrop.core import AquaCropModel, get_filepath, prepare_weather
from aquacrop.entities.soil import Soil
from aquacrop.entities.crop import Crop
from aquacrop.entities.inititalWaterContent import InitialWaterContent
weather_file_path = get_filepath('tunis_climate.txt')
modelOs = AquaCropModel(
sim_start_time=f"{1979}/10/01",
sim_end_time=f"{1985}/05/30",
weather_df=prepare_weather(weather_file_path),
soil=Soil(soilType='SandyLoam'),
crop=Crop('Wheat', planting_date='10/01'),
initial_water_content=InitialWaterContent(value=['FC']),
)
modelOs.initialize()
modelOs.step(till_termination=True)
modelOsResult = modelOs.Outputs.final_stats.head()
print(modelOsResult)
ABOUT
AquaCrop-OSPy is a python implementation of the popular crop-water model AquaCrop, built from the AquaCrop-OS source code.
AquaCrop-OS, an open source version of FAO’s multi-crop model, was released in August 2016 and is the result of collaboration between researchers at the University of Manchester, Water for Food Global Institute, U.N. Food and Agriculture Organization, and Imperial College London.
AquaCrop-OSPy has been designed in way that users can conduct cutting edge research with only basic python experience. In particular for the design and testing of irrigation stratgeies.
Open access journal article here
It is built upon the AquaCropOS crop-growth model written in Matlab ( paper , webpage ) which itself itself is based on the FAO AquaCrop model Webpage . Comparisons to both base models are shown here.
A forum has also been created so that users of AquaCrop-OSPy and AquaCrop-OS can discuss research, bugs and future development.
There is also an extensive documentation for the model
Install
pip install aquacrop
Quickstart
A number of tutorials has been created (more to be added in future) to help users jump straight in and run their first simulation. Run these tutorials instantly on Google Colab:
Metadata
Release files for aquacrop-pacs27 0.0.31
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| aquacrop_pacs27-0.0.31.tar.gz | 2.3 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aquacrop_pacs27-0.0.31-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.7 MB
Release files / aquacrop_pacs27-0.0.31.tar.gz
| Download URL | aquacrop_pacs27-0.0.31.tar.gz |
|---|---|
| Size | 2.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8ea2f726f8b5b56bdf973a55a5ab3ff3546cb5bc6ba9cdf55312e9f676c0e6d
|
|
BLAKE2b-256 checksum How to use checksums |
74c00f2204aa8c6638663d3c279e950ae38578dd9b0a88bad0697c4355d11e90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / aquacrop_pacs27-0.0.31-py3-none-any.whl
| Download URL | aquacrop_pacs27-0.0.31-py3-none-any.whl |
|---|---|
| Size | 2.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
281c979dd1ab62363b922e827bbb581ea6d7904efe4a6f0bb98a6b5291233d37
|
|
BLAKE2b-256 checksum How to use checksums |
c23e05f2e812a4d671c5367cad6db953341751c0dbbf01b4199ed0374fd6e0c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Security for aquacrop-pacs27 0.0.31
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.