Thanks for your advice,I will try again.
Dear Keith,I have tried many times,but also have the same problem.I've listed all the outputs here.Can you tell me how to solve this problem?
export NCARG_ROOT=/home/fangling/app
export PATH=$NCARG_ROOT/bin/:$PATH
export ESMFBIN_PATH=/home/fangling/app/bin
export CDATE=230308
export CSMDATA=/home/fangling/cesm/inputdata
cd ~/clm5.0/tools/mkmapdata
./mknoocnmap.pl -p 24.80,113.58 -n $GRIDNAME
Create SCRIP grid and mapping files for a single-point
Create land SCRIP gridfile
Execute: env S_LAT=24.75 W_LON=113.53 N_LAT=24.85 E_LON=113.63 NX=1 NY=1 PTNAME=0.25x0.25_shaoguan GRIDFILE=/home/fangling/clm5.0/tools/mkmapgrids/SCRIPgrid_0.25x0.25_shaoguan_nomask_c230308.nc ncl mkscripgrid.ncl
Copyright (C) 1995-2019 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.6.2
The use of this software is governed by a License Agreement.
See
http://www.ncl.ucar.edu/ for more details.
Create ocean SCRIP gridfile
Execute: env S_LAT=24.75 W_LON=113.53 N_LAT=24.85 E_LON=113.63 NX=1 NY=1 PTNAME=0.25x0.25_shaoguan GRIDFILE=/home/fangling/clm5.0/tools/mkmapgrids/SCRIPgrid_0.25x0.25_shaoguan_noocean_c230308.nc IMASK=0 ncl mkscripgrid.ncl
Copyright (C) 1995-2019 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.6.2
The use of this software is governed by a License Agreement.
See
http://www.ncl.ucar.edu/ for more details.
Create unity mapping file between the two gridfile
Execute: env GRIDFILE1=/home/fangling/clm5.0/tools/mkmapgrids/SCRIPgrid_0.25x0.25_shaoguan_noocean_c230308.nc GRIDFILE2=/home/fangling/clm5.0/tools/mkmapgrids/SCRIPgrid_0.25x0.25_shaoguan_nomask_c230308.nc MAPFILE=map_0.25x0.25_shaoguan_noocean_to_0.25x0.25_shaoguan_nomask_aave_da_230308.nc ncl /home/fangling/clm5.0/tools/mkmapdata/mkunitymap.ncl
Copyright (C) 1995-2019 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.6.2
The use of this software is governed by a License Agreement.
See
http://www.ncl.ucar.edu/ for more details.
Successfully created grid/mapping files for single-point
export GRIDFILE=../mkmapgrids/SCRIPgrid_${GRIDNAME}_nomask_${CDATE}.nc
./mkmapdata.sh -r $GRIDNAME -f $GRIDFILE -t regional
./mkmapdata.sh
Script to create mapping files required by mksurfdata_map
query command is ./../../bld/queryDefaultNamelist.pl -silent -namelist clmexp -justvalue -options sim_year=2000 -csmdata /home/fangling/cesm/inputdata
Using user specified scrip grid file: ../mkmapgrids/SCRIPgrid_0.25x0.25_shaoguan_nomask_c230308.nc
Output grid resolution is 0.25x0.25_shaoguan
Hostname = ubuntu
Machine ubuntu NOT recognized
Creating mapping file: map_0.5x0.5_AVHRR_to_0.25x0.25_shaoguan_nomask_aave_da_c230308.nc
From input grid: /home/fangling/cesm/inputdata/lnd/clm2/mappingdata/grids/SCRIPgrid_0.5x0.5_AVHRR_c110228.nc
For output grid: ../mkmapgrids/SCRIPgrid_0.25x0.25_shaoguan_nomask_c230308.nc
WARNING: deprecated switch -src_type will be ignored. The file type will be detected automatically
WARNING: deprecated switch -dst_type will be ignored. The file type will be detected automatically
Starting weight generation with these inputs:
Source File: /home/fangling/cesm/inputdata/lnd/clm2/mappingdata/grids/SCRIPgrid_0.5x0.5_AVHRR_c110228.nc
Destination File: ../mkmapgrids/SCRIPgrid_0.25x0.25_shaoguan_nomask_c230308.nc
Weight File: map_0.5x0.5_AVHRR_to_0.25x0.25_shaoguan_nomask_aave_da_c230308.nc
Source File is in SCRIP format
Source Grid is a global grid
Source Grid is a logically rectangular grid
Use the center coordinates of the source grid to do the regrid
Destination File is in SCRIP format
Destination Grid is a regional grid
Destination Grid is a logically rectangular grid
Use the center coordinates of the destination grid to do the regrid
Regrid Method: conserve
Pole option: NONE
Ignore unmapped destination points
Line Type: greatcircle
Norm Type: dstarea
Extrap. Method: none
Completed weight generation successfully.
Copyright (C) 1995-2019 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.6.2
The use of this software is governed by a License Agreement.
See
http://www.ncl.ucar.edu/ for more details.
(0) map file: map_0.5x0.5_AVHRR_to_0.25x0.25_shaoguan_nomask_aave_da_c230308.nc
(0) n_s = 1 max(row)=1 max(col)=165468
(0) checking for dups, sorting...
(0) zeroing out any dups...
(0) No duplicate weights to remove from mapping file
Creating mapping file: map_0.25x0.25_MODIS_to_0.25x0.25_shaoguan_nomask_aave_da_c230308.nc
From input grid: /home/fangling/cesm/inputdata/lnd/clm2/mappingdata/grids/SCRIPgrid_0.25x0.25_MODIS_c170321.nc
For output grid: ../mkmapgrids/SCRIPgrid_0.25x0.25_shaoguan_nomask_c230308.nc
WARNING: deprecated switch -src_type will be ignored. The file type will be detected automatically
WARNING: deprecated switch -dst_type will be ignored. The file type will be detected automatically
Starting weight generation with these inputs:
Source File: /home/fangling/cesm/inputdata/lnd/clm2/mappingdata/grids/SCRIPgrid_0.25x0.25_MODIS_c170321.nc
Destination File: ../mkmapgrids/SCRIPgrid_0.25x0.25_shaoguan_nomask_c230308.nc
Weight File: map_0.25x0.25_MODIS_to_0.25x0.25_shaoguan_nomask_aave_da_c230308.nc
Source File is in SCRIP format
Source Grid is a global grid
Source Grid is a logically rectangular grid
Use the center coordinates of the source grid to do the regrid
Destination File is in SCRIP format
Destination Grid is a regional grid
Destination Grid is a logically rectangular grid
Use the center coordinates of the destination grid to do the regrid
Regrid Method: conserve
Pole option: NONE
Ignore unmapped destination points
Line Type: greatcircle
Norm Type: dstarea
Extrap. Method: none
Completed weight generation successfully.
Copyright (C) 1995-2019 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.6.2
The use of this software is governed by a License Agreement.
See
http://www.ncl.ucar.edu/ for more details.
(0) map file: map_0.25x0.25_MODIS_to_0.25x0.25_shaoguan_nomask_aave_da_c230308.nc
(0) n_s = 2 max(row)=1 max(col)=662135
(0) checking for dups, sorting...
(0) zeroing out any dups...
(0) No duplicate weights to remove from mapping file
Creating mapping file: map_0.5x0.5_MODIS_to_0.25x0.25_shaoguan_nomask_aave_da_c230308.nc
From input grid: /home/fangling/cesm/inputdata/lnd/clm2/mappingdata/grids/SCRIPgrid_0.5x0.5_MODIS_c110228.nc
For output grid: ../mkmapgrids/SCRIPgrid_0.25x0.25_shaoguan_nomask_c230308.nc
WARNING: deprecated switch -src_type will be ignored. The file type will be detected automatically
WARNING: deprecated switch -dst_type will be ignored. The file type will be detected automatically
Starting weight generation with these inputs:
Source File: /home/fangling/cesm/inputdata/lnd/clm2/mappingdata/grids/SCRIPgrid_0.5x0.5_MODIS_c110228.nc
Destination File: ../mkmapgrids/SCRIPgrid_0.25x0.25_shaoguan_nomask_c230308.nc
Weight File: map_0.5x0.5_MODIS_to_0.25x0.25_shaoguan_nomask_aave_da_c230308.nc
Source File is in SCRIP format
Source Grid is a global grid
Source Grid is a logically rectangular grid
Use the center coordinates of the source grid to do the regrid
Destination File is in SCRIP format
Destination Grid is a regional grid
Destination Grid is a logically rectangular grid
Use the center coordinates of the destination grid to do the regrid
Regrid Method: conserve
Pole option: NONE
Ignore unmapped destination points
Line Type: greatcircle
Norm Type: dstarea
Extrap. Method: none
./mkmapdata.sh: line 101: 3495 Killed ${cmd}
Error status returned from mkmapdata script