anise
anise copied to clipboard
ANISE reports "empty file record" when endian flag does not match the platform endian order
Bug report
Describe the bug
When using NASA's bingo tool to convert the public Moon BPC file (https://naif.jpl.nasa.gov/pub/naif/generic_kernels/pck/moon_pa_de440_200625.bpc) from little to big endian (file is attached), ANISE should report WrongEndian but instead it proceeds with trying to load the file and reports EmptyRecord.
To Reproduce
- Using bingo, convert the Moon PA BPC file from little endian to big endian
- Try to load that file in ANISE GUI
- See that the error is "file record is empty" instead of "wrong endian"
Expected behavior
I expect the error to be wrong endian.
Platform
Little endian