oggm.Flowline¶
-
class
oggm.Flowline(line=None, dx=1, map_dx=None, surface_h=None, bed_h=None, rgi_id=None)[source]¶ The is the input flowline for the model.
-
__init__(line=None, dx=1, map_dx=None, surface_h=None, bed_h=None, rgi_id=None)[source]¶ Instanciate.
#TODO: documentation
Methods
__init__([line, dx, map_dx, surface_h, …])Instanciate. set_apparent_mb(mb[, mu_star])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. to_dataset()Makes an xarray Dataset out of the flowline. Attributes
area_km2area_m2flows_to_indiceIndices instead of geometry inflow_indicesIndices instead of geometries length_mnormalsList of (n1, n2) normal vectors at each point. surface_hNeeded for overriding later thickNeeded for overriding later volume_km3volume_m3widthsCompute the widths out of H and shape -