Work in progress
This repository contains the code for a project run by the Institute of Environmental Sciences (CML) at Leiden University, subcontracted from the Netherlands Space Office (NSO) within the FPCUP framework. The aim of the project was to develop a data product improving the retrieval and prediction of crop yields by assimilating existing models (WOFOST) and satellite data (Copernicus). Please note that it is currently under very active development and not yet ready to be used by others.
The module is most easily installed using pip
.
This requires first cloning the repository, then going into it and running pip install .
.
Some data will need to be downloaded separately.
From the PCSE tutorial notebooks, download the soil data (data/soil/ec*.soil
) and move these into data/soil.
From PDOK, download the original BRP files and move these into data/brp; these are then processed using the process_brp.py script.
The provincial basemaps are included in the repository but may not load properly when importing into a different working directory.
This can be solved temporarily by working in the fpcup
directory or copying the files over to your working directory.
A permanent fix would be to package the data into the module.
If you would like to generate or modify the basemaps yourself, download data from PDOK and process them using the generate_basemaps.py script.
The fpcup
module can be used through the scripts provided in this repository, which can run WOFOST ensembles and analyse the outputs.
For a demonstration of different functionalities, please refer to the demo notebook.