Hi Dave (and Kyle?),
Dan Ramage and I have been banging our heads into walls trying to get successful tests of an IoosSweSos collector, ideally against a real IOOS SOS Milestone 1 end point. Our test endpoint is the Axiom 52North SOS stable:
http://ioossos.axiomalaska.com/52n-sos-ioos-stable/sos/kvpYou can see some of our tests, dead-ends and errors on this IPytho notebook, from Wakari:
https://www.wakari.io/sharing/bundle/emayorga/pyoos_swesos_axiom52north_test_2The collector itself seems fine. I can probe all the information coming from GetCapabilities. But issuing a collect or raw method on a collector (after setting some filters) always leads to errors. You can some of these errors on the notebook at In [35], In [37], In [38].
To make sure the SOS end point was working fine, I ran a get_observation request on the same offering from the same endpoint, using only OWSLib SOS machinery. You can see results here:
https://www.wakari.io/sharing/bundle/emayorga/AOOS_SOS_owslib_AlaskaNDBCBuoy_StableDemoEverything looks fine with OWSLib SOS alone.
I tried looking at pyoos tests from the github repo, to see if they'd help. Specifically, this tests seems very useful:
tests / parsers / test_ioos_get_observation.py
But the tests as installed on wakari directly from the gihub repo are missing the "parsers" and "resources" directories and files. I built this wakari / anaconda environment around Dec 9 using pip install from the github repos for OWSLib, paegan & pyoos:
pip install git+
https://github.com/geopython/OWSLib.gitpip install git+
https://github.com/asascience-open/paegan.gitpip install git+
https://github.com/asascience-open/pyoos.gitTo upgrade everything in case the tests stuff was new, I ran just now the same pip installs but with the "-U" upgrade flag. Now paegan and pyoos failed. (I later confirmed that these test files have been around for a while).
So: can you help complete one successful, end-to-end test against the Axiom SOS stable end point?
Thanks,
-Emilio