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

Error in making Scrip grid files using mknoocnmap.pl

Hello,i am trying to generating surface dataset for a single point simulations using CLM4.5 but did not get success.i use the following command to generate SCRIP Files./mknoocnmap.pl -p 25.67,68.72 -n test_tndjm
and all detail about the running of this command is here.
Create SCRIP grid and mapping files for a single-pointCreate land SCRIP gridfileExecute: env S_LAT=25.62 W_LON=68.67 N_LAT=25.72 E_LON=68.77 NX=1 NY=1 PTNAME=test_tndjm   GRIDFILE=/public/xzhtest/tariq/cesm1_2_0/models/lnd/clm/tools/shared/mkmapgrids/SCRIPgrid_test_tndjm_nomask_c160906.nc ncl mkscripgrid.ncl Copyright (C) 1995-2015 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.3.0 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details.warning:stringtointeger: a bad value was passed; input strings must contain numeric digits, replacing with missing valuefatal:fspan: number of elements parameter is less-than-or-equal-to one, can't continue fatal:["Execute.c":8575]:Execute: Error occurred at or near line 99 in file mkscripgrid.ncl
Create ocean SCRIP gridfileExecute: env S_LAT=25.62 W_LON=68.67 N_LAT=25.72 E_LON=68.77 NX=1 NY=1 PTNAME=test_tndjm   GRIDFILE=/public/xzhtest/tariq/cesm1_2_0/models/lnd/clm/tools/shared/mkmapgrids/SCRIPgrid_test_tndjm_noocean_c160906.nc IMASK=0 ncl mkscripgrid.ncl Copyright (C) 1995-2015 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.3.0 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details.fatal:fspan: number of elements parameter is less-than-or-equal-to one, can't continue fatal:["Execute.c":8575]:Execute: Error occurred at or near line 99 in file mkscripgrid.ncl
Create unity mapping file between the two gridfileExecute: env GRIDFILE1=/public/xzhtest/tariq/cesm1_2_0/models/lnd/clm/tools/shared/mkmapgrids/SCRIPgrid_test_tndjm_noocean_c160906.nc GRIDFILE2=/public/xzhtest/tariq/cesm1_2_0/models/lnd/clm/tools/shared/mkmapgrids/SCRIPgrid_test_tndjm_nomask_c160906.nc MAPFILE=map_test_tndjm_noocean_to_test_tndjm_nomask_aave_da_160906.nc  ncl /public/xzhtest/tariq/cesm1_2_0/models/lnd/clm/tools/shared/mkmapdata/mkunitymap.ncl Copyright (C) 1995-2015 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.3.0 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details. fatal:["FileSupport.c":3731]:_NclFindFileExt: Requested file or does not exist
fatal:["FileSupport.c":4159]:(/public/xzhtest/tariq/cesm1_2_0/models/lnd/clm/tools/shared/mkmapgrids/SCRIPgrid_test_tndjm_noocean_c160906.nc) has no file extension, can't determine type of file to openfatal:["FileSupport.c":3731]:_NclFindFileExt: Requested file or does not exist fatal:["FileSupport.c":4159]:(/public/xzhtest/tariq/cesm1_2_0/models/lnd/clm/tools/shared/mkmapgrids/SCRIPgrid_test_tndjm_nomask_c160906.nc) has no file extension, can't determine type of file to openfatal:file (nca) isn't definedfatal:["Execute.c":8575]:Execute: Error occurred at or near line 64 in file /public/xzhtest/tariq/cesm1_2_0/models/lnd/clm/tools/shared/mkmapdata/mkunitymap.ncl   Successfully created grid/mapping files for single-point
but at the end there is no SCRIP GRIDFILES generated
your help will be highly appreciated
RegardsTariq
 
I found the solution. The new version of ncl may not support the original code.  I am using ncl/6.3.0 now, may be the same as you, but get failed. I change back to the older version  ncl/6.1.2. It works again. 
 
Top