You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was (re)validating the m20 release 9 bundle mars2020_cachecam_ops_raw for testing. Due to a bug in the velocity templates, all the products have this error, appropriately tagged as a warning:
{
"severity": "WARNING",
"type": "warning.label.schema",
"message": "The schema version(s) [/PDS4//MSN/V1/PDS4_MSN_1G00_1300] does/do not match the schematron version(s) [/PDS4/MSN/V1/PDS4_MSN_1G00_1300]."
},
(notes the double slash between PDS4 and MSN).
However... I am getting hundreds of these identical messages per file!!
The summary at the end shows the appropriate number of warnings:
Actually the number of warning may or may not be appropriate, there are half as many (804) listed as there are products (1611). I don't know if that means some did not have the warnings, it's too hard to search this log!
Checked for duplicates
No - I haven't checked
🐛 Describe the bug
I was (re)validating the m20 release 9 bundle mars2020_cachecam_ops_raw for testing. Due to a bug in the velocity templates, all the products have this error, appropriately tagged as a warning:
(notes the double slash between PDS4 and MSN).
However... I am getting hundreds of these identical messages per file!!
The summary at the end shows the appropriate number of warnings:
However, wc shows 2 million warnings:
Actually the number of warning may or may not be appropriate, there are half as many (804) listed as there are products (1611). I don't know if that means some did not have the warnings, it's too hard to search this log!
Command line:
$VALIDATE --target$WORKDIR_BUNDLE/$ {bundle} --report-file $val_log -R pds4.bundle --skip-content-validation --skip-product-validation -s json
Oddly, if I validate just one file on its own, I get just one warning.
Ooohhhhhhh.... here's a clue. I gave it a directory of 57 files and it did this:
so the number of warnings it prints is tied to the number of files it has processed.
🕵️ Expected behavior
I expected one warning per file :-)
📜 To Reproduce
Discussed above. You can probably download the r9 labels, or contact me privately and I'll set you up with some.
🖥 Environment Info
linux
📚 Version of Software Used
validate 3.5.1
🩺 Test Data / Additional context
No response
🦄 Related requirements
🦄 #xyz
⚙️ Engineering Details
No response
🎉 Integration & Test
No response
The text was updated successfully, but these errors were encountered: