Search found 1 match

by likerice
Thu Apr 11, 2019 8:53 pm
Forum: ROMS Information
Topic: units of specific humidity
Replies: 10
Views: 28781

Re: units of specific humidity

I have been setting up an application with bulk fluxes and think I understand what is going on in the unsavory code:
! Compute specific humidity, Q (kg/kg).
!
IF (RH.lt.2.0_r8) THEN !RH fraction
cff=cff*RH !Vapor pres (mb)
Q(i)=0.62197_r8*(cff/(PairM-0.378_r8*cff)) !Spec hum (kg/kg)
ELSE !RH ...