Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent timeouts using ndbc and coops collectors. #47

Open
dharhas opened this issue Apr 29, 2015 · 3 comments
Open

Intermittent timeouts using ndbc and coops collectors. #47

dharhas opened this issue Apr 29, 2015 · 3 comments
Assignees

Comments

@dharhas
Copy link

dharhas commented Apr 29, 2015

I'm getting intermittent timeouts using ndbc and coops collectors. These are happening fairly often but not consistently enough to debug effectively. I see that owslib is being called under the hood and that has a timeout kwarg. Is there anyway to pass a timeout kwarg when instantiating the pyoos collectors? I didn't see one while poking around.

@dharhas
Copy link
Author

dharhas commented May 5, 2015

ok I think I worked this out, you can pass additional kwargs to owslib through the 'raw' call i.e.

ndbc = NdbcSos()
(set start/end time, vars etc...)
ndbc.raw(responseFormat="text/csv", timeout=120)

might be worth adding this to the readme somwhere...

@ocefpaf
Copy link
Member

ocefpaf commented Jan 1, 2016

Same for IoosSweSos.

@ocefpaf
Copy link
Member

ocefpaf commented Jan 4, 2016

The example notebooks do not address this (yet). Let's keep it open to remind us.

@ocefpaf ocefpaf assigned ocefpaf and unassigned lukecampbell Jan 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants