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

IOOS RA query/utility package #257

Open
MathewBiddle opened this issue Jul 7, 2022 · 8 comments
Open

IOOS RA query/utility package #257

MathewBiddle opened this issue Jul 7, 2022 · 8 comments

Comments

@MathewBiddle
Copy link

Similar to gliderpy and various other wrapper packages, we should think about an IOOS wrapper package for high level queries against the various IOOS ERDDAP endpoints. Maybe provide some high level utilities too?

A subset of RA endpoints are documented here [1]. However, it would probably be better to use the awesome-erddap json instead [2]. Or, identify another curated list.

[1] https://github.com/ioos/ioos-asset-inventory/blob/main/utils/ra_erddaps.json

[2] https://github.com/IrishMarineInstitute/awesome-erddap/blob/master/erddaps.json

@abkfenris
Copy link
Contributor

I think we would probably want to wait until after the GSOC refactoring to work on this, but maybe it's a good code sprint project.

@ocefpaf
Copy link
Member

ocefpaf commented Jul 7, 2022

I think we would probably want to wait until after the GSOC refactoring to work on this, but maybe it's a good code sprint project.

Indeed. However, we can start discussion this high level API now. For example, would something like this make sense?

from ioos_erddap import ERDDAP

ds = ERDDAP(ra="secoora")
dslist all dataset_ids

ds["dataset_id"] ← return a xarray object for that dataset using the OPeNDAP response to take advantage of the lazy loading.

and

ds = ERDDAP(ra="secoora", **constraints)
dslist all dataset_ids constrained in space/time/query string

ds["dataset_id"] ← return an in memory/fsspec xarray object for the constrained dataset

@ocefpaf
Copy link
Member

ocefpaf commented Feb 28, 2024

@MathewBiddle do you believe it is worth adding this as a topic for the code sprint this year?

@MathewBiddle
Copy link
Author

Yes!

@Harish-2003
Copy link

may i know what the code sprint is all about? and is this issue still open...?

@ocefpaf
Copy link
Member

ocefpaf commented Apr 4, 2024

Hi @Harish-2003, you may find more information on the code sprint at https://ioos.github.io/ioos-code-sprint/

The short version is: The IOOS code sprint is where some of us sit together to try to solve a collection of selected issues and/or add features to our Software stack.

@mwengren
Copy link
Member

mwengren commented Apr 4, 2024

Could we use the existing code base of ioos/colocate as a starting point?

@ocefpaf
Copy link
Member

ocefpaf commented Apr 4, 2024

Could we use the existing code base of ioos/colocate as a starting point?

This would be lower level. The goal would be for colocate to be a front-end for it.

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

5 participants