X/Y data point type declaration that stores a single set of a time series.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public, | parameter | :: | DP_SIZE | = | storage_size(dp_type())/8 |
Size of |
Data point type that contains a timestamp and an associated value, like a single response of an observation or a single data point of a time series.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=TIME_LEN), | public | :: | x | = | TIME_DEFAULT |
Timestamp in ISO 8601. |
|
real(kind=r8), | public | :: | y | = | 0.0_r8 |
Response value. |
Returns data point as 58 characters long string. The attributes x
and y
are separated by white space.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dp_type), | intent(in) | :: | dp |
Data point type. |