Welcome to the new DiscussCESM forum!
We are still working on the website migration, so you may experience downtime during this process.

Existing users, please reset your password before logging in here: https://xenforo.cgd.ucar.edu/cesm/index.php?lost-password/

depths of levsoi (as opposed to levgrnd)


New Member
I'm using an out-of-the-box configuration of CLM (clm5.0.34) and have trolled through the documentation and restart and history files and cannot determine the depths of the variables declared to use 'levsoi' as their vertical coordinate. 'levgrnd' has 25 layers, and there is a coordinate variable that defines them. The 'levsoi' dimension is 20, and if I read between the lines section of the CLM5 Technical Note: Soil Layers​

The soil column can be discretized into an arbitrary number of layers. The default vertical discretization (Table 2.2.3) uses
N_{levgrnd} = 25
layers, of which
N_{levsoi} = 20
are hydrologically and biogeochemically active. The deepest 5 layers are only included in the thermodynamical calculations (Lawrence et al. 2008) described in Chapter 2.6.

the 'shallowest' 20 layers of the levgrnd coordinate variable are probably the correct depths to use when trying to interpret variables dimensioned with 'levsoi' ... is this correct?

Thanks -- Tim


Keith Oleson
CSEG and Liaisons
Staff member
Yes to both of those questions.
A single exception is that levdcmp could be 1 (single level) if use_vertsoilc = .false. There might be some older model configurations which use that.