anise icon indicating copy to clipboard operation
anise copied to clipboard

ANISE reports "empty file record" when endian flag does not match the platform endian order

Open ChristopherRabotin opened this issue 1 year ago • 0 comments

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

  1. Using bingo, convert the Moon PA BPC file from little endian to big endian
  2. Try to load that file in ANISE GUI
  3. 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

moon_bpc_files.zip

ChristopherRabotin avatar Jul 18 '24 20:07 ChristopherRabotin