Check if the input is as expected
- Dominant language
- XC
- Stars
- 18
- Forks
- 38
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 3
Description
For some sensors ALE expects a .cub file on input, such as for LRO NAC, and sometimes an IMG file is needed, such as for Dawn. When the wrong file type is provided the software goes through the motions, and after trying all drivers just fails. I spent some hours today debugging a good chunk of the ALE codebase before figuring out that this is where the issue with my data was.
There should be some logic on input, which, after figuring out the sensor based on what the .IMG or .cub file has in the metadata, errors out if the wrong file type is provided.
Also, after this check the correct driver should be called rather than just trying all of them by brute force.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.