traveler.skims.omx.OmxSkims.to_dataset#
- OmxSkims.to_dataset(*, dim_names=('otaz', 'dtaz', 'time_periods'))[source]#
Convert the loaded skims to an xarray dataset.
- Parameters:
dim_names (tuple[str, str, str], optional) – Names for origin, destination, and time-period dimensions.
- Returns:
Dataset containing recognized two- and three-dimensional skim arrays.
- Return type:
xarray.Dataset
- Raises:
NotImplementedError – If an array has recognized rank but incompatible dimensions.