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 NcmlReader.mergeNcml with groups #1404

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

lesserwhirls
Copy link
Collaborator

@lesserwhirls lesserwhirls commented Jan 3, 2025

Ensure reference group is passed into readGroup when using NcmlReader.mergeNcml, and make sure the reference group information is taken into account by the readGroup code.

Fixes #1403

PR Checklist

  • Link to any issues that the PR addresses
  • Add labels
  • Open as a draft PR
    until ready for review
  • Make sure GitHub tests pass
  • Mark PR as "Ready for Review"

Ensure reference group is passed into readGroup when using NcmlReader.mergeNcml,
 and make sure the reference group information is taken into account by the readGroup code.

Fixes Unidata#1403
@lesserwhirls lesserwhirls added bug Something isn't working NcML Issues related to NcML labels Jan 3, 2025
modifyNestedGroups.xml is intended to apply to an already existing NetcdfDataset object using NcmlReader.wrapNcml, and isn't appropriate for use by the TestNcmlReadersComnpare test, which expects the NcML to fully define a dataset or reference one directly in the document.
@lesserwhirls lesserwhirls marked this pull request as ready for review January 3, 2025 23:20
@lesserwhirls lesserwhirls merged commit 8325b21 into Unidata:maint-5.x Jan 3, 2025
8 checks passed
@lesserwhirls lesserwhirls deleted the GH-1403 branch January 3, 2025 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working NcML Issues related to NcML
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NcmlReader.mergeNcml not working with groups
1 participant