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

The definition of clm's 'sand' and 'clay' variables in wrf

youhq

youhuiqi
New Member
Dear all,
I try to add a new variable to the clm of wrf, called 'rock', which will work together with 'sand' and 'clay' in the parameterization.
In wrf, the module_sf_clm.F file contains all the modules of clm. I need to define 'rock' in it and refer to the existing 'sand' and 'clay'.
I found this code in the module clm_varcon:
##############################################
real(r8) :: sand(19) ! percent sand
real(r8) :: clay(19) ! percent clay
integer :: soic(19)

integer, allocatable :: plant(:,:)
real(r8),allocatable :: cover(:,:)

data(sand(i), i=1,19)/92.,80.,66.,20.,5.,43.,60.,&
10.,32.,51., 6.,22.,39.7,0.,100.,54.,17.,100.,92./
data(clay(i), i=1,19)/ 3., 5.,10.,15.,5.,18.,27.,&
33.,33.,41.,47.,58.,14.7,0., 0., 8.5,54., 0., 3./
data(soic(i), i=1,19)/1,2,2,3,3,4,5,5,6,7,7,8,8,0,&
1,1,4,7,1/

! soil type from MM5
! (1) sand
! (2) loamy-sand
! (3) sandy-loam
! (4) silt-loam
! (5) silt
! (6) loam
! (7) sandy-clay-loam
! (8) silty-clay-loam
.........
! (17) playa
! (18) lava
! (19) white-sand
#############################################
It should mean the percentage content of 'sand' and 'clay' in the 19 land types?
As far as I know, 'sand' and 'clay' should have 10 levels of content in clm, not the above form. So is clm in wrf simplified?
 

youhq

youhuiqi
New Member
Where did you obtain the wrf-clm version you are using? We don't support wrf-clm other than the wrf-ctsm coupling through lilac:

hi, I use the normal WRF-4.1.2 version, I just set sf_surface_physics = 5 to use clm as the land surface mode. Is there any help that can be given to me regarding this wrf version of clm?
I don’t know much about CTSM, would you suggest me to use it?
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
I believe WRF-4.1.2 has an older version of CLM (CLM4.0). We've discontinued support for CLM4 here anyway. You should direct your questions to WRF support.

The WRF-CTSM version I mentioned uses CLM5.0. CLM is essentially an instantiation of CTSM (Community Terrestrial Systems Model), which is the land surface model used in CESM (Community Earth System Model) (see GitHub - ESCOMP/CTSM: Community Terrestrial Systems Model (includes the Community Land Model of CESM)). The version of CLM5.0 in WRF is somewhat simplified for NWP applications.
 

youhq

youhuiqi
New Member
I believe WRF-4.1.2 has an older version of CLM (CLM4.0). We've discontinued support for CLM4 here anyway. You should direct your questions to WRF support.

The WRF-CTSM version I mentioned uses CLM5.0. CLM is essentially an instantiation of CTSM (Community Terrestrial Systems Model), which is the land surface model used in CESM (Community Earth System Model) (see GitHub - ESCOMP/CTSM: Community Terrestrial Systems Model (includes the Community Land Model of CESM)). The version of CLM5.0 in WRF is somewhat simplified for NWP applications.
Thank you for your suggestion.
 
Top