xarray.Dataset is returned.
Parameters
The time or time interval for which to query data. This can be a single time scalar, a tuple of two time scalars, or an array of time scalars.Valid time scalars are:
datetime.datetime objects, strings in ISO 8601 format, or Unix timestamps in seconds.Behavior for each input type:-
TimeScalar: If a single time scalar is provided,
queryreturns all data points for that exact millisecond. -
TimeInterval: If a time interval is provided,
queryreturns all data points in that interval. Intervals can be a tuple of twoTimeScalarsor aTimeIntervalobject. Tuples are interpreted as a half-open interval[start, end). With aTimeIntervalobject, thestart_exclusiveandend_inclusiveparameters control whether the start and end time are inclusive or exclusive. -
Iterable[TimeScalar]: If an array of time scalars is provided,
queryconstructs a time interval from the first and last time scalar in the array. Here, both thestartandendtimes are inclusive.
If
True, the response contains only the ID and the timestamp for each datapoint. Defaults to False.If
True, a progress bar is displayed when pagination is required. Defaults to False.Returns
Anxarray.Dataset containing the requested data points.