DISCLAIMER: This version of Frost
is still work in progress.
MET Norway does not guarantee that the service will always behave
100% according to documentation or expectations.
Time Specification
Latest Mode
The 'latest' mode is specified as
time=latest
.
In this mode only otherwise matching time series with at least one observation within
[now-latestmaxage, now]
will contribute to the result (see the
latestmaxage
query parameter).
Note that regardless of mode, actual observations are included with the contributing
time series iff the
incobs
query parameter is specified as true. Only header
information is included by default.
Intervals Mode
In 'intervals' mode a sequence of intervals is defined from a specific base interval. Only
otherwise matching time series with at least one observation within any of these intervals
will contribute to the result.
The mode is specified as
time=EXPR
where the different forms of
EXPR
are defined in the table below.
-
t1
, and t2
are
ISO 8601 time strings of the form YYYY-MM-DDThh:mm:ss:Z
-
p
is an ISO 8601 duration of the form P[n]Y[n]M[n]DT[n]H[n]M[n]S
where
each [n]
represents a non-negative integer. A component may be ommited if the
corresponding [n]
is 0. At least one component must have [n]
> 0.
Form | Matching observation times |
t1/t2 | [t1,t2> |
t1 | Same as the previous form with t2
= t1 + 1 second. |
Rn/t1/t2/p | [t1,t2> + n-1 repetitions
of the same interval following one after the other with a gap of p between
start times of successive intervals. Note: p must be large enough for
the intervals not to overlap. |
Rn/t1/p | Same as the previous form with t2
= t1 + 1 second. |
Default Mode
If the 'time' query parameter is not not specified, all otherwise matching time series
will contribute to the result, even time series without any observations at all.