oggm.tasks.distribute_thickness_per_altitude

oggm.tasks.distribute_thickness_per_altitude(gdir, add_slope=True, smooth_radius=None, dis_from_border_exp=0.25, varname_suffix='')[source]

Compute a thickness map by redistributing mass along altitudinal bands.

This is a rather cosmetic task, not relevant for OGGM but for ITMIX.

Parameters:
gdir : oggm.GlacierDirectory

the glacier directory to process

add_slope : bool

whether a corrective slope factor should be used or not

smooth_radius : int

pixel size of the gaussian smoothing. Default is to use cfg.PARAMS[‘smooth_window’] (i.e. a size in meters). Set to zero to suppress smoothing.

dis_from_border_exp : float

the exponent of the distance from border mask

varname_suffix : str

add a suffix to the variable written in the file (for experiments)

Notes

Files writen to the glacier directory:
gridded_data.nc
A netcdf file containing several gridded data variables such as topography, the glacier masks, the interpolated 2D glacier bed, and more.