MillionConcepts / pdr

[P]lanetary [D]ata [R]eader - A single function to read all Planetary Data System (PDS) data into Python
Other
60 stars 6 forks source link

New Horizons swap null spice file workaround #52

Closed Sierra-MC closed 5 months ago

Sierra-MC commented 9 months ago

The nh_swap jupiter_cal and cruise_cal EXTENSION_SPORBATTCALC _HEADER and _TABLE keys won't load due to a .bsp file key in the fits file with null bytes. We currently fix the header for parsing but not actually for the autoreader astropy is using for the table. It requires that we reconstruct the header.

Sierra-MC commented 5 months ago

Fixed with 93ba8c0.