mkmapdata.sh Error occurs when the input and output SCRIPgrid files have the same resolution

Status
Not open for further replies.

Xueli Huo

Member
Hi

I am making the mapping file for the rawdata /glade/p/cesm/cseg/inputdata/lnd/clm2/rawdata/pftcftdynharv.0.05x0.05.LUH2.histsimyr2005.c190116/mksrf_landuse_clm52deg005_histLUH2_2005.c190119.nc

The input grid is a global dataset
/glade/p/cesm/cseg/inputdata/lnd/clm2/mappingdata/grids/SCRIPgrid_3minx3min_MODIS-2005_c190502.nc
and the output grid is a SCRIPgrid file that has the same data as the input SCRIPgrid, but only contains the data in a region rather than globally.

Then I used the mkmapdata.sh to generate the mapping file.
It fails with the error
NetCDF Error: map_3x3min_MODIS-2005_to_0.05x0.05_Arctic_nomask_aave_da_c200915.nc : NetCDF: One or more variable sizes violate format constraints

I am wondering whether ESMF_RegridWeightGen which mkmapdata.sh uses is appropriate to regrid if the input SCRIPgrid file and SCRIPgrid file have the same resolution.

What could I do to generate the mapping file when mkmapdata.sh is not working for the two same resolution SCRIP files.

Sincerely,
 

Xueli Huo

Member
Resolved.

I add the
<scripgriddata_lrgfile_needed hgrid="3x3min" lmask="MODIS-2005">64bit_offset</scripgriddata_lrgfile_needed>
in $CTSM/bld/namelist_files/namelist_defaults_clm4_5_tools.xml
 
Status
Not open for further replies.
Back
Top