sensor_type Derived Type

type, public :: sensor_type

Sensor description.


Components

Type Visibility Attributes Name Initial
character(len=SENSOR_ID_LEN), public :: id = ' '

Sensor id (-0-9A-Z_a-z).

character(len=NODE_ID_LEN), public :: node_id = ' '

Associated sensor node.

integer, public :: type = SENSOR_TYPE_NONE

Sensor type.

character(len=SENSOR_NAME_LEN), public :: name = ' '

Sensor name.

character(len=SENSOR_SN_LEN), public :: sn = ' '

Serial number (optional).

character(len=SENSOR_META_LEN), public :: meta = ' '

Meta information (optional).

real(kind=r8), public :: x = 0.0_r8

Sensor x or easting (optional).

real(kind=r8), public :: y = 0.0_r8

Sensor y or northing (optional).

real(kind=r8), public :: z = 0.0_r8

Sensor z or alt (optional).

real(kind=r8), public :: lon = 0.0_r8

Longitude in degrees (optional).

real(kind=r8), public :: lat = 0.0_r8

Latitude in degrees (optional).

real(kind=r8), public :: alt = 0.0_r8

Altitude or elevation in metres (optional).