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.
 
Back
Top