Eocene Tools is a Python package for processing and analysing output from Earth System Model (ESM) simulations, with an initial focus on EC-Earth experiments of Eocene climates.
eocene_tools/ common/ utils.py yaml.py remapping/ remap.py config_remap.yml run_remap.job data_analysis/
You need:
- a Python environment with the project dependencies installed
- access to EC-Earth4 simulation outputs.
- access to the DeepMIP dataset
- external tools required by the selected workflow, especially
cdofor several operations
Clone the repository: git clone https://github.com/renatacoppo/eoctools cd eocene-tools
Create the conda environment:
mamba env create -f environment.ymlor
conda env create -f environment.ymlActivate the environment:
conda activate eoctoolsInstall the package in editable mode:
pip install -e .Main dependencies include:
Python ≥ 3.9 CDO xarray PyYAML ecCodes
See environment.yml for the complete software environment.
The remapping workflow produces reproducible workflows to extract variables from model output, compute annual means, remap data to common grids of 2° × 2° (if needed), and saves them in a new folder.
It produces three main files:
atm_annual_mean_{first_year}-{last_year}.ncoce_annual_mean_{first_year}-{last_year}.ncmoc_annual_mean_{first_year}-{last_year}.nc
The main entry point is:
./remapping/remap.py-c, --config Path to the YAML configuration file. Required.
Example:
./eoctools/remapping/remap.py -c eoctools/remapping/config_remap.ymlor, on an HPC system, submit the provided batch script:
sbatch eoctools/remapping/run_remap.jobThe remapping workflow is configured through a YAML file specifying:
- cdo_path: location of the CDO executable
- base_output: output directory
- experiments: input experiments path
- atmospheric variables (configured for cdo)
- ocean variables (configured for cdo)
- MOC variables (configured for xarray)
- filename filters (for selecting the file type from the simulation output)
Renata Coppo postdoc Researcher ISAC-CNR, Italy
If you use Eocene Tools in your research, please cite this repository: Coppo, R. (2026). Eocene Tools. GitHub repository. https://github.com/renatacoppo/eoctools