oggm.tasks.distribute_thickness

oggm.tasks.distribute_thickness(gdir, how='', add_slope=True, smooth=True, add_nc_name=False)[source]

Compute a thickness map of the glacier using the nearest centerlines.

This is a rather cosmetic task, not relevant for OGGM but for ITMIX. Here we take the nearest neighbors in a certain altitude range.

Returns:

Files writen to the glacier directory:

gridded_data.nc

A netcdf file containing several gridded data variables such as topography, the glacier masks and more (see the netCDF file metadata).