diff --git a/pygeoapi/provider/xarray_edr.py b/pygeoapi/provider/xarray_edr.py index a7c6ce909..f3c3e1af8 100644 --- a/pygeoapi/provider/xarray_edr.py +++ b/pygeoapi/provider/xarray_edr.py @@ -30,7 +30,6 @@ import logging import numpy as np -import pandas as pd from pygeoapi.provider.base import ProviderNoDataError, ProviderQueryError from pygeoapi.provider.base_edr import BaseEDRProvider @@ -268,7 +267,7 @@ def _make_datetime(self, datetime_): LOGGER.debug('Reversing slicing from high to low') return slice(end, begin) else: - return pd.Timestamp(datetime_) + return np.datetime64(datetime_) def _get_time_range(self, data): """