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

Fix dataset parsing for Hyrax catalogs #760

Merged
merged 1 commit into from
May 13, 2024
Merged

Conversation

dopplershift
Copy link
Member

Description Of Changes

Due to the way parsing is done, we look backwards (on when a dataset tag is encountered) to handle datasets with embedded access tags. Unfortunately, this left us not handling the last such dataset encountered if it contained such tags, like is done on NASA's Hyrax server.

Ping @lesserwhirls (or @haileyajohnson) in case you see a better way to handle this. Really, I'm not at all happy how we're parsing right now (stateful, flat iteration) and would really love to restructure it. Unfortunately, I don't understand all the nuanced cases, nor are those cycles available. It just seems like it would be a LOT better if we could make use of the hierarchy present in the XML.

Checklist

Due to the way parsing is done, we look backwards (on when a dataset tag
is encountered) to handle datasets with embedded access tags.
Unfortunately, this left us not handling the last such dataset
encountered if it contained such tags, like is done on NASA's Hyrax
server.
@dcamron dcamron merged commit 30de53f into Unidata:master May 13, 2024
13 of 21 checks passed
@dopplershift dopplershift deleted the fix-759 branch May 13, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TDSCatalog not returning all datasets
2 participants