oggm.MassBalanceModel
oggm.MassBalanceModel¶
- class oggm.MassBalanceModel[source]¶
Interface and common logic for all mass balance models used in OGGM.
All mass balance models should implement this interface.
- Attributes
- valid_bounds[float, float]
The altitudinal bounds where the MassBalanceModel is valid. This is necessary for automated ELA search.
- hemispherestr, {‘nh’, ‘sh’}
Used for time handling when the hydrological year convention is used (
cfg.PARAMS['hydro_month_nh'] != 1
)- rhofloat, default:
cfg.PARAMS['ice_density']
Density of ice
Methods
__init__
()Initialize.
get_annual_mb
(heights[, year, fl_id, fls])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[, year, fl_id, fls])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.