Hello!
I am working on adding sectoral water usage in CTSM.
There is some input data required for the development, so I followed all the instructions from tools/mksurfdata_map/README.developers.
But instead of putting the rawdata on /glade/p/cesm/cseg/inputdata/lnd/clm2/rawdata (I don't have the rights), I placed it in my own storage: /glade/u/home/staranu/input_data/rawdata/mksrf_sectorWater_0.5x0.5_simyr2000.nc
As a result, when I try the command: ./mksurfdata.pl -r 0.9x1.25 -y 2000
I get the error:
ERROR: could NOT find a mksrf_fsectorWater data file for this resolution: 0.5x0.5 and type: sectorWater and nomask.
./../../bld/queryDefaultNamelist.pl -csmdata /glade/p/cesm/cseg/inputdata -silent -justvalue -namelist clmexp -options hgrid=0.5x0.5,lmask=nomask,mergeGIS=off,crop='on',sim_year=2000 -var mksrf_fsectorWater
I am sure that I indicated the right location in the bld/namelist_files/namelist_defaults_ctsm_tools.xml.
This can be checked following the command:
ncview /glade/p/cesm/cseg/inputdata/../../../../u/home/staranu/input_data/rawdata/mksrf_sectorWater_0.5x0.5_simyr2000.nc
where the "/glade/p/cesm/cseg/inputdata" correspond to the CSMDATA env variable and "../../../../u/home/staranu/input_data/rawdata/mksrf_sectorWater_0.5x0.5_simyr2000.nc" to the location I added in the namelist.
In order to reproduce the error, one can use:
git clone GitHub - TaranuDev/CTSM: Community Terrestrial Systems Model (includes the Community Land Model of CESM) CTSM_test_ST
cd CTSM_test_ST
git checkout read_input data
./manage_externals/checkout_externals
cd tools/mksurfdata_map/src
gmake
cd ..
./mksurfdata.pl -r 0.9x1.25 -y 2000
In addition to see all files I modified (assuming you are in CTSM_test_ST/):
grep -crl "sectorWater"
I hope I can get some suggestions on how to solve the issue.
Best regards,
Sabin
I am working on adding sectoral water usage in CTSM.
There is some input data required for the development, so I followed all the instructions from tools/mksurfdata_map/README.developers.
But instead of putting the rawdata on /glade/p/cesm/cseg/inputdata/lnd/clm2/rawdata (I don't have the rights), I placed it in my own storage: /glade/u/home/staranu/input_data/rawdata/mksrf_sectorWater_0.5x0.5_simyr2000.nc
As a result, when I try the command: ./mksurfdata.pl -r 0.9x1.25 -y 2000
I get the error:
ERROR: could NOT find a mksrf_fsectorWater data file for this resolution: 0.5x0.5 and type: sectorWater and nomask.
./../../bld/queryDefaultNamelist.pl -csmdata /glade/p/cesm/cseg/inputdata -silent -justvalue -namelist clmexp -options hgrid=0.5x0.5,lmask=nomask,mergeGIS=off,crop='on',sim_year=2000 -var mksrf_fsectorWater
I am sure that I indicated the right location in the bld/namelist_files/namelist_defaults_ctsm_tools.xml.
This can be checked following the command:
ncview /glade/p/cesm/cseg/inputdata/../../../../u/home/staranu/input_data/rawdata/mksrf_sectorWater_0.5x0.5_simyr2000.nc
where the "/glade/p/cesm/cseg/inputdata" correspond to the CSMDATA env variable and "../../../../u/home/staranu/input_data/rawdata/mksrf_sectorWater_0.5x0.5_simyr2000.nc" to the location I added in the namelist.
In order to reproduce the error, one can use:
git clone GitHub - TaranuDev/CTSM: Community Terrestrial Systems Model (includes the Community Land Model of CESM) CTSM_test_ST
cd CTSM_test_ST
git checkout read_input data
./manage_externals/checkout_externals
cd tools/mksurfdata_map/src
gmake
cd ..
./mksurfdata.pl -r 0.9x1.25 -y 2000
In addition to see all files I modified (assuming you are in CTSM_test_ST/):
grep -crl "sectorWater"
I hope I can get some suggestions on how to solve the issue.
Best regards,
Sabin