Closed fran-vallejo closed 3 years ago
Probably this is related to ticket https://github.com/NASA-PDS/validate/issues/361 ? In any case, this is a critical issue that prevents us updating to this version of validate.
@qchaupds please add this to the top of your list once you have wrapped up your current task
Please see phe_misc_temperature_reference_20190524.zip as additional test data for this ticket as validate raises the same message when validating it. This product has fits as its data file format too, but the label declares a table delimited instead of an table binary.
This passes tests with validate 2.2.0-SNAPSHOT with the error resolved.
@jordanpadams @tloubrieu-jpl this bug ticket refers to "validate 2.1.0", are you good with John tested with validate 2.2.0-SNAPSHOT with the error resolved?
@viviant100 yes. The but happened with validate 2.1.0, but the fix happened int he latest SNAPSHOT
🐛 Describe the bug
validate raises and error message indicating the offset start for a binary table inside FITS file is incorrect. In principle the error looks like a false positive as the table starts in the byte position indicated by the label and the location in which the table should start according to validate is in the middle of the data.
📜 To Reproduce
Run the product attached with validate 2.1.0.
🕵️ Expected behavior
validate validates the attached test product and it does not raise the following error message:
ERROR [error.table.fields_mismatch] table 1: The table offset 5760 for object 'METADATA' is invalid. The previously defined object ends at byte 17280
📚 Version of Software Used
validate 2.1.0
🩺 Test Data / Additional context
testdata.zip
🖥 System Info
Java: Oracle JDK 1.8.0_291
🦄 Related requirements
⚙️ Engineering Details