oggm.tasks.compute_centerlines

oggm.tasks.compute_centerlines(gdir, heads=None)[source]

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:

heads : list, optional

list of shpg.Points to use as line heads (default is to compute them like Kienholz did)

Returns:

Files writen to the glacier directory:

centerlines.pkl

A list of 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).