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

RELHUM calculation in SCAM

bidyut

BIDYUT BIKASH GOSWAMI
Member
Hi All,
I am running SCAM (Gettleman et al. 2019) for IOP cases.
My question is: how is relative humidity (RELHUM) calculated? Is it with respect to ice or water?
Thanks.
 

cacraig

Cheryl Craig
CSEG and Liaisons
Staff member
Looking at src/physics/cam/cam_diagnostics.F90 where the outfld call for RELHUM is made, there is a line:

ftem(:ncol,:) = state%q(:ncol,:,ixq)/ftem(:ncol,:)*100._r8

Looking higher up in the code, ixq is retrieved via the line:

call cnst_get_ind('Q', ixq)

'Q' is water vapor. If the call to "cnst_get_ind" had 'CLDICE', then that would would have been retrieving the ice.

The RELHUM calculation is using 'Q'.
 
Top