Required
da| Type: | xr_tools.XrType |
| Description: | A dataset to compute the absolute coordinates for. |
def compute_reference_elevation(
da: xr_tools.XrType, extents: tuple[float, float]
) -> xr_tools.XrType: ...| Type: | xr_tools.XrType |
| Description: | A dataset to compute the absolute coordinates for. |
| Type: | tuple[float, float] |
| Description: | The extents to concretize the reference coordinates against. Tuple should be (bottom, top). |
xr_tools.XrTypedef compute_relative_coordinates(
da: xr_tools.XrType,
extents: tuple[float, float],
c: str,
vb: tuple[float, float],
) -> xr_tools.XrType: ...| Type: | xr_tools.XrType |
| Description: | The model data array in relative coordinates. |
| Type: | tuple[float, float] |
| Description: | The extents of the target layer. |
| Type: | str |
| Description: | The vertical coordinate. |
| Type: | tuple[float, float] |
| Description: | The vertical bounds of the entire domain. |
xr_tools.XrTypedef get_bounds(
i0: Interface, i1: Interface, db: domain.DomainBounds
) -> dict[str, tuple[float, float]]: ...dict[str, tuple[float, float]]def interpolate(i: Interface, hc: np.ndarray) -> np.ndarray: ...| Type: | Interface |
| Description: | The interface. |
| Type: | np.ndarray |
| Description: | The horizontal coordinates. |
np.ndarraydef is_flat(i: Interface) -> bool: ...| Type: | Interface |
| Description: | The interface. |
booldef max_bounds_da(i0: Interface, i1: Interface, vc: str) -> xr.DataArray: ...xr.DataArraydef thickness(
bot: Interface,
top: Interface,
crd: np.ndarray,
allow_crossing: bool = False,
) -> np.ndarray: ...| Type: | Interface |
| Description: | The bottom interface. |
| Type: | Interface |
| Description: | The top interface. |
| Type: | np.ndarray |
| Description: | The coordinates to interpolate onto. |
| Type: | bool |
| Default value: | False |
| Description: | Don't throw if thickness is less than or equal to 0.0. |
np.ndarraydef thickness_ref(bot: Interface, top: Interface) -> float: ...floatdef validate_interfaces(
dim: types.Dim, interfaces: list[Interface]
) -> list[Interface]: ...| Type: | types.Dim |
| Description: | The domain's dimension. |
| Type: | list[Interface] |
| Description: | The list of interfaces to validate. |