FITS2ISIS Not Working on Some FITS Data
- Dominant language
- C++
- Stars
- 245
- Forks
- 181
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 15
Description
Hi Folks,
Tiny preamble: I know Lucy is not an officially supported mission with ISIS. However, I was hoping that I could use PDS-released Lucy data with some basic ISIS commands.
Unfortunately, I cannot get the L'LORRI camera data to ingest in ISIS using PDS-released FITs files (sample is attached). The error given is: " **USER ERROR** [B?l?B?? B?x#B?pB?CZB??fB???B??lB??2B??B??B???B?GB?p?B?v?B?{B??C] is invalid. Keyword name cannot contain whitespace."
I have talked with the Lucy SOC lead who confirmed that there is no whitespace in the header names. So, I'm wondering if this is a case where there is a sub-routine called that fails, delivers the failure to the step on keyword whitespace, and so ISIS is saying that the keyword whitespace is failing even though there aren't any?
As I said, I know Lucy is not an officially supported mission, but I was hoping someone might be willing to take a look at this given that it might be a bug in the FITS2ISIS program rather than something particular to Lucy's LORRI.
[lor_0747791235_03966_00005_4x4_sci_03.fit.zip](https://github.com/user-attachments/files/20377413/lor_0747791235_03966_00005_4x4_sci_03.fit.zip)
Contributor guide
Research direction
Start by reproducing the reported error with the attached lor_0747791235_03966_00005_4x4_sci_03.fit sample and the FITS2ISIS program. Trace how the FITS header is read and determine why the reported invalid keyword appears despite the SOC's statement that header names contain no whitespace; done means the sample can be ingested or the failure is reported accurately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100