oggm.tasks.local_t_star(gdir, *, ref_df=None, tstar=None, bias=None, clip_mu_star=None, min_mu_star=None, max_mu_star=None)[source]#

Compute the local t* and associated glacier-wide mu*.

If tstar and bias are not provided, they will be interpolated from the reference t* list (ref_df).

If none of these are provided (the default), this list be obtained from the current working directory (ref_tstars.csv and associated params ref_tstars_params.json). These files can either be generated with a call to compute_ref_t_stars if you know what you are doing, or you can obtain pre-preprocessed lists from our servers: https://cluster.klima.uni-bremen.de/~oggm/ref_mb_params/

The best way to fetch them is to use oggm.workflow.download_ref_tstars().

Note: the glacier wide mu* is output here just for indication. It might be different from the flowlines’ mu* in some cases.


the glacier directory to process

ref_dfpandas.DataFrame, optional

replace the default calibration list with your own.

tstar: int, optional

the year where the glacier should be equilibrium

bias: float, optional

the associated reference bias

clip_mu_star: bool, optional

defaults to cfg.PARAMS[‘clip_mu_star’]

min_mu_star: bool, optional

defaults to cfg.PARAMS[‘min_mu_star’]

max_mu_star: bool, optional

defaults to cfg.PARAMS[‘max_mu_star’]


Files written to the glacier directory:

Some information (dictionary) about the mass balance parameters for this glacier.


A dict containing the glacier’s t*, bias, and the flowlines’ mu*