Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

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.
Top