geodesic.boson.dataset.Dataset.set_time_enabled#
- Dataset.set_time_enabled(interval, interval_units, datetime_field=None, start_datetime_field=None, end_datetime_field=None, track_id_field=None, time_extent=None)[source]#
Set the datetime fields for the dataset.
- Parameters:
interval (int) – the interval increment for the dataset
interval_units (str) – the time units of the interval
datetime_field (str | None) – the field that is used to search by datetime in the dataset
start_datetime_field (str | None) – the field that is used to search by start datetime in the dataset
end_datetime_field (str | None) – the field that is used to search by end datetime in the dataset
track_id_field (str | None) – the field that is used to search by track id in the dataset
time_extent (List[datetime | str] | None) – the time extent of the dataset