Skip to content

shu342/fpcup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

351 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Consistent retrieval of crop yields using a data assimilation platform

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.

Installation

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.

Use

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.

About

Consistent retrieval of crop yields using a data assimilation platform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 68.7%
  • Jupyter Notebook 31.3%