PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ get_snow_accumulation()

void pism::surface::PDDMassBalance::get_snow_accumulation ( const std::vector< double > &  T,
std::vector< double > &  P 
)
virtual

Extract snow accumulation from mixed (snow and rain) precipitation using the temperature time-series.

Uses the temperature time-series to determine whether the precipitation is snow or rain. Rain is removed entirely from the surface mass balance, and will not be included in the computed runoff, which is meltwater runoff. There is an allowed linear transition for Tmin below which all precipitation is interpreted as snow, and Tmax above which all precipitation is rain (see, e.g. [Hock2005b]).

Sets P[i] to the solid (snow) accumulation rate.

Parameters
[in,out]Pprecipitation rate (array of length N)
[in]Tair temperature (array of length N)
[in]Narray length

Implements pism::surface::LocalMassBalance.

Definition at line 147 of file localMassBalance.cc.

References precip_as_snow, Tmax, and Tmin.