Skip to content

Gridded interpolation

Grids

# UncertainData.InterpolationAndGrids.RegularGridType.

1
RegularGrid

Fields

  • min: The minimum value of the grid.
  • max: The maximum value of the grid.
  • step: The interval size.
  • extrapolation_bc: The extrapolation condition. Can also be NaN.

source

Syntax

Uncertain index-value datasets

The following methods are available for the interpolating of a realization of an uncertain index-value dataset:

No constraints

# UncertainData.Resampling.resampleMethod.

1
2
3
resample(udata::UncertainIndexValueDataset, 
    grid::InterpolationGrid;
    trunc::TruncateQuantiles = TruncateQuantiles(0.001, 0.999))

Draw a realization of udata, then interpolate the data values to grid.

To avoid very large spans of interpolation, the uncertain indices are truncated to some large quantile range. Values are not truncated.

source

Sequential constraints

# UncertainData.Resampling.resampleMethod.

1
2
3
4
resample(udata::UncertainIndexValueDataset, 
    sequential_constraint::SequentialSamplingConstraint,
    grid::InterpolationGrid;
    trunc::TruncateQuantiles = TruncateQuantiles(0.001, 0.999))

Draw a realization of udata, enforcing a sequential_constraint on the indices. Then, interpolate the values of the realization to the provided grid of indices (grid).

To avoid very large spans of interpolation, the uncertain indices are truncated to some large quantile range. Values are not truncated.

source