oggm.tasks.fixed_geometry_mass_balance#
- oggm.tasks.fixed_geometry_mass_balance(gdir, settings_filesuffix='', 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=None)[source]#
Computes the mass balance with climate input from e.g. CRU or a GCM.
- Parameters:
- gdirGlacierDirectory
The glacier directory to process.
- settings_filesuffixstr, optional
You can use a different set of settings by providing a filesuffix. This is useful for sensitivity experiments. Code-wise the settings_filesuffix is set in the @entity-task decorator.
- ysint, optional
Start year of the model run (default: from the climate file). date)
- yeint, optional
End year of the model run (default: from the climate file).
- yearsarray_like[int], optional
Override
ysandyewith the years of your choice.- monthly_stepbool, default False
Store the diagnostic data at a monthly time resolution. If False, stores it at an annual resolution.
- use_inversion_flowlinesbool, default True
Use the inversion flowlines instead of the model flowlines.
- climate_filenamestr, default ‘climate_historical’
Name of the climate file, e.g. ‘climate_historical’, ‘gcm_data’.
- climate_input_filesuffix: str, optional
Filesuffix for the input climate file.
- temperature_biasfloat, optional
Add a bias to the temperature timeseries.
- precipitation_factor: float, optional
Multiplicative factor applied to the precipitation time series. If None, uses the precipitation factor from the calibration in
gdir.settings['prcp_fac'].- mb_model_classMassBalanceModel, defaults to
MonthlyTIModel The MassBalanceModel class to use.
Notes
Files written to the glacier directory: