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

Improve TDSCatalog walking #263

Open
dopplershift opened this issue Jan 18, 2019 · 2 comments
Open

Improve TDSCatalog walking #263

dopplershift opened this issue Jan 18, 2019 · 2 comments

Comments

@dopplershift
Copy link
Member

Some ideas for improving walking through the catalog:

  • Implement walk() that would allow blowing through the nest hierarchy, e.g. cat.walk('Channel02/current')
  • Another option is to follow pathlib with something like: cat / 'Channel02' / 'current'
  • Implementing either/both, we need to use the hooks for IPython that allow for tab completion. I'm not sure if it will work for the above options, or if that's only for attribute/dictionary access; in the latter case we should instead go for an API that allows for it, since we really want to ease quick, notebook-based exploration
  • A lot of this will also be improved with better string representation of the objects, as mentioned in improve repr of siphon objects #260
@kthyng
Copy link

kthyng commented Dec 18, 2024

@dopplershift Hi! I'm trying out siphon for thredds handling and getting opendap links out. Trying with a few different thredds servers, I have needed to set up different code to dig down to what I need and I think it is dependent on whether the thredds catalog is nested or not, which brought me to this issue. Is there a way to handling nested catalogs with siphon? If not do you know of another package that would? I saw intake-thredds which would be great but it doesn't look updated to intake v2.

@dopplershift
Copy link
Member Author

Can you provide a link, or preferably sample code, that's not opening a catalog in a way that you expect? It would be easier to give you tips to help you on your way if we're looking at the same thing.

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

2 participants