ioos / pyoos

A Python library for collecting Met/Ocean observations
GNU Lesser General Public License v3.0
34 stars 33 forks source link

Improve robustness of variable/attribute detection #45

Closed benjwadams closed 9 years ago

benjwadams commented 9 years ago

Handles index errors on time range causing them to fail gracefully.

Makes identifier attribute on station ids case insensitive when gathering as part of a network.

Falls back to stock SensorML components when IOOS names not found. Refactors some XML finding/ XPath functionality

Warn, do not automatically fail if IOOS SWE 1.0 milestone is not implemented. This makes it possible, for example, to create an IOOSDescribeSensor request and not fail.

benjwadams commented 9 years ago

Apologies for the monolithic initial commit; I was trying to process NDBC DescribeSensor requests as part of https://github.com/ioos/catalog/issues/360 for catalog. Can rebase if requested, but all the tests which were previously passing still seem to be passing. Anyhow, this ought to make DescribeSensor requests a little more lenient for datasets not fully implementing the IOOS SOS milestone.