Turns gridded ISMIP7 ice sheet model output into the scalar time series the community compares: three sea-level contributions, four state scalars and six integrated mass fluxes, for the whole ice sheet and optionally for each IMBIE3 basin. Covers Antarctica (AIS) and Greenland (GrIS).
Documentation: https://ismip.github.io/ismip7-scalar-processing/
conda create -n ismip7-scalars -c conda-forge ismip7-scalars
conda activate ismip7-scalars
ismip7-scalars --region AIS \
--group VUW --model PISM1 --modelid m001 \
--esm CESM2-WACCM --forcingid f001 \
--experiment ssp585 --configid C007 --hist-configid C001 \
--modelpath Models/AIS --datapath Data/AISThree commands are installed:
ismip7-scalarsprocesses one experimentismip7-scalars-ensembleprocesses every experiment in a submission treeismip7-scalars-set-paramswrites the density file each model needs
New releases come often, with bug fixes and new features. Update before you process new output:
conda update -n ismip7-scalars -c conda-forge ismip7-scalarsYour model output laid out as in an ISMIP7 submission, the area factors and masks for your grid resolution, and a params.nc holding the densities your model was run with. For the VUW group's PISM1 model:
Models/AIS/ <-- --modelpath: the ice sheet directory, not your model's
└── VUW/
└── PISM1/
├── params.nc
└── CORE/
├── C001/ lithk_AIS_VUW_PISM1_m001_CESM2-WACCM_f001_historical_C001_1850-2014.nc ...
└── C007/ lithk_AIS_VUW_PISM1_m001_CESM2-WACCM_f001_ssp585_C007_2015-2300.nc ...
Data/AIS/ <-- --datapath, from the ISMIP Globus server under Output-Processing
Output goes to Output/nc, in a tree mirroring the model tree, and to
Output/csv, flat. Each run produces one sl_<run-fields>_<mask>.csv
containing a row for each enabled SLC method, GIC variant, and selected mask;
NetCDF remains one file per scalar. Use --csv/--no-csv and
--netcdf/--no-netcdf to override the default formats. The
getting started
page walks through this.
| Getting started | install, lay out the files, run one experiment |
| File conventions | filenames, directory layout, time encoding, params.nc |
| Running the processing | every option |
| The output files | what each file and CSV column holds |
| The sea-level methods | VAF, G2020 and A2020 |
| Processing an ensemble | the batch driver |
| Developer guide | source install, tests, MATLAB parity, releases |
matlab/scalars.m computes the same scalars from the same inputs into the same layout, and is kept numerically identical to the Python implementation. It is run from a checkout rather than installed; see the MATLAB page.
Problems and questions go in the issue tracker. Pull requests are welcome; the developer guide covers the source install, the tests and the release process. If a change touches a computed number, change the MATLAB implementation with it and say so in the pull request.
Distributed under the MIT License; see LICENSE.