Dataset
- class anemoi.datasets.usage.dataset.Dataset
- dates_interval_to_indices(start: None | str | datetime, end: None | str | datetime) list[int]
Convert date interval to a list of indices.
- Parameters:
start (None, str, or datetime.datetime) – The start date.
end (None, str, or datetime.datetime) – The end date.
- Returns:
The list of indices.
- Return type:
- provenance() dict[str, Any]
Return the provenance information of the dataset.
- Returns:
The provenance information.
- Return type:
- property start_date: datetime64
Return the start date of the dataset.
- property end_date: datetime64
Return the end date of the dataset.
- supporting_arrays() dict[str, ndarray[tuple[Any, ...], dtype[Any]]]
Return the supporting arrays to be saved in the checkpoints.
- Returns:
The supporting arrays.
- Return type:
- abstract property dates: ndarray[tuple[Any, ...], dtype[datetime64]]
Return the dates in the dataset.
- abstract property dtype: dtype
Return the data type of the dataset.
- abstract property latitudes: ndarray[tuple[Any, ...], dtype[Any]]
Return the latitudes in the dataset.
- abstract property longitudes: ndarray[tuple[Any, ...], dtype[Any]]
Return the longitudes in the dataset.
- abstract property statistics: dict[str, ndarray[tuple[Any, ...], dtype[Any]]]
Return the statistics of the dataset.
- abstractmethod statistics_tendencies(delta: timedelta | None = None) dict[str, ndarray[tuple[Any, ...], dtype[Any]]]
Return the tendencies of the statistics in the dataset.
- Parameters:
delta (datetime.timedelta, optional) – The time delta for computing tendencies.
- Returns:
The tendencies.
- Return type: