We need to handle the scenario where the requested dates are not available for the requested dataset(s).
Assuming the dataset date ranges in the metadata are accurate and we compare the requested dates to those ranges, we could have an optional input parameter (strict_dates?) for how to handle when requested dates are outside the range(s) for at least one dataset.
Supported values:
strict (or None?) (default): generates a helpful error message (that also lists the date range available for all requested datasets?)
'overlap': return the data for the portion of the date range available across all requested datasets (sparse daily as a special case? not if we are relying on metadata ranges)
'all': return all available requested data within the requested data range
We need to handle the scenario where the requested dates are not available for the requested dataset(s).
Assuming the dataset date ranges in the metadata are accurate and we compare the requested dates to those ranges, we could have an optional input parameter (
strict_dates
?) for how to handle when requested dates are outside the range(s) for at least one dataset.Supported values:
strict
(orNone
?) (default): generates a helpful error message (that also lists the date range available for all requested datasets?)