pesekon2 / GRASS-GIS-SOS-tools

My Google Summer of Code 2017 project. This is just development part. Intended GRASS GIS modules and final code will be at https://svn.osgeo.org/grass/grass-addons/
GNU General Public License v2.0
3 stars 1 forks source link

Not returning map value with the initial timestamp, but returns with the last one #50

Open pesekon2 opened 3 years ago

pesekon2 commented 3 years ago
v.in.sos url=http://istsos.org/istsos/demo? off=temporary obs=urn:ogc:def:parameter:x-istsos:1.0:meteo:air:rainfall,urn:ogc:def:parameter:x-istsos:1.0:meteo:air:temperature event=2015-05-07T14:30:00+0200/2015-05-07T20:00:00+0200 proc=LOCARNO,BELLINZONA,P_LUGANO out=test --overwrite

When running the command above with specified event_time parameter, a map corresponding to the initial timestamp is not created. Most probably it is an issue connected to owslib and not the modules themselves, but it would be nice to dive deeper and find a way/open a PR there.

v.db.select test l=2
connection|timestamp|urn_ogc_def_parameter_x_istsos_1_0_meteo_air_rainfall|urn_ogc_def_parameter_x_istsos_1_0_meteo_air_temperature
2|t20150507T144000|0.1|15
2|t20150507T145000|0|14.6
2|t20150507T150000|0|14.3
...