See also CAM-FV Grid Overview and ATM Grid Resolution Summary
...
- TempestRemap: https://github.com/ClimateGlobalChange/tempestremap.
- Used to make Exodus files (GLL and physgrid) and to make SCRIP files (physgrid only).
- Used to make mapping files for GLL grids directly from the Exodus file.
- Obsolete: For quasi-uniform cubed-sphere grids, E3SM currently uses the "pentagons" option to construct the dual grid for making ESMF mapping files. To create these meta data grid files, we use a utility distributed with the E3SM code - see e3sm/components/homme/test/tool.
- Obsolete: For RRM grids, E3SM v1 used the "cheveron" option to construct the dual grid for making ESMF mapping files. To create these meta data grid files we use a Matlab program that performs a Newton interation. This matlab code is in the E3SM PreAndPostProcessingScripts repo under regridding/spectral_elements_grid_utilities/
Using TempestRemap to create Exodus and SCRIP files:
- To create the Exodus file. For cubed sphere grids with a resolution of "NE":
- GenerateCSMesh --alt --res $NE --file ne${NE}.g
- For RRM grids, the Exodus .g file is part of the model configuration and is stored along with the initial condition files in the E3SM input data server, inputdata/atm/cam/inic/homme
- To create a SCRIP file for PG2 grids from the Exodus file:
- GenerateVolumetricMesh --in ne${NE}.g --out ne${NE}pg2.g --np 2 --uniform 2
- ConvertExodusToSCRIP ConvertMeshToSCRIP --in ne${NE}pg2.g --out ne${NE}pg2.scrip.nc
- For E3SM V2, the physics is running on the "PG2" grid. This means most output, and all coupled model mapping files need to work with PG2 grids.
- Mapping files should be created using the SCRIP file
...