oggm.tasks.compute_ela

On this page

oggm.tasks.compute_ela#

oggm.tasks.compute_ela(gdir, settings_filesuffix: str = '', ys=None, ye=None, years=None, climate_filename='climate_historical', temperature_bias=None, precipitation_factor=None, climate_input_filesuffix='', mb_model_class=<class 'oggm.core.massbalance.MonthlyTIModel'>)[source]#

Computes the ELA of a glacier for specific years and climate.

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. If not given, settings_filesuffix is set by the @entity-task decorator.

ysint, optional

Start year.

yeint, optional

End year.

yearsarray_like[int], optional

Override ys and ye with the years of your choice.

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, default MonthlyTIModel

The MassBalanceModel class to use.

Notes

Files written to the glacier directory: