oggm.tasks.distribute_thickness_per_altitude

oggm.tasks.distribute_thickness_per_altitude#

oggm.tasks.distribute_thickness_per_altitude(gdir, settings_filesuffix='', input_filesuffix='', add_slope=True, topo_variable='topo_smoothed', smooth_radius=0, 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 or for visualizations.

Parameters:
gdiroggm.GlacierDirectory

the glacier directory to process

settings_filesuffix: str

You can use a different set of settings by providing a filesuffix. This is useful for sensitivity experiments. Code-wise the settings_filesuffix is set in the @entity-task decorater.

input_filesuffix: str

the filesuffix of the ‘inversion_output’ and ‘inversion flowlines’ to use

add_slopebool

whether a corrective slope factor should be used or not

topo_variablestr

the topography to read from gridded_data.nc (could be smoothed, or smoothed differently).

smooth_radiusint

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

dis_from_border_expfloat

the exponent of the distance from border mask

varname_suffixstr

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

Notes

Files written 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. This is for static, non time-dependant data.