Skip to content

Updating AquaCrop-OS version to 3.0.11#9

Open
oleksmialyk wants to merge 74 commits into
Han-Su22:masterfrom
aquacropos:master
Open

Updating AquaCrop-OS version to 3.0.11#9
oleksmialyk wants to merge 74 commits into
Han-Su22:masterfrom
aquacropos:master

Conversation

@oleksmialyk
Copy link
Copy Markdown
Collaborator

removing numba so no more compilation warnings/errors

chris-s-bowden and others added 30 commits April 18, 2024 16:04
For training notebooks.
Built-in CMIP6 data for Woolpit, Suffolk to be used in additional notebooks.
Updated to match new release version
Format change to additional climate files
Update for new release
Update cffi version from 1.15.0 to 1.16.0 to avoid package clashes on Google Colab
To include new CMIP6 projection built-in data for notebooks.
Update version to push new changes to PyPi
Update cffi version from 1.15.0 to 1.16.0 to address new dependency issue.
Updated manifest, setup and requirements
To fix error in Google Colab
oleksmialyk and others added 30 commits July 2, 2024 09:37
Soil bunds are provided in mm so no need to multiply them by 1000 when calculating runoff/water storage. Also, RunoffTotal (normal runoff + surface water storage overflow) is not used for anything; it should be renamed into Runoff so then it's reported in outputs.
@chris-s-bowden confirmed this change in AquaCrop v7 compared to v6
Immediately convert z_bund from metres to millimetres on initialisation of fieldManagement
Fixing bugs with groundwater, irrigation, soil bunds, canopy and root development
Update to readme and version increment
Also completely deleted 'checkIfPackageIsCompiled.py' and any references to it.
These changes were made by running the model and making changes iteratively to remove errors as they were flagged. The model now runs without errors but has zeros for almost all outputs. First 8 days of each season show gdd,gdd_cum,z_root from crop_growth and Wr,z_gw,Es,EsPot from water_flux; all other vars are zeroes throughout.
Duplicate crop definitions in the run_single_timestep that had appeared because of my overly simplistic replacement of all CropStruct()'s with Crop().
Mainly updating comments but a couple of files had imports and arguments of 'NT' classes which are no longer required.
Set current working package versions as minimum required versions. This is liable to potentially break in future as some packages update, but provides initial stability with only minor ongoing checks required.
Changed target to 2 decimal places from 3, in-line with all other targets in the test file.
Remove numba ahead-of-time compilation elements
to match requirements.txt
bump version number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants