noah
1.13.0
|
Public Member Functions | |
subroutine, public | calc_density (lensfc, landmask, swe, snd, rank, density) |
This subroutine calculates snow density from forecast fields. More... | |
Definition at line 6 of file bulk_snow_module.f90.
subroutine, public bulk_snow_module::calc_density | ( | integer, intent(in) | lensfc, |
integer, dimension(lensfc), intent(in) | landmask, | ||
real, dimension(lensfc), intent(in) | swe, | ||
real, dimension(lensfc), intent(in) | snd, | ||
integer, intent(in) | rank, | ||
real, dimension(lensfc), intent(out) | density | ||
) |
This subroutine calculates snow density from forecast fields.
density = SWE/SND where snow present. = average from snow forecasts over land, where snow not present
[in] | lensfc | Number of sfc grid cells |
[in] | rank | Processor rank |
[in] | landmask | Mask for land increments |
[in] | swe | Snow Water Equivalent |
[in] | snd | Snow Depth |
[out] | density | Snow density [-] |
Definition at line 26 of file bulk_snow_module.f90.