oggm.core.massbalance.ScalarMassBalance#
- class oggm.core.massbalance.ScalarMassBalance(mb=0.0)[source]#
Constant mass balance, everywhere.
- __init__(mb=0.0)[source]#
Initialize.
- Parameters:
- mbfloat
Fix the mass balance to a certain value (unit: [mm w.e. yr-1])
Methods
__init__
([mb])Initialize.
get_annual_mb
(heights, **kwargs)Like self.get_monthly_mb(), but for annual MB.
get_ela
([year])Compute the equilibrium line altitude for a given year.
get_monthly_mb
(heights, **kwargs)Monthly mass balance at given altitude(s) for a moment in time.
get_specific_mb
([heights, widths, fls, year])Specific mb for this year and a specific glacier geometry.
is_year_valid
(year)Checks if a given date year be simulated by this model.