Skip to content

Python scripts to generate ISMIP7 grid description files used for CDO regridding.

License

Notifications You must be signed in to change notification settings

ismip/generate-ismip7-grid-files-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bc0b64c · Nov 27, 2024

History

15 Commits
May 24, 2024
Nov 26, 2024
May 24, 2024
Nov 26, 2024
Nov 21, 2024
May 24, 2024
May 24, 2024
Nov 27, 2024
May 24, 2024
Nov 27, 2024

Repository files navigation

generate-ismip7-grid-files-py

Python scripts to generate ISMIP7 grid description files used for CDO regridding.
(The grids did not change since ISMIP6)
See also matlab version of scripts

Setup

Needs a python3 environment with
numpy, netCDF4

Usage

The scripts can generate 3 different types of files for Greenland and Antarctica

grid description files (needed for CDO regridding)

grid_ISMIP7_g?_IS_res.nc

xy coordinates

xy_ISMIP7_g?_IS_res.nc

area factors

af2_ISMIP7_g?_IS_res.nc

All files are produced for the diagnostic grid g1 (ice thickness, SMB, ..)
The scripts can also generate files for a staggered grid g0, where e.g. CISM defines horizontal velocities.

ISMIP7_AIS_multigrid_generator_nc.py
ISMIP7_GrIS_multigrid_generator_nc.py

using

polar_stereo.py
wnc.py

About

Python scripts to generate ISMIP7 grid description files used for CDO regridding.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published