Get Multipoint Analysis
Returns the entire field data for a parameter at a given time.
GET /api/category/strang1g/version/1/geotype/multipoint/validtime/{validtime}/parameter/{parameter}/data.json?interval={interval}
Category | For now, there is only one category for the API, strang1g .
|
Version | When the API for a given category is changed, the version is increased. Old versions will be
available for a limited time. The current version is 1 .
|
Validtime | The date time for which the multipoint is retrieved. |
Parameter | The parameter to get. |
Interval | The aggregation interval to use. Valid values are hourly , daily and monthly .
|
The data is returned as mediatype application/json (
JSON
). The JSON-result is an array of objects where each object contains the key
value
that stores the parameter value (a float), the key lat
that
stores the latitude (a float) and the key lon
that stores the longitude (a float).
The query parameter interval
is optional. If interval
is not specified
the hourly
interval is used. If the interval is daily
all the values
for the given day in validtime
are added to a single value. If the inverval is
monthly
all the values for the given month in validtime
are added
to a single value.
The date time format for validtime
is RFC3339,
for example: 2020-01-02T10:00:00+02:00
. It may also be specified without a
time zone (2020-01-02T10:00:00
) in which case the time zone is set to +00:00 (UTC),
and without the time part (2020-01-02
) in which case the time is set to 00:00.
It can be further simplified by removing the second, minute or hour parts (which are all set
to 0), and the day part (which is set to 1) as well as the hyphens and colons. For example,
2020010211
gets parsed to 2020-01-02T11:00:00Z.
Example
GET /api/category/strang1g/version/1/geotype/multipoint/validtime/201908/parameter/118/data.json?interval=monthly
...