oggm.tasks.fixed_geometry_mass_balance

oggm.tasks.fixed_geometry_mass_balance#

oggm.tasks.fixed_geometry_mass_balance(gdir, ys=None, ye=None, years=None, monthly_step=False, use_inversion_flowlines=True, climate_filename='climate_historical', climate_input_filesuffix='', temperature_bias=None, precipitation_factor=None, mb_model_class=<class 'oggm.core.massbalance.MonthlyTIModel'>)[source]#

Computes the mass balance with climate input from e.g. CRU or a GCM.

Parameters:
gdiroggm.GlacierDirectory

the glacier directory to process

ysint

start year of the model run (default: from the climate file) date)

yeint

end year of the model run (default: from the climate file)

yearsarray of ints

override ys and ye with the years of your choice

monthly_stepbool

whether to store the diagnostic data at a monthly time step or not (default is yearly)

use_inversion_flowlinesbool

whether to use the inversion flowlines or the model flowlines

climate_filenamestr

name of the climate file, e.g. ‘climate_historical’ (default) or ‘gcm_data’

climate_input_filesuffix: str

filesuffix for the input climate file

temperature_biasfloat

add a bias to the temperature timeseries

precipitation_factor: float

multiply a factor to the precipitation time series default is None and means that the precipitation factor from the calibration is applied which is cfg.PARAMS[‘prcp_fac’]

mb_model_classMassBalanceModel class

the MassBalanceModel class to use, default is MonthlyTIModel

Notes

Files written to the glacier directory: