ClimAg: Multifactorial causes of fodder crises in Ireland and risks due to climate change
ClimAg is a three-year research project funded by the Environmental Protection Agency (EPA) under the Climate Change Research Programme grant number 2018-CCRP-MS.50, with additional funding provided under the COVID-19 research support scheme of the Higher Education Authority.
ClimAg is examining past fodder crises such as the 2018 dry summer and placing them in the context of long-term climate change.
ClimAg seeks to identify the multifactorial drivers of fodder crises by:
- developing a detailed understanding of the multiple interlinked drivers of previous fodder crises affecting the Irish agricultural sector
- combining datasets from 21st century climate simulations with grass growth models to predict the frequency and severity of fodder crisis events under future climate change scenarios
Repositories
Documentation is available at: https://climag.readthedocs.io/. All repositories can be found in the ClimAg GitHub organisation. This repository hosts Python code for the grass growth model and scripts to perform data preparation, model simulations, and analysis. Separate repositories host the documentation and Jupyter notebooks and information about the datasets used.
Installation
This project uses Conda with Python 3.10. Windows users should use Conda within Windows Subsystem for Linux (WSL), as some packages (e.g. CDO) are unavailable for Windows.
Create a virtual environment and install all requirements:
conda env create
Activate the virtual environment:
conda activate ClimAg
To run tests:
python -m pytest
To generate a coverage report with the tests:
python -m coverage run -m pytest && coverage report -m
To update the virtual environment:
conda env update --name ClimAg --file environment.yml
Licence
Copyright 2022-2024 N. Streethran
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Credits
The Python implementation of the ModVege pasture model adapted for use in this project was translated from Java to Python by Y. Chemin. The Java model was provided by R. Martin of INRAE UREP Clermont-Ferrand for the original Python implementation. The original ModVege pasture model was developed by Jouven et al.