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

'ProcessingLevel/ProcessingLevelDescription' #310

Open
wants to merge 11 commits into
base: dev
Choose a base branch
from

Conversation

lavanya3k
Copy link
Collaborator

A new feature 'ProcessingLevel/ProcessingLevelDescription' rule (Check #549) has be added.

@lavanya3k
Copy link
Collaborator Author

lavanya3k commented Feb 10, 2025

Describe the bug: PyQuARC did not flag the collection ProcessingLevel/ProcessingLevelDescription with or without the ProcessingLevel/Id. If the processing level is available [0, 1A, 1B, 1C, 2 or 3], the processing level description is checked for the characters. If the characters are less than 50, then an info message is generated.
The above bug fix works when the correct processing level is present. But, to be consistent in the error message, ProcessingLevel/ProcessingLevelDescription needs to be updated when the characters are under 50, and blue info warning.

To reproduce: Example: C1602481912-CDDIS -ProcessingLevel/ProcessingLevelDescription < 50 and info message (blue).
C2043197582-CDDIS umm-c format - Info message for ProcessingLevel/ProcessingLevelDescription.
C1000000005-CDDIS umm-c format - Works correct.

Expected behavior: Any collection record, irrespective of the number of characters, should provide the details for the processing level description.

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.

2 participants