Skip to content

Conversation

@lavanya3k
Copy link
Collaborator

Description of the PR: This is PR request to update the schema for umm-c. The code changes will automatically read the schema format from the NASA cdn website. By directly referencing the .json schema file from the NASA schema collection, we eliminate the need to manual update the .json files in PyQuARC. The code fix also includes capabilities to quickly update the schema to the recent version, depending on the PyQuARC or ESDS needs during the release.

Code changes: The code changes are made in the schema_Validator.py, checker.py, and utils.py. Further, we updated the outdated files in the test_downloader.py and schema_validator.py. There was an outdated imports DraftValidator, and this has to be updated before every commit. The final code is test by running pytest, and the run was successful before committing the code changes.

To reproduce:
C1000000010-CDDIS (umm-c 1.18.4)
C1905434780-CDDIS (umm-c 1.18.3)
C2792603656-CDDIS (umm-c 1.18.3)

Expected output: You should not see a flag for MetadataSpecification/Version when you run PyQuARC.

@lavanya3k lavanya3k mentioned this pull request Jun 5, 2025
@lavanya3k
Copy link
Collaborator Author

We are not including code changes for dif10 due to the file conversion from *.xsd. Further, the schema version inside the PyQuARC folder refers to the latest version of dif10.

@lavanya3k lavanya3k merged commit 5a74c9f into dev Oct 14, 2025
1 check passed
This was referenced Oct 17, 2025
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

Successfully merging this pull request may close these issues.

3 participants