ioos / pyoos

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

Pyoos collector needs to be defined during initialization for SOS endpoint #34

Open birdage opened 10 years ago

birdage commented 10 years ago

At present users need to know what collector they want to use and define it, and apply the url to the collector. Ideally this might be automatic, so pyoos selects the required collector for a given SOS point

daf commented 10 years ago

This is just for the NDBC/CO-OPS ones right? We should probably just implement a __new__ in IoosSosSwe, and return the right object based on the URL. Would prefer not to hit the endpoint itself and try to figure it out based on the response.

birdage commented 10 years ago

@daf agree , we can just code the urls in there to extract the specific collector of interest.