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

SFRAINQM is all 0s in the history file

raeder

Member
The name appears in the master field list, so it's eligible to be written,
and it is written with no complaints, but apparently it's never calculated,
and no checks are done to see if it has valid data.
I can't find the variable name in the CAM source code (using grep on all the source code files).
I can't even find a line that has an SF and RAINQM (which is written to the initial file correctly).
How do I make CAM calculate it?
 

raeder

Member
Now I've found that the call to add SFRAINQM (and all other surface fluxes) to the default fields is commented out.
physics/cam/micro_mg_cam.F90
! call add_default(sflxnam(mm), 1, ' ')
There's no comment about why or whether it's safe to uncomment it.
It seems that if this is commented out, then these fields should not be added to the master field list.

More context; history_amwg = .true., so that's not playing a role.
 

raeder

Member
I've found PRECT (and PRECC and PRECL), which apparently is what I want,
since they can be written to history files, so I'm giving up on SFRAINQM.
 
Top