Skip to content

Unknown file format fix#106

Merged
maddenp-cu merged 2 commits intoNOAA-GSL:mainfrom
maddenp-cu:unknown-file-format-fix
Feb 19, 2026
Merged

Unknown file format fix#106
maddenp-cu merged 2 commits intoNOAA-GSL:mainfrom
maddenp-cu:unknown-file-format-fix

Conversation

@maddenp-cu
Copy link
Collaborator

@maddenp-cu maddenp-cu commented Feb 19, 2026

Fix issue whereby the inability to classify the data format of a file, for example in the case of a corrupt file, would cause wxvx to exit with an error, prematurely terminating a potentially large verification workflow, most of which could still be completed. Instead, log the error and continue processing the rest of the task graph.

Comment on lines +95 to +96
logging.error("Could not determine format of %s", path)
return DataFormat.UNKNOWN
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the core change.

@maddenp-cu maddenp-cu marked this pull request as ready for review February 19, 2026 01:38
@maddenp-cu maddenp-cu merged commit 1f6444f into NOAA-GSL:main Feb 19, 2026
1 check passed
@maddenp-cu maddenp-cu deleted the unknown-file-format-fix branch February 19, 2026 05:49
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