Python Implementation of the STICS crop model (https://eng-stics.paca.hub.inrae.fr).
See Notebooks/run_simulation.ipynb to see a simulation example on wheat.
Two simulation types are possible :
- Simulation from STICS USM examples associated to a species and variety chosen by the user.
- Simulation with plant/soil parameters from USM examples and weather data from a location and a year chosen by the user. Weather data are then requested from ERA5 API (https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels).
- Create and activate a conda environment:
conda create --name envi_name python=3.11 pip
conda activate envi_name
- Clone repository and install pystics with pip:
git clone [email protected]:OmbreaPV/pySTICS.git
cd pySTICS
pip install -e .