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

Set surface data file to Ag only

Status
Not open for further replies.

Chr

Christian Dold
New Member
I am working on SOMC simulation in Ag soils with CLM5. The simulated values will be compared to field observations, and one observation matches one grid point. I wonder, if I should simplify CLM5 to Ag-only (that is, set PCT_CROP to 100%, and the other LU components to 0%), so that the other LU components do not influence the simualtion outcome. For example, SOMC is in g/m2, and I suspect that, e.g. PCT_NAT_VEG will impact overall grid cell SOMC.

Is this a reasonable approach?
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
That sounds reasonable. The soil organic matter (or any other field) for a grid cell will be an area-weighted average of SOMC of all the surface types that are in that gridcell.
You could also leave the surface dataset as is and generate subgrid history data. Then pick out the SOMC data from the crop columns you are interested in.
 

Chr

Christian Dold
New Member
Thanks for your response. A follow-up quesiton: How can I generate subgrid history fields? Do I have to go into the f90 code for that? Or do I change it in the user_nl_clm file? Where can I find detailed information on it?
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
No, you don't have to go into the code for that. You can request subgrid history files by adding them to the user_nl_clm file.
Two of the key namelist variables are hist_dov2xy and hist_type1d_pertape. You can find information on these (and other hist_* variables) here:


As an example, if you want monthly-average column-level TOTSOMC on an auxiliary history file and also maintain your monthly average history file, you would add something like this:

hist_nhtfrq = 0,0
hist_mfilt = 1,1
hist_dov2xy = .true.,.false.
hist_type1d_pertape = ' ','COLS'
hist_fincl2 = 'TOTSOMC'

A setting of hist_dov2xy to false will produce subgrid output for that history stream. Here, the TOTSOMC information will be on a "h1" history file and will include a column dimension.
There is additional information on the h1 file to help you identify which column belongs to which grid cell and what type of column it is, e.g.,

double cols1d_lon(column) ;
cols1d_lon:long_name = "column longitude" ;
cols1d_lon:units = "degrees_east" ;
double cols1d_lat(column) ;
cols1d_lat:long_name = "column latitude" ;
cols1d_lat:units = "degrees_north" ;
int cols1d_ixy(column) ;
cols1d_ixy:long_name = "2d longitude index of corresponding column" ;
int cols1d_jxy(column) ;
cols1d_jxy:long_name = "2d latitude index of corresponding column" ;
int cols1d_gi(column) ;
cols1d_gi:long_name = "1d grid index of corresponding column" ;
int cols1d_li(column) ;
cols1d_li:long_name = "1d landunit index of corresponding column" ;
double cols1d_wtgcell(column) ;
cols1d_wtgcell:long_name = "column weight relative to corresponding gridcell" ;
double cols1d_wtlunit(column) ;
cols1d_wtlunit:long_name = "column weight relative to corresponding landunit" ;
int cols1d_itype_col(column) ;
cols1d_itype_col:long_name = "column type (see global attributes)" ;
int cols1d_itype_lunit(column) ;
cols1d_itype_lunit:long_name = "column landunit type (vegetated,urban,lake,wetland,glacier or glacier_mec)" ;

Further information on customizing the CLM namelist can be found here:

 
Status
Not open for further replies.
Top