Yes, I read that documentations(
search for resolution and
CESM-Tutorial resources )but I could not completely learn how can I first change the resolution from 0.5x0.5 degree to 50x50 km(I know they are very close to each other but I want to use the 50x50 km).
I used to the below scripts for running the default :
cd /glade/work/jteymoori
mkdir march13
git clone
GitHub - ESCOMP/CTSM: Community Terrestrial Systems Model (includes the Community Land Model of CESM)
cd CTSM
./manage_externals/checkout_externals
cd /CTSM/cime/scripts
module load python
./create_newcase --case ~/March13 --mach cheyenne --res CLM_USRDAT --compset COMPSET=2000_DATM%GSWP3v1_CLM50%FATES_SICE_SOCN_RTM_SGLC_SWAV --run-unsupported --project UCNN0040
Cd CTSM/tools/site_and_regional
pip install numpy
pip install xarray
./subset_data region --lat1 24.5 --lat2 49.4 --lon1 235 --lon2 294 --reg united_states --create-surface
ctsm/tools/site_and_regional/subset_data_regional:
module load nco
cp /glade/work/jteymoori/CTSM/tools/site_and_regional/subset_data_regional/surfdata_united_states_hist_16pfts_Irrig_CMIP6_simyr2000_c231214.nc landmask.nc
ncrename -v PFTDATA_MASK,landmask landmask.nc
ncks -A -v PFTDATA_MASK /glade/work/jteymoori/CTSM/tools/site_and_regional/subset_data_regional/surfdata_united_states_hist_16pfts_Irrig_CMIP6_simyr2000_c231214.nc landmask.nc
ncrename -v PFTDATA_MASK,mod_lnd_props landmask.nc
ncks --rgr infer --rgr scrip=scrip.nc landmask.nc foo.nc
/glade/u/apps/ch/opt/esmf-netcdf/8.0.0/intel/19.0.5/bin/bing/Linux.intel.64.mpiuni.default/ESMF_Scrip2Unstruct scrip.nc lnd_mesh.nc 0
cd March13
module load python
./xmlchange NTASKS=-4
./xmlchange NTASKS_PER_INST=144
./xmlchange JOB_WALLCLOCK_TIME=12:00:00
./xmlchange JOB_QUEUE=regular
./xmlchange PIO_TYPENAME=pnetcdf
./xmlchange STOP_OPTION=nyears
./xmlchange STOP_N=1
./xmlchange LND_NX=47
./xmlchange LND_NY=26
./xmlchange ATM_NX=47
./xmlchange ATM_NY=26
./case.setup
vi user_nl_clm
fsurdat = '/glade/work/jteymoori/CTSM/tools/site_and_regional/subset_data_regional/surfdata_united_states_hist_16pfts_Irrig_CMIP6_simyr2000_c231214.nc'
hist_mfilt=12
hist_nhtfrq=0
Esc
:wq
Update lines in env_run.xml:
./xmlchange LND_DOMAIN_MESH='/glade/work/jteymoori/CTSM/tools/site_and_regional/subset_data_regional/lnd_mesh.nc'
./xmlchange ATM_DOMAIN_MESH='/glade/work/jteymoori/CTSM/tools/site_and_regional/subset_data_regional/lnd_mesh.nc'
./xmlchange MASK_MESH='/glade/work/jteymoori/CTSM/tools/site_and_regional/subset_data_regional/lnd_mesh.nc'
./case.build
./case.submit
Now based on the mentioned documentation firstly for changing the resolution I should use the:
./create_newcase --case ~/March13 --mach cheyenne --res CLM_USRDAT --compset COMPSET=2000-08_DATM%GSWP3v1_CLM50%FATES_SICE_SOCN_RTM_SGLC_SWAV --run-unsupported --project UCNN0040
in the $CTSMROOT/bld/namelist_files/namelist_definition_ctsm.xml: ./xmlchange res=50x50 km
and secondly for run just for one month (for example 2012-08) use the:
/xmlchange STOP_OPTION=nmonths
is true?