Hi, I am trying to build some CESM 1.2.2.1 experiments with dramatically different continental configurations following the instructions available at PaleoResources for CESM1.2.
After producing my KMT file, I used the convertPOPT utility from /paleoToolkit/cesm1/cpl_mapping/scrip1.4/grids/convertPOPT.f to create a SCRIPgrid. I used ./gen_cesm_maps.sh to create mapping files, and used ./gen_domain.sh on my mapping file to produce land and ocean domains. The only place I deviate is I had to use convertPOPT (with hard coded file names) instead of myconvertPOPT, because myconvertPOPT was not giving valid output data (I am unsure if this could be a source of error, but the output from convertPOPT seemed reasonable). When I try to launch a simulation with the new domain and mapping files, I persistently get the error:
(seq_domain_check_grid) ERROR: incompatible domain grid coordinates
This is cryptic, so I added some print statements in seq_domain_mct.F90. It seems the error occurs during the ice/ocean grid consistency check, in particular during comparison of the latitude attribute. Furthermore, the data1 and data2 are not even close.
e.g,
10: MJFU n= 31 data1= -68.7069428207174 data2=
10: -85.0038255423153 diff= 16.2968827215979 eps=
10: 1.000000000000000E-002
10: MJFU ATTR IS lat
10: MJFU n= 32 data1= -68.7069428207174 data2=
10: -85.0038255423153 diff= 16.2968827215979 eps=
10: 1.000000000000000E-002
I have set the CICE and DOCN namelists such that they use the exact same domain file, so I am not sure how they can be inconsistent. user_nl_cice also points to the relevant grid and kmt files used to generate the domain file. I was wondering if you have any idea how to resolve this issue or where the problem may originate from. I am at wit’s end, so your help is extremely appreciated! Thank you for your time, it is very much appreciated!
kmt and domain files can be found at
/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/domain.lnd.48x96_gx3vSB.nc
/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/domain.ocn.gx3vSB.nc
/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/kmt.1.da
/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/grid.1.pop.da
My procedure for using paleotoolkit is documented here
/glade/u/home/mjfu/zwork/Snowball/generate_pop_ensemble.sh
/glade/u/home/mjfu/zwork/Snowball/generate_cpl_ensemble.sh
CESM Log file here:
/glade/scratch/mjfu/e.e12.E1850CN.T31_g37.1367_p-1.0_001_1000ppm_nooht_v9/run/cesm.log.211106-090511
Other namelist changes:
# KEEP CN MODEL OFF
./xmlchange -file env_build.xml -id CLM_CONFIG_OPTS -val "-phys clm4_0"
./xmlchange -file env_run.xml -id ATM_DOMAIN_FILE -val 'domain.lnd.48x96_gx3vSB.nc'
./xmlchange -file env_run.xml -id ATM_DOMAIN_PATH -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001'
./xmlchange -file env_run.xml -id LND_DOMAIN_FILE -val 'domain.lnd.48x96_gx3vSB.nc'
./xmlchange -file env_run.xml -id LND_DOMAIN_PATH -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001'
./xmlchange -file env_run.xml -id OCN_DOMAIN_FILE -val 'domain.ocn.gx3vSB.nc'
./xmlchange -file env_run.xml -id OCN_DOMAIN_PATH -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001'
./xmlchange -file env_run.xml -id ICE_DOMAIN_FILE -val 'domain.ocn.gx3vSB.nc'
./xmlchange -file env_run.xml -id ICE_DOMAIN_PATH -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001'
./xmlchange -file env_run.xml -id OCN2ATM_FMAPNAME -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/map_gx3vSB_TO_T31_aave.nc'
./xmlchange -file env_run.xml -id OCN2ATM_SMAPNAME -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/map_gx3vSB_TO_T31_aave.nc'
./xmlchange -file env_run.xml -id ATM2OCN_FMAPNAME -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/map_T31_TO_gx3vSB_aave.nc'
./xmlchange -file env_run.xml -id ATM2OCN_SMAPNAME -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/map_T31_TO_gx3vSB_patc.nc'
./xmlchange -file env_run.xml -id ATM2OCN_VMAPNAME -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/map_T31_TO_gx3vSB_patc.nc'
Best,
Minmin
After producing my KMT file, I used the convertPOPT utility from /paleoToolkit/cesm1/cpl_mapping/scrip1.4/grids/convertPOPT.f to create a SCRIPgrid. I used ./gen_cesm_maps.sh to create mapping files, and used ./gen_domain.sh on my mapping file to produce land and ocean domains. The only place I deviate is I had to use convertPOPT (with hard coded file names) instead of myconvertPOPT, because myconvertPOPT was not giving valid output data (I am unsure if this could be a source of error, but the output from convertPOPT seemed reasonable). When I try to launch a simulation with the new domain and mapping files, I persistently get the error:
(seq_domain_check_grid) ERROR: incompatible domain grid coordinates
This is cryptic, so I added some print statements in seq_domain_mct.F90. It seems the error occurs during the ice/ocean grid consistency check, in particular during comparison of the latitude attribute. Furthermore, the data1 and data2 are not even close.
e.g,
10: MJFU n= 31 data1= -68.7069428207174 data2=
10: -85.0038255423153 diff= 16.2968827215979 eps=
10: 1.000000000000000E-002
10: MJFU ATTR IS lat
10: MJFU n= 32 data1= -68.7069428207174 data2=
10: -85.0038255423153 diff= 16.2968827215979 eps=
10: 1.000000000000000E-002
I have set the CICE and DOCN namelists such that they use the exact same domain file, so I am not sure how they can be inconsistent. user_nl_cice also points to the relevant grid and kmt files used to generate the domain file. I was wondering if you have any idea how to resolve this issue or where the problem may originate from. I am at wit’s end, so your help is extremely appreciated! Thank you for your time, it is very much appreciated!
kmt and domain files can be found at
/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/domain.lnd.48x96_gx3vSB.nc
/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/domain.ocn.gx3vSB.nc
/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/kmt.1.da
/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/grid.1.pop.da
My procedure for using paleotoolkit is documented here
/glade/u/home/mjfu/zwork/Snowball/generate_pop_ensemble.sh
/glade/u/home/mjfu/zwork/Snowball/generate_cpl_ensemble.sh
CESM Log file here:
/glade/scratch/mjfu/e.e12.E1850CN.T31_g37.1367_p-1.0_001_1000ppm_nooht_v9/run/cesm.log.211106-090511
Other namelist changes:
# KEEP CN MODEL OFF
./xmlchange -file env_build.xml -id CLM_CONFIG_OPTS -val "-phys clm4_0"
./xmlchange -file env_run.xml -id ATM_DOMAIN_FILE -val 'domain.lnd.48x96_gx3vSB.nc'
./xmlchange -file env_run.xml -id ATM_DOMAIN_PATH -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001'
./xmlchange -file env_run.xml -id LND_DOMAIN_FILE -val 'domain.lnd.48x96_gx3vSB.nc'
./xmlchange -file env_run.xml -id LND_DOMAIN_PATH -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001'
./xmlchange -file env_run.xml -id OCN_DOMAIN_FILE -val 'domain.ocn.gx3vSB.nc'
./xmlchange -file env_run.xml -id OCN_DOMAIN_PATH -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001'
./xmlchange -file env_run.xml -id ICE_DOMAIN_FILE -val 'domain.ocn.gx3vSB.nc'
./xmlchange -file env_run.xml -id ICE_DOMAIN_PATH -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001'
./xmlchange -file env_run.xml -id OCN2ATM_FMAPNAME -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/map_gx3vSB_TO_T31_aave.nc'
./xmlchange -file env_run.xml -id OCN2ATM_SMAPNAME -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/map_gx3vSB_TO_T31_aave.nc'
./xmlchange -file env_run.xml -id ATM2OCN_FMAPNAME -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/map_T31_TO_gx3vSB_aave.nc'
./xmlchange -file env_run.xml -id ATM2OCN_SMAPNAME -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/map_T31_TO_gx3vSB_patc.nc'
./xmlchange -file env_run.xml -id ATM2OCN_VMAPNAME -val '/glade/u/home/mjfu/zwork/Snowball/FINAL_OUTPUT/topo_ens_n12_p-1.0_001/map_T31_TO_gx3vSB_patc.nc'
Best,
Minmin