Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better handle ISIS Camera Version information attachment #458

Open
ladoramkershner opened this issue May 17, 2022 · 3 comments
Open

Better handle ISIS Camera Version information attachment #458

ladoramkershner opened this issue May 17, 2022 · 3 comments

Comments

@ladoramkershner
Copy link
Contributor

Currently if there is no information in ["IsisCube"]["Kernels"]["CameraVersion"] in the incoming label, ALE fails here and ISIS handles the spiceinit. However, since Camera Version is ISIS camera version information, I don't think failing is the proper way to handle this because no raw mission EDR label will have this information.

Looking into how ISIS handles this, it seems spiceinit calls CameraFactory::CamerVersion here which looks for a Camera plugin file (either local or at location $ISISROOT/lib/Camera.plugin) to inform the ISIS camera version.

We could duplicate this logic, since ALE is typically used WITH ISIS we could assume this plugin file exists exactly the same as ISIS does? I am really curious to hear other's thought because I am not well versed in ALE big picture architecture.

@jessemapel
Copy link
Contributor

ALE should not use ISIS camera plugin files. It is already rather entangled with ISIS and it is better if it remains something that is primarily consumed by ISIS.

I'd much rather change the logic in ALE. We could potentially remove the ISIS camera version completely from ALE and just let ISIS handle all of it.

@acpaquette
Copy link
Collaborator

acpaquette commented May 18, 2022

I think @jessemapel is correct that we should just let ISIS handle it's camera versioning. Looking a little closer at ALE's integration into ISIS, we don't actually use the isis_camera_version defined on the ALE isd anywhere. So I am all for removing it from the formatter. It will break the old isis_formatter but I don't know if anyone uses it

@jessemapel
Copy link
Contributor

Old versions of ISIS use it, but they are all pinned to old versions of ALE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants