- oggm.core.centerlines.compute_centerlines(gdir, heads=None)#
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
This function does not initialize a
oggm.Centerlinebut calculates routes along the topography and makes a
shapely.Linestringobject from them.
where to write the data
- headslist, optional
list of shapely.geometry.Points to use as line heads (default is to compute them like Kienholz did)
- Files written to the glacier directory:
A list of
oggm.Centerlineinstances, sorted by flow order.
A netcdf file containing several gridded data variables such as topography, the glacier masks, the interpolated 2D glacier bed, and more.