Entities¶
offering.Offering¶
result is an OrderedDict (collections lib).
{
"id": 3214,
"name": "d0ee4e863aca11e79ff7e0db55c4a7a5",
"procedure": "BELLINZONA",
"procedure_description_format": [
"http://www.opengis.net/sensorML/1.0.1"
],
"observable_properties": [
{
"id": 12,
"name": "air temperature",
"definition": "urn:ogc:def:parameter:x-istsos:1.0:meteo:air:temperature",
"uom": "°C",
"type": "http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Measurement",
"column": "_32"
},
{
"id": 13,
"name": "air humidity",
"definition": "urn:ogc:def:parameter:x-istsos:1.0:meteo:air:humidity",
"uom": "%",
"type": "http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Measurement",
"column": "_32"
}
],
"observation_types": [
"http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Measurement"
],
"observed_area": {
"lower_corner": [0, 0],
"upper_corner": [0, 0]
},
"phenomenon_time": {
"begin": "",
"end": ""
},
"result_time": {
"begin": "",
"end": ""
},
"foi_type": "http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingPoint",
"sampled_foi": {
"name": "Torre nord",
"identifier": "belli_castello_2",
"description": "",
"shape": {
"coordinates": [
715086,
98172,
292.64
],
"type": "Point"
},
"id": 53,
"type": "http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingPoint"
}
}
observation.Observation¶
Example of an OM_Measurement:
{
"offering": "LUGANO",
"procedure": "LUGANO",
"type": "http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Measurement",
"featureOfInterest": "Lugano",
"phenomenonTime": {
"timeInstant": {
"instant": "2017-05-08T16:50:00.000+00:00"
}
},
"resultTime": {
"timeInstant": {
"instant": "2017-05-08T16:50:00.000+00:00"
}
},
"result": 0.164000,
"observedProperty": {
"def": "urn:ogc:def:parameter:x-istsos:1.0:meteo:air:temperature",
"name": "Air temperature",
"type": "http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Measurement",
"uom": "°C"
}
}
Example of an OM_ComplexObservation:
{
"offering": "breganzona",
"procedure": "breganzona",
"type": "http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_ComplexObservation",
"featureOfInterest": "breganzona",
"phenomenonTime": {
"timeInstant": {
"instant": "2017-05-08T16:50:00.000+00:00"
}
},
"resultTime": {
"timeInstant": {
"instant": "2017-05-08T17:10:00.000+00:00"
}
},
"result": ["0.164000", "78.1"],
"observedProperty": {
"def": "urn:ogc:def:parameter:x-istsos:1.0:meteo:air",
"type": "http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_ComplexObservation",
"fields": [
{
"def": "urn:ogc:def:parameter:x-istsos:1.0:meteo:air:temperature",
"name": "Air temperature",
"type": "http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Measurement",
"uom": "°C"
},
{
"def": "urn:ogc:def:parameter:x-istsos:1.0:meteo:air:humidity",
"name": "Air humidity",
"type": "http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Measurement",
"uom": "%"
}
]
}
}
Example of an OM_SWEArrayObservation:
{
"offering": "breganzona",
"procedure": "breganzona",
"type": "http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_SWEArrayObservation",
"featureOfInterest": "breganzona",
"phenomenonTime": {
"timePeriod": {
"begin": "2017-05-08T16:50:00.000+00:00",
"end": "2017-05-08T17:10:00.000+00:00"
}
},
"resultTime": {
"timeInstant": {
"instant": "2017-05-08T17:10:00.000+00:00"
}
},
"result": [
["2017-05-08T16:50:00.000+00:00", "0.164000", "210"],
["2017-05-08T17:00:00.000+00:00", "0.164000", "210"],
["2017-05-08T17:10:00.000+00:00", "0.164000", "210"]
],
"observedProperty": {
"def": "urn:ogc:def:parameter:x-istsos:1.0:meteo:air",
"type": "http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_SWEArrayObservation",
"fields": [
{
"def": "urn:ogc:def:parameter:x-istsos:1.0:time:iso8601",
"name": "Sampling time",
"type": "http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_TemporalObservation",
"uom": ""
},
{
"def": "urn:ogc:def:parameter:x-istsos:1.0:meteo:air:temperature",
"name": "Air temperature",
"type": "http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Measurement",
"uom": "°C"
},
{
"def": "urn:ogc:def:parameter:x-istsos:1.0:meteo:air:temperature:qualityIndex",
"name": "Air temperature quality index",
"type": "http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_CountObservation",
"uom": ""
}
]
}
}