Closed rsignell-usgs closed 10 years ago
Try this (It requires this OWSLib PR that still needs to be merged: https://github.com/geopython/OWSLib/pull/99):
from pyoos.parsers.ioos.get_observation import IoosGetObservation
ob = IoosGetObservation(swe_payload_as_etree_element_or_string)
stations = ob.observations[0].feature
# 'stations' should be a Paegan 'StationCollection'
You are a cart a bit before the horse, if you can wait a few weeks this will be flushed out. The IOOS catalog is just starting to utilize all of the libraries that have been developed over the past few months.
If you do get something going, PLEASE update the documentation and send a PR! We need example Pyoos usage in the README.
No joy
@rsignell-usgs do we want to leave this open now that we've progressed quite a ways? I'd prefer to have specific issues rather than a blanket one.
Dave Foster provided this Ipython Notebook example using pyoos to read and plot some data from ncSOS: https://www.wakari.io/sharing/bundle/daf/ncSOS_and_OWSlib_and_pyoos and it worked for me, so I'm closing this ticket.
I'm trying to use pyoos with ncsos, single sensor.
This is failing:
http://nbviewer.ipython.org/urls/raw.github.com/rsignell-usgs/ipython-notebooks/master/files/ncSOS_and_OWSlib_and_pyoos.ipynb
Am I doing something wrong or is it a bug?