CMIP6 Grid-files and Map-files

This page describes the workflow used to comply with CMIP6 Output Grid Guidelines from the CMIP Panel and WGCM Infrastructure Panel (https://goo.gl/1oA7bO).  The generation, testing, and storage location of the relevant grid-files and map-files will be adjusted until we think the results are good enough to submit to CMIP6.

Grid-Files

Create grid-files required in Section 5 of the WIP Guidelines:

# Meets CMIP6 Output Grid Guidelines from CMIP Panel and WGCM Infrastructure Panel (https://goo.gl/1oA7bO)
ncremap -G ttl='Equi-Angular grid 1x1 degree, dimensions 180x360, cell edges on Poles/Equator and Prime Meridian/Date Line'#latlon=180,360#lat_typ=uni#lon_typ=grn_wst -g ${DATA}/grids/cmip6_180x360_scrip.20181001.nc # Used by WOCE
ncremap -G ttl='Equi-Angular grid 2.5x2.5 degree, dimensions 72x144, cell edges on Poles/Equator and Prime Meridian/Date Line'#latlon=72,144#lat_typ=uni#lon_typ=grn_wst -g ${DATA}/grids/cmip6_72x144_scrip.20181001.nc
ncremap -7 --dfl_lvl=1 -G ttl='Equi-Angular grid 0.25x0.25 degree, dimensions 720x1440, cell edges on Poles/Equator and Prime Meridian/Date Line'#latlon=720,1440#lat_typ=uni#lon_typ=grn_wst -g ${DATA}/grids/cmip6_720x1440_scrip.20181001.nc
ncremap -G ttl='Cap/FV grid 0.5x0.625 degree, dimensions 361x576, cell centers on Poles/Equator and Date Line/Prime Meridian'#latlon=361,576#lat_typ=cap#lon_typ=180_ctr -g ${DATA}/grids/cmip6_361x576_scrip.20181001.nc # Used by NASA MERRA2
ncremap -G ttl='Cap/FV grid 0.75x0.75 degree, dimensions 241x480, cell centers on Poles/Equator and Prime Meridian/Date_Line'#latlon=241,480#lat_typ=cap#lon_typ=grn_ctr -g ${DATA}/grids/cmip6_241x480_scrip.20181001.nc # Similar to ECMWF ERA Interim resolution.
ncremap -G ttl='Cap/FV grid 1.25x1.25 degree, dimensions 145x288, cell centers on Poles/Equator and Prime Meridian/Date_Line'#latlon=145,288#lat_typ=cap#lon_typ=grn_ctr -g ${DATA}/grids/cmip6_145x288_scrip.20181001.nc # Similar to ECMWF ERA40 resolution

Map-Files

Use E3SM native grids as source grids and the above CMIP6 archival grids as destination grids to produce the necessary map-files:

# Lo-Res
for rsn in 72x144 180x360; do # Uni grids
ncremap -a aave -s ${DATA}/grids/ne30np4_pentagons.091226.nc -g ${DATA}/grids/cmip6_${rsn}_scrip.20181001.nc -m ${DATA}/maps/map_ne30np4_to_cmip6_${rsn}_aave.20181001.nc
ncremap -a aave -s ${DATA}/grids/ocean.oEC60to30v3.scrip.161222.nc -g ${DATA}/grids/cmip6_${rsn}_scrip.20181001.nc -m ${DATA}/maps/map_oEC60to30v3_to_cmip6_${rsn}_aave.20181001.nc
done # !lores
for rsn in 145x288 241x480 361x576; do # Cap grids
ncremap -a aave -s ${DATA}/grids/ne30np4_pentagons.091226.nc -g ${DATA}/grids/cmip6_${rsn}_scrip.20181001.nc -m ${DATA}/maps/map_ne30np4_to_cmip6_${rsn}_aave.20181001.nc
done # !lores
# Hi-Res
for rsn in 72x144 180x360 720x1440; do # Uni grids
ncremap -a aave -s ${DATA}/grids/ne120np4_pentagons.100310.nc -g ${DATA}/grids/cmip6_${rsn}_scrip.20181001.nc -m ${DATA}/maps/map_ne120np4_to_cmip6_${rsn}_aave.20181001.nc
ncremap -a aave -s ${DATA}/grids/ocean.oRRS18to6v3.scrip.170111.nc -g ${DATA}/grids/cmip6_${rsn}_scrip.20181001.nc -m ${DATA}/maps/map_oRRS18to6v3_to_cmip6_${rsn}_aave.20181001.nc
done # !hires
for rsn in 145x288 241x480 361x576; do # Cap grids
ncremap -a aave -s ${DATA}/grids/ne120np4_pentagons.100310.nc -g ${DATA}/grids/cmip6_${rsn}_scrip.20181001.nc -m ${DATA}/maps/map_ne120np4_to_cmip6_${rsn}_aave.20181001.nc
done # !hires

Tests

Check each map for energy/mass conservation on at least one field

ncremap -v FSNT,AODVIS -m ${DATA}/maps/map_ne30np4_to_cmip6_241x480_aave.20181001.nc ${DATA}/ne30/raw/famipc5_ne30_v0.3_00003.cam.h0.1979-01.nc ~/foo_atm_lrz.nc
ncremap -v FSNT,AODVIS -m ${DATA}/maps/map_ne120np4_to_cmip6_720x1440_aave.20181001.nc ${DATA}/ne120/raw/famipc5_ne120_v0.3_00003.cam.h0.1979-01.nc ~/foo_atm_hrz.nc
ncremap -v timeMonthly_avg_boundaryLayerDepth -m ${DATA}/maps/map_oEC60to30v3_to_cmip6_180x360_aave.20181001.nc ${DATA}/hdf/mpaso.hist.am.timeSeriesStatsMonthly.0001-01-01.nc ~/foo_ocn_lrz.nc
ncremap -v temperatureAtSurface -m ${DATA}/maps/map_oRRS18to6v3_to_cmip6_720x1440_aave.20181001.nc ${DATA}/hdf/mpaso.hist.am.highFrequencyOutput.0001-01-01_00.00.00.nc ~/foo_ocn_hrz.nc

Feedback Welcome!

Storage Location

Interested users can find and try these grids/maps at...(update with locations on Edison/Rhea?)