oggm.Centerline¶
-
class
oggm.
Centerline
(line, dx=None, surface_h=None, orig_head=None)[source]¶ A Centerline has geometrical and flow rooting properties.
It is instanciated and updated by _join_lines() exclusively
-
__init__
(line, dx=None, surface_h=None, orig_head=None)[source]¶ Instanciate.
Parameters: line: Shapely LineString
Methods
__init__
(line[, dx, surface_h, orig_head])Instanciate. set_apparent_mb
(mb)Set the apparent mb and flux for the flowline. set_flows_to
(other[, check_tail, last_point])Find the closest point in “other” and sets all the corresponding attributes. set_line
(line)Update the Shapely LineString coordinate. -