Skip to content

Conversation

@JosephMouallem
Copy link
Contributor

IPD_Data(nb)%Sfcprop%tprcp(ix) is in m or (kg/m^2 * 1e-3).
We add *1000 to convert it to kg/m^2.
The final fields passed to the coupler, Atmos%lprec and Atmos%fprec, are in kg/m^2/s as expected by the land and ocean models.
NOTE: although some comments in the model suggest these field represent the accumulated rain quantity per time-step, they in fact represent the precipitation rate.

@JosephMouallem
Copy link
Contributor Author

! --- precip rate (kg/m**2/s)
if ( IPD_Data(nb)%Sfcprop%srflag(ix) .lt. 0.5) then ! rain (srflag = 0)
Atmos%lprec(i,j) = 1./IPD_Control%dtp * IPD_Data(nb)%Sfcprop%tprcp(ix)
Atmos%lprec(i,j) = 1./IPD_Control%dtp * IPD_Data(nb)%Sfcprop%tprcp(ix) * 1000.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants