oggm.tasks.local_mustar

oggm.tasks.local_mustar(gdir, tstar=None, bias=None, prcp_fac=None, minimum_mustar=0.0)[source]

Compute the local mustar from interpolated tstars.

Parameters:

gdir : oggm.GlacierDirectory

tstar: int

the year where the glacier should be equilibrium

bias: int

the associated reference bias

prcp_fac: int

the associated precipitation factor

minimum_mustar: float

if mustar goes below this threshold, clip it to that value. If you want this to happen with minimum_mustar=0. you will have to set cfg.PARAMS[‘allow_negative_mustar’]=True first.

Returns:

Files writen to the glacier directory:

local_mustar.csv

A csv with three values: the local scalars mu*, t*, bias