How to create regional surface dataset?

Status
Not open for further replies.

majun

Member
Dear professors,
Now I am preparing my regional surface datasets. I am ready to use ./mknoocnmap.pl to create scripgrid file ,then use mkmapdata.sh to create mapping file, then using gen_domain to create domain file, finally using mksurfdata.pl to create surface data.
(1) ./mknoocnmap.pl -p 114.1,30.4 -n testwuhan -nx 10 -ny 10 -dx 1 -dy 1
(2) ./mkmapdata.sh -f map_testwuhan_noocean_to_testwuhan_nomask_aave_da_200420.nc -r 10×10 -t regional
error occurs:
Using user specified scrip grid file: map_testwuhan_noocean_to_testwuhan_nomask_aave_da_200420.nc
Output grid resolution is 10×10
Hostname = centos6
Machine centos6 NOT recognized
Creating mapping file: map_0.5x0.5_AVHRR_to_10×10_nomask_aave_da_c200420.nc
From input grid: /home/shenhf/majun/inputdata/lnd/clm2/mappingdata/grids/SCRIPgrid_0.5x0.5_AVHRR_c110228.nc
For output grid: map_testwuhan_noocean_to_testwuhan_nomask_aave_da_200420.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

ERROR: Unable to detect the source grid file type.
Error status returned from mkmapdata script

I have ensured that SCRIPgrid_0.5x0.5_AVHRR_c110228.nc exist in the correct path. Do you know what's wrong? thank you very much
 

majun

Member
I have replaced step(2) with './mkmapdata.sh -f ../mkmapgrids/SCRIPgrid_testwuhan_nomask_c200421.nc -r 10×10 -t regional' , however still the same error. And I try to follow the steps of 'Example of creating single-point datasets'(1x1_boulderCO), when steps move to './mkmapdata.sh -r $GRIDNAME -f $GRIDFILE -t regional' , the same problem "ERROR: Unable to detect the source grid file type. " occurs, could anyone help me ? I'm so anxious
 

majun

Member
Dear professors,
Now I am preparing my regional surface datasets. I am ready to use ./mknoocnmap.pl to create scripgrid file ,then use mkmapdata.sh to create mapping file, then using gen_domain to create domain file, finally using mksurfdata.pl to create surface data.
(1) ./mknoocnmap.pl -p 114.1,30.4 -n testwuhan -nx 10 -ny 10 -dx 1 -dy 1
(2) ./mkmapdata.sh -f map_testwuhan_noocean_to_testwuhan_nomask_aave_da_200420.nc -r 10×10 -t regional
error occurs:
Using user specified scrip grid file: map_testwuhan_noocean_to_testwuhan_nomask_aave_da_200420.nc
Output grid resolution is 10×10
Hostname = centos6
Machine centos6 NOT recognized
Creating mapping file: map_0.5x0.5_AVHRR_to_10×10_nomask_aave_da_c200420.nc
From input grid: /home/shenhf/majun/inputdata/lnd/clm2/mappingdata/grids/SCRIPgrid_0.5x0.5_AVHRR_c110228.nc
For output grid: map_testwuhan_noocean_to_testwuhan_nomask_aave_da_200420.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

ERROR: Unable to detect the source grid file type.
Error status returned from mkmapdata script

I have ensured that SCRIPgrid_0.5x0.5_AVHRR_c110228.nc exist in the correct path. Do you know what's wrong? thank you very much
ncl verison is 6.3.0,esmf version is 8.0.0, netcdf-c is 4.6.2 netcdf-fortran is 4.5.2 ,related configurations are attached below:
 

Attachments

  • esmf.png
    esmf.png
    157.8 KB · Views: 20
  • netcdf-c.png
    netcdf-c.png
    80.4 KB · Views: 18
  • netcdf-fortran.png
    netcdf-fortran.png
    77.1 KB · Views: 17

majun

Member
It is the problem of esmf, maybe the version of esmf is incorrect, I have reinstalled esmf7_1_0 as an alternative of esmf8_0_0, it succeed.
 
Status
Not open for further replies.
Back
Top