Skip to main content

getTimeSeries()

function getTimeSeries(
backend,
position,
selectors,
options): Promise<QueryResult>;

Queries every time coordinate at one point and the selected elevation.

Parameters​

ParameterTypeDescription
backendQueryBackendProvider implementing the query backend contract.
positionQueryPositionWGS84 [longitude, latitude] position.
selectorsZarrSelectorsOptional selections for dimensions other than time.
optionsQueryOptionsResolution, coordinate output, and cancellation options.

Returns​

Promise<QueryResult>

Values and coordinates returned by the backend.

Throws​

If the dataset has no queryable time dimension.