Programming interface

Configuration

config

Hyoga configuration parameters.

Input functions

open.dataset

Open a single-file model output dataset.

open.mfdataset

Open a multi-file model output dataset.

open.subdataset

Open a single file in a multi-file dataset.

Datasets

Postprocessing

Dataset.hyoga.assign(**standard_variables)

Assign new variables by standard_name.

Dataset.hyoga.assign_icemask(datasource[, name])

Assign an ice mask corresponding to glacierized area.

Dataset.hyoga.assign_isostasy(datasource[, name])

Compute bedrock isostatic adjustment using a separate file.

Dataset.hyoga.getvar(standard_name[, infer, ...])

Get a variable by conventional standard name.

Dataset.hyoga.interp(datasource[, ax, ...])

Interpolate onto higher resolution topography for visualization.

Dataset.hyoga.where(cond, **kwargs)

Filter glacier (non-bedrock) variables according to a condition.

Dataset.hyoga.where_icemask([threshold])

Filter glacier (non-bedrock) variables using existing ice mask.

Dataset.hyoga.where_thicker([threshold])

Filter glacier (non-bedrock) variables using a thickness threshold.

Plotting

Dataset.hyoga.plot.bedrock_altitude([sealevel])

Plot bedrock topography and shoreline.

Dataset.hyoga.plot.bedrock_shoreline([sealevel])

Plot bedrock topography and shoreline.

Dataset.hyoga.plot.bedrock_erosion([...])

Plot erosion rate based on basal velocity.

Dataset.hyoga.plot.bedrock_isostasy(**kwargs)

Plot bedrock deformation contours and locate minumum.

Dataset.hyoga.plot.ice_margin([edgecolor, ...])

Plot ice margin line and/or filled contour

Dataset.hyoga.plot.surface_altitude_contours([...])

Plot minor and major surface topography contours.

Dataset.hyoga.plot.surface_velocity(**kwargs)

Plot surface velocity map.

Dataset.hyoga.plot.surface_velocity_streamplot(...)

Plot surface velocity streamlines.