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, water_level=None, gdir=None)[source]#
A parabolic shaped Flowline with one degree of freedom
- __init__(line=None, dx=None, map_dx=None, surface_h=None, bed_h=None, bed_shape=None, rgi_id=None, water_level=None, gdir=None)[source]#
Instantiate.
- Parameters:
- line
shapely.geometry.LineString the geometrical line of a
oggm.Centerline
- line
Methods
__init__([line, dx, map_dx, surface_h, ...])Instantiate.
has_ice()reset_flux()set_apparent_mb(mb[, is_calving])Set the apparent mb and flux for the flowline.
set_flows_to(other[, check_tail, to_head])Find the closest point in "other" and sets all the corresponding attributes.
set_line(line)Update the Shapely LineString coordinate.
to_diagnostics_dataset()Makes an xarray Dataset out of the flowline.
to_geometry_dataset()Makes an xarray Dataset out of the flowline.
Attributes
area_km2area_m2bed_below_wlbin_area_m2flows_to_indiceIndices instead of geometry
inflow_indicesIndices instead of geometries
length_mnormalsList of (n1, n2) normal vectors at each point.
point_latspoint_lonssectionshape_strThe bed shape in text (for debug and other things)
surface_hNeeded for overriding later
terminus_indexthickNeeded for overriding later
volume_bsl_km3volume_bsl_m3volume_bwl_km3volume_bwl_m3volume_km3volume_m3water_depthwidthsCompute the widths out of H and shape
widths_mCompute the widths out of H and shape