oggm.core.massbalance.MassBalanceModel.get_specific_mb

oggm.core.massbalance.MassBalanceModel.get_specific_mb#

MassBalanceModel.get_specific_mb(heights=None, widths=None, fls=None, year=None, time_resolution='annual')[source]#

Specific mass balance for a given glacier geometry.

Units depends on time_resolution: - ‘annual’: [mm w.e. yr-1], or millimeter water equivalent per year. - ‘monthly’: [mm w.e. month-1], or millimeter water equivalent per month. - ‘daily’: [mm w.e. day-1], or millimeter water equivalent per day.

Parameters:
heightsarray_like, default None

Altitudes at which the mass balance will be computed. Overridden by fls if provided.

widthsarray_like, default None

Widths of the flowline (necessary for the weighted average). Overridden by fls if provided.

flslist[oggm.Flowline], default None

List of flowline instances. Alternative to heights and widths, and overrides them if provided.

yeararray_like[float] or float, default None

Year, or a range of years in “floating year” convention.

time_resolutionstr

The resolution of the provided “floating year”. Options are ‘annual’, ‘monthly’ or ‘daily’. Default is ‘annual’.

Returns:
np.ndarray

Specific mass balance (units: mm w.e. yr-1).