oggm.core.flowline.ParabolicBedFlowline

class oggm.core.flowline.ParabolicBedFlowline(line=None, dx=None, map_dx=None, surface_h=None, bed_h=None, bed_shape=None, rgi_id=None)[source]

A parabolic shaped Flowline with one degree of freedom

__init__(self, line=None, dx=None, map_dx=None, surface_h=None, bed_h=None, bed_shape=None, rgi_id=None)[source]

Instanciate.

Parameters:
line : shapely.geometry.LineString

the geometrical line of a oggm.Centerline

Methods

__init__(self[, line, dx, map_dx, …]) Instanciate.
set_apparent_mb(self, mb[, mu_star]) Set the apparent mb and flux for the flowline.
set_flows_to(self, other[, check_tail, …]) Find the closest point in “other” and sets all the corresponding attributes.
set_line(self, line) Update the Shapely LineString coordinate.
to_dataset(self) Makes an xarray Dataset out of the flowline.

Attributes

area_km2
area_m2
bin_area_m2
flows_to_indice Indices instead of geometry
inflow_indices Indices instead of geometries
length_m
normals List of (n1, n2) normal vectors at each point.
section
shape_str The bed shape in text (for debug and other things)
surface_h Needed for overriding later
thick Needed for overriding later
volume_km3
volume_m3
widths Compute the widths out of H and shape
widths_m Compute the widths out of H and shape