oggm.tasks.compute_centerlines

oggm.tasks.compute_centerlines(gdir, **kwargs)

Compute the centerlines following Kienholz et al., (2014).

They are then sorted according to the modified Strahler number: http://en.wikipedia.org/wiki/Strahler_number

Parameters:

gdir : oggm.GlacierDirectory

Returns:

Files writen to the glacier directory:

centerlines.pkl

A list of :py:class:oggm.Centerline instances, sorted by flow order.

gridded_data.nc

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