oggm.core.massbalance.PastMassBalance¶
-
class
oggm.core.massbalance.
PastMassBalance
(gdir, mu_star=None, bias=None, prcp_fac=None, filename='climate_monthly', input_filesuffix='')[source]¶ Mass balance during the climate data period.
-
__init__
(gdir, mu_star=None, bias=None, prcp_fac=None, filename='climate_monthly', input_filesuffix='')[source]¶ Initialize.
Parameters: gdir : GlacierDirectory
the glacier directory
mu_star : float, optional
set to the alternative value of mustar you want to use (the default is to use the calibrated value)
bias : float, optional
set to the alternative value of the calibration bias [mm we yr-1] you want to use (the default is to use the calibrated value) Note that this bias is substracted from the computed MB. Indeed: BIAS = MODEL_MB - REFERENCE_MB.
prcp_fac : float, optional
set to the alternative value of the precipitation factor you want to use (the default is to use the calibrated value)
filename : str, optional
set to a different BASENAME if you want to use alternative climate data.
input_filesuffix : str
the file suffix of the input climate file
Methods
__init__
(gdir[, mu_star, bias, prcp_fac, …])Initialize. get_annual_mb
(heights[, year])Like self.get_monthly_mb(), but for annual MB. get_ela
([year])Compute the equilibrium line altitude for this year get_monthly_climate
(heights[, year])Monthly climate information at given heights. get_monthly_mb
(heights[, year])Monthly mass-balance at given altitude(s) for a moment in time. get_specific_mb
(heights, widths[, year])Specific mb for this year and a specific glacier geometry. -