Commonalities used in both 1d and 2d interpolation
This module provides commonalities shared between interpolation1d and interpolation2d. This includes input data validation methods.
Validate that the coordinates vector are valid
Parameters: |
|
---|---|
Raise: | Exception, InaSAFEError |
Returns: | Coordinates cast as a numpy arry |
Check inputs for interpolate1d and interpolate2d functions
Parameters: |
|
---|---|
Returns: | x, z and points |
Raises: | RuntimeError, Exception |
Validate that the mode is an allowable value.
Parameters: | mode (str) – Determines the interpolation order. Options are:
|
---|---|
Raises: | InaSAFEError |