Dataset.hyoga.interp(datasource, ax=None, sigma=None)#

Interpolate onto higher resolution topography for visualization.

  • datasource (DataArray, Dataset, str, Path, file-like or DataStore) – Data array, or a dataset or path to a file containing the reference bedrock topography (standard name bedrock_altitude) or the reference surface topography and ice thickness (standard names surface_altitude and land_ice_thickness) from which it is computed.

  • ax (Axes, optional) – If axes are provided, “axes coordinates” will be generated so that the data are interpolated onto a grid where each point is a pixel in the current figure (using the current figure dpi). By default, the data are interpolated onto coordinates in the datasource.

  • sigma (float, optional) – Some batyhmetric datasets (e.g. ETOPO) are delivered with integer precision. This will cause artefacts in rendered paleo-shorelines on shallow slopes, looking especially strange if a float-precision isostatic correction is applied on the integer-precision elevation data. This parameter activates a mechanism that attempts to smooth shallow slopes with little effect on steep mountains. The value for sigma is the gaussian window size in projections units.


dataset (Dataset) – The interpolated dataset, with new horizontal resolution corresponding to either the data provided in datasource, or the pixel count of axes provided with ax. The ice surface altitude will be assigned if missing, to compute a detailed mask.