MassBalanceModel.get_monthly_mb(heights, year=None, fl_id=None, fls=None)[source]#

Monthly mass balance at given altitude(s) for a moment in time.

Units: [m s-1], or meters of ice per second

Note: year is optional because some simpler models have no time component.

heights: ndarray

the atitudes at which the mass balance will be computed

year: float, optional

the time (in the “floating year” convention)

fl_id: float, optional

the index of the flowline in the fls array (might be ignored by some MB models)

fls: list of flowline instances, optional

the flowlines array, in case the MB model implementation needs to know details about the glacier geometry at the moment the MB model is called

the mass balance (same dim as heights) (units: [m s-1])