arctichoke.dataset.date_type
Functions
|
Get the data type of the dates of a dataset. |
Module Contents
- arctichoke.dataset.date_type.get_date_type(dataset: str, xarray.DataArray, xarray.Dataset)
Get the data type of the dates of a dataset.
Determine the data type of the dates, the time dimension, of the given dataset, if applicable.
- Parameters:
dataset (str, xarray.DataArray, xarray.Dataset) – The dataset for which to get the date type.
- Returns:
date_dtype – The data type of the dates in the dataset as a string.
- Return type:
str
Examples
>>> from arctichoke.verify.get_date_type import get_date_type >>> get_date_type()