oggm.tasks.compute_ela#

oggm.tasks.compute_ela(gdir, ys=None, ye=None, years=None, climate_filename='climate_historical', temperature_bias=None, precipitation_factor=None, climate_input_filesuffix='')[source]#

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

Parameters
gdiroggm.GlacierDirectory

the glacier directory to process

ysint

start year

yeint

end year

yearsarray of ints

override ys and ye with the years of your choice

climate_filenamestr

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

climate_input_filesuffixstr

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_scaling_factor’]

Notes

Files written to the glacier directory: