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

Issue with using "mksurfdata.pl" to generate the surface datasets of supported resolution

xgao304

Member
Dear Sir:

I am trying to create the surface dataset for the compset I2000Clm50BgcCropGs at hcru resolution using "mksurdata.pl". I am following
the instructions in the README file in mksurfdata_map directory. Since hcru is one of the supported model resolutions, the commands seem
relative simple as follows:

1. make the mksurfdata_map executable (successful)

2. 
The only modification I made is $CSMDATA directory name.

./mksurfdata.pl -res hcru_hcru -y 2000

I keep getting the message "invalid resolution" as follows:

[xgao@svante-login mksurfdata_map]$ ./mksurfdata.pl -res hcru_hcru -y 2000
** Invalid resolution: hcru_hcru
SYNOPSIS
For supported resolutions:
mksurfdata.pl -res <res> [OPTIONS]
-res [or -r] "resolution" is the supported resolution(s) to use for files (by default hcru_hcru ).

......
-----

I don't know python well, so it is difficult to diagnose the problems. Not sure if I made any silly mistake?

Thanks,

Xiang
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
I think that res was renamed at some point. Try:

./mksurfdata.pl -res 360x720cru -y 2000
 

xgao304

Member
Thanks. Now I have another issue. The command requires the following mapping file:

cesm/inputdata/lnd/clm2/mappingdata/maps/360x720/map_3x3min_MODIS-wCsp_to_360x720cru_nomask_aave_da_c160425.nc

I am trying to download it with either ftp or wget, but keep getting permission denied:

------
[xgao@svante-login 360x720]$ wget ftp://ftp.cgd.ucar.edu/cesm/inputdata/lnd/clm2/mappingdata/maps/360x720/map_3x3min_MODIS-wCsp_to_360x720cru_nomask_aave_da_c160425.nc
--2021-03-24 22:02:37-- ftp://ftp.cgd.ucar.edu/cesm/inputdata/lnd/clm2/mappingdata/maps/360x720/map_3x3min_MODIS-wCsp_to_360x720cru_nomask_aave_da_c160425.nc
=> ‘map_3x3min_MODIS-wCsp_to_360x720cru_nomask_aave_da_c160425.nc’
Resolving ftp.cgd.ucar.edu (ftp.cgd.ucar.edu)... 128.117.23.220
Connecting to ftp.cgd.ucar.edu (ftp.cgd.ucar.edu)|128.117.23.220|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /cesm/inputdata/lnd/clm2/mappingdata/maps/360x720 ... done.
==> SIZE map_3x3min_MODIS-wCsp_to_360x720cru_nomask_aave_da_c160425.nc ... 2794315204
==> PASV ... done. ==> RETR map_3x3min_MODIS-wCsp_to_360x720cru_nomask_aave_da_c160425.nc ... done.
map_3x3min_MODIS-wCsp_to_360x720cru_nomask_aave_da_c160425.nc: Permission denied
------

ftp:

ftp> get map_3x3min_MODIS-wCsp_to_360x720cru_nomask_aave_da_c160425.nc
local: map_3x3min_MODIS-wCsp_to_360x720cru_nomask_aave_da_c160425.nc remote: map_3x3min_MODIS-wCsp_to_360x720cru_nomask_aave_da_c160425.nc
local: map_3x3min_MODIS-wCsp_to_360x720cru_nomask_aave_da_c160425.nc: Permission denied
 

xgao304

Member
Additional issue with creating surface data on 0.5 degree:

It requires the file "map_5x5min_ORNL-Soil_to_360x720cru_nomask_aave_da_c170706.nc" as shown below:

[xgao@svante-login mksurfdata_map]$ ./mksurfdata.pl -res 360x720cru -y 2000
ERROR: mapping file for this resolution does NOT exist (/net/fs05/d1/xgao/cesm2.1.3/inputdata/lnd/clm2/mappingdata/maps/360x720/map_5x5min_ORNL-Soil_to_360x720cru_nomask_aave_da_c170706.nc).

However, when I try to download this file, there is no such file under the designated directory:

[xgao@svante-login 360x720]$ wget ftp://ftp.cgd.ucar.edu/cesm/inputdata/lnd/clm2/mappingdata/maps/360x720/map_5x5min_ORNL-Soil_to_360x720cru_nomask_aave_da_c170706.nc
--2021-03-26 13:09:26-- ftp://ftp.cgd.ucar.edu/cesm/inputdata/lnd/clm2/mappingdata/maps/360x720/map_5x5min_ORNL-Soil_to_360x720cru_nomask_aave_da_c170706.nc
=> ‘map_5x5min_ORNL-Soil_to_360x720cru_nomask_aave_da_c170706.nc’
Resolving ftp.cgd.ucar.edu (ftp.cgd.ucar.edu)... 128.117.23.220
Connecting to ftp.cgd.ucar.edu (ftp.cgd.ucar.edu)|128.117.23.220|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /cesm/inputdata/lnd/clm2/mappingdata/maps/360x720 ... done.
==> SIZE map_5x5min_ORNL-Soil_to_360x720cru_nomask_aave_da_c170706.nc ... done.

==> PASV ... done. ==> RETR map_5x5min_ORNL-Soil_to_360x720cru_nomask_aave_da_c170706.nc ...
No such file ‘map_5x5min_ORNL-Soil_to_360x720cru_nomask_aave_da_c170706.nc’.


I checked the directory, there are only three files at 5x5min:

map_5x5min_IGBP-GSDP_to_360x720_nomask_aave_da_c120830.nc
map_5x5min_ISRIC-WISE_to_360x720_nomask_aave_da_c120830.nc
map_5x5min_nomask_to_360x720_nomask_aave_da_c120830.nc

Any information is appreciated.

Xiang
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
I've put that file on our anonymous ftp site for now:
ftp ftp.cgd.ucar.edu
cd pub/oleson/mappingdata

@erik , can you add that file to the repository?
 
Top