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

Where are fsurdat variables initialized/read in?

aberg

New Member
Hi all,

I'd like to find out where the fsurdat variables are initialized and read in, in the CLM source code. I thought maybe someone could help me narrow down my search?

I'm interested in eventually adding a new variable to the fsurdat file, so I'd like to know where in the source code I'd have to add code to initialize/read in the added variable.
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
Surface variables are read into CLM in the module..

models/lnd/clm/src/main/surfrdMod.F90
 

aberg

New Member
Thanks!

I was also looking for initializeMod but could not find it. Is this not in the most recent version of CLM? (There is a reference to initializeMod in surfrd)
 

erik

Erik Kluzek
CSEG and Liaisons
Staff member
initializeMod.F90 was renamed to clm_initializeMod.F90. I suppose there might be comments that weren't updated to note this.
 
Top