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

ISIS Calibration Programs could be updated to run without local spice #4303

Closed
krlberry opened this issue Feb 22, 2021 · 0 comments
Closed

Comments

@krlberry
Copy link
Contributor

krlberry commented Feb 22, 2021

Description
Update ISIS calibration programs to work without local spice, so it is possible to run calibration programs without downloading mission-specific kernels. In this scenario, it would be possible to run spiceinit using the Spice Server and then be able to run calibration programs, all without downloading kernels. At this time, this is not possible for many different calibration programs.

Many calibration programs directly furnish kernels at this time, by calling furnsh_c in the code, and this obviously does not work without local kernels.

@Kelvinrr already converted a calibration program, lronaccal, in this way:
8cda49e

  • Updated lronaccal to instantiate a camera to get the moon-sun distance from the camera, rather than furnishing kernels and using a naif routine directly do to this calculation.

  • Fall back to furnishing kernels if this fails.

This feature has been requested in the following tickets:
#1790
#1473
and by the MAPSIT SAT

This ticket covers updating:

  • ctxcal
  • gllssical
  • vikcal
  • lrowaccal
  • amicacal
  • mdiscal
  • hical
  • hicalbeta
  • moccal

And also the following apps were updated to remove furnsh calls:

  • hijitreg
  • shadow

Example

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

1 participant