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

Soil Moisture Estimation using CLM5.0

Immi

Imiraan
New Member
Hello Everyone!

I am a student and recently started studying the Community Land Model (CLM). I want to estimate soil moisture using CLM. I tried to look for tutorials about soil moisture estimations on YouTube and other platforms. However, I am unable to find any particular tutorials or materials. I have followed the user guide book and installed the necessary prerequisites and then cloned the CLM5.
following the below step.
git clone -b release-clm5.0 GitHub - ESCOMP/CTSM: Community Terrestrial Systems Model (includes the Community Land Model of CESM) clm5.0
cd clm5.0
./manage_externals/checkout_externals
cd cime
cd scripts
export CIME_MODEL="cesm"
export CTSMROOT="$home/swelab/clm5.0"

# vi /home/swelab/clm5.0/cime/config/cesm/machines/config_compilers.xml
<compiler MACH="Ubuntu" COMPILER="gnu">
<CPPDEFS>
<append>-DFORTRANUNDERSCORE -DNO_R16</append>
</CPPDEFS>
<LDFLAGS>
<append compile_threaded="true"> -fopenmp -fallow-argument-mismatch -fallow-invalid-boz</append>
</LDFLAGS>
<SFC>gfortran</SFC>
<SCC>gcc</SCC>
<SCXX>c++</SCXX>
<MPIFC>mpif90</MPIFC>
<MPICC>mpicc</MPICC>
<MPICXX>mpicxx</MPICXX>
<CXX_LINKER>FORTRAN</CXX_LINKER>
<SUPPORTS_CXX>TRUE</SUPPORTS_CXX>
<NETCDF_PATH>/home/swelab/CESM/Libs/netcdf-c-4.9.0</NETCDF_PATH>
<NETCDF_C_PATH>/home/swelab/CESM/Libs/netcdf-c-4.9.0</NETCDF_C_PATH>
<NETCDF_FORTRAN_PATH>/home/swelab/CESM/Libs/netcdf-fortran-4.6.0</NETCDF_FORTRAN_PATH>
<PNETCDF_PATH>/home/swelab/CESM/Libs/pnetcdf-1.12.3</PNETCDF_PATH>
<SLIBS>
<append>-L/home/swelab/CESM/Libs/netcdf-c-4.9.0/lib -lnetcdff -L/home/swelab/CESM/Libs/netcdf-c-4.9.0/lib -lnetcdf -lnetcdf -lm </append>
<append>-L/usr/lib/x86_64-linux-gnu -llapack -L/usr/lib/x86_64-linux-gnu -lblas</append>
</SLIBS>
</compiler>
# vi /home/swelab/clm5.0/cime/config/cesm/machines/config_compilers.xml

cd ~/clm5.0/cime/scripts

AND then, I created a case in the scripts.
./create_newcase --case test0 --mach Linux --res f09_g17 --compset I1850Clm50Sp

Now, after this, I cannot find any guidance about soil moisture estimation, particularly using CLM5.0. I would appreciate it if someone could guide me further about the steps involved in this process or suggest any online material from which I can proceed with the necessary steps in soil moisture estimation of a basin.

Thank you.
 

slevis

Moderator
Staff member
You probably read in the documentation that you studied, that after creating the case, one executes the following commands in the case directory (e.g. for you /test0):
- ./case_setup
- ./case_build
- ./case_submit

After you run long enough to have model output, then you can start studying the simulated soil moisture.
 

Immi

Imiraan
New Member
Thank you for your response, Slevis.

Yes, I have reviewed the steps you mentioned. However, I would like to learn more about the steps involved in simulating soil moisture, particularly the modifications required to simulate soil moisture for a small basin, potentially integrating downscaling concepts in CLM using finer resolutions. I would greatly appreciate it if you could point me to some online resources to help me become familiar with simulations at resolutions finer than 1 km for a regional basin. I hope my question isn’t troublesome; if so, please consider it a beginner’s inquiry.

Thank you
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
The quality/usefulness of soil moisture modeling using CLM at resolutions finer than 1km is going to be heavily dependent on the quality/resolution of the atmospheric forcing data (e.g, precipitation, radiation, etc.) and surface data (e.g., vegetation distribution, soil properties) that are provided to the model. We don't provide data at that fine of a resolution, so you would have to provide that yourself. We also don't really have any online resources specific to soil moisture estimation other than the CLM technical note that describes the equation solutions:


I would recommend doing a literature search. There may be hydrological models that are more appropriate for your research topic at that spatial resolution.
 
Top