dm_dp Module

X/Y data point type declaration that stores a single set of a time series.


Uses

  • module~~dm_dp~~UsesGraph module~dm_dp dm_dp module~dm_error dm_error module~dm_dp->module~dm_error module~dm_kind dm_kind module~dm_dp->module~dm_kind module~dm_time dm_time module~dm_dp->module~dm_time module~dm_error->module~dm_kind module~dm_ascii dm_ascii module~dm_error->module~dm_ascii iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env module~dm_time->module~dm_error module~dm_time->module~dm_kind module~dm_util dm_util module~dm_time->module~dm_util module~dm_util->module~dm_error module~dm_util->module~dm_kind

Used by

  • module~~dm_dp~~UsedByGraph module~dm_dp dm_dp module~dm_block dm_block module~dm_block->module~dm_dp module~dm_json dm_json module~dm_json->module~dm_dp module~dm_plot dm_plot module~dm_plot->module~dm_dp module~dmpack dmpack module~dmpack->module~dm_dp module~dmpack->module~dm_block module~dmpack->module~dm_json module~dmpack->module~dm_plot module~dm_geojson dm_geojson module~dmpack->module~dm_geojson module~dm_jsonl dm_jsonl module~dmpack->module~dm_jsonl module~dm_report dm_report module~dmpack->module~dm_report module~dm_geojson->module~dm_json module~dm_jsonl->module~dm_json module~dm_report->module~dm_plot

Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: DP_SIZE = storage_size(dp_type())/8

Size of dp_type in bytes.


Derived Types

type, public ::  dp_type

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.

Components

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.


Functions

public pure elemental function dm_dp_to_string(dp) result(str)

Returns data point as 58 characters long string. The attributes x and y are separated by white space.

Arguments

Type IntentOptional Attributes Name
type(dp_type), intent(in) :: dp

Data point type.

Return Value character(len=58)