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

Multiple ERDDAP search #190

Closed
ocefpaf opened this issue Jun 28, 2021 · 2 comments
Closed

Multiple ERDDAP search #190

ocefpaf opened this issue Jun 28, 2021 · 2 comments

Comments

@ocefpaf
Copy link
Member

ocefpaf commented Jun 28, 2021

We could do an async search on a pre-determined list or maybe wrap an interface for [1].

@callumrollo is that something you would like to tackle?

[1] https://coastwatch.pfeg.noaa.gov/erddap/download/SearchMultipleERDDAPs.html

@ocefpaf
Copy link
Member Author

ocefpaf commented Jun 29, 2021

Here is a hacky example on how to do that: https://nbviewer.jupyter.org/gist/ocefpaf/74f91d9aa9c4fa726bfba171b3edcadf

@callumrollo
Copy link
Contributor

I tried integrating the extra checks into erddapy.url_handling._urlopen, but multiprocessing did not like the lru cache and kwargs, caused problems with the pickling. I think the least bad aproach would be a new function multi_urlopen for this specific purpose. I'll create a minimum working example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants