Skip to content

PCSE 6.1.0

Latest

Choose a tag to compare

@ajwdewit ajwdewit released this 19 Nov 10:10
· 1 commit to master since this release

PCSE 6.1 has several new features although not all are included in the PCSE source distribution:

  • New weather dataproviders for AgERA5 and AgERA5/CHIRPS in pcse.input.
  • A new soil dataprovider for the Dutch BOFEK soil database. This is a separate package on PYPI soil_dataprovider_nl because of dependencies.
  • Crop residues can now be incorporated into the soil as an organic amendment in SNOMIN. A new CropCalendarWithCropResidues has been added to the agromanager where some additional parameters need to be specified.
  • the LINTUL-CASSAVA model was implemented to run under PCSE, however it is not included in the source distribution and sits on its own repository.
  • Unit tests were added for WOFOST 8.1 potential production in the tests/ directory.
  • Some variables were added to improve the handling of irrigation events.
  • WOFOST 8.1 can now run for C4 crops like maize, sorghum, millet and sugar cane based on an newly developed relationship between leaf N concentration and leaf assimilation rate. This is a change not in the WOFOST code in PCSE but in the WOFOST 8.1 crop parameter library.

Furthermore, a bug was fixed in the assimilation routine of WOFOST 8.1: the daily average temperature was used instead of the daytime average temperature.

Finally, a considerable clean up of the code base was done:

  • modules that were not used have been deleted from the source tree such as taskmanager and pcse.db. As a result the dependency on SQLAlchemy was dropped from the project.
  • pydispatcher is now a separate dependency instead of included in the PCSE code itself.
  • Source code files in the crop/ directory were reorganized.
  • The unit tests for LINGRA were regenerated: TMIN/TMAX were switched in the YAML files which had no direct impact as LINGRA uses daily mean temperature only however this was solved. At the same time the number of weather records in the YAML tests were strongly reduced so the LINGRA tests run much faster now.
  • The test suite was fixed for python 3.13+.