- add hourly cron job for importing piezeometer data for sensor bohrloch1-6

This commit is contained in:
Arno Kaimbacher 2022-03-16 16:37:32 +01:00
parent 14d3168d0e
commit b4d7ce40b3
6 changed files with 90 additions and 70 deletions

View file

@ -73,7 +73,7 @@ def main():
# headers = {'Content-Type': 'application/soap+xml'} # set what your server accepts
# xml = get_xml(offering, procedure, foi, sensor_type)
# xml = get_xml(offering, procedure, foi, sensor_type)
# request = requests.post(sos_url, data = xml, headers=headers)
# print(request.text)
@ -229,7 +229,8 @@ def insert_sensor(offering, procedure, foi, sensor_type):
"observationType": [
"http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_TextObservation"
],
"featureOfInterestType": "http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingPoint"
"featureOfInterestType":
"http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingPoint"
}
return body