Sensor description.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=SENSOR_ID_LEN), | public | :: | id | = | ' ' | Sensor id ( | |
| 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 elevation (optional). | |
| real(kind=r8), | public | :: | longitude | = | 0.0_r8 | Longitude in degrees (optional). | |
| real(kind=r8), | public | :: | latitude | = | 0.0_r8 | Latitude in degrees (optional). | |
| real(kind=r8), | public | :: | elevation | = | 0.0_r8 | Elevation in metres (optional). |