Closed ascbot closed 2 years ago
Current list of calibration programs and classes that use spicelib furnsh to load kernels: isis/src/galileo/apps/gllssical/main.cpp isis/src/lro/apps/lronaccal/main.cpp isis/src/lro/apps/lronaccal/main.cpp isis/src/lro/apps/lronaccal/main.cpp isis/src/lro/apps/lronaccal/main.cpp isis/src/lro/apps/lronaccal/main.cpp isis/src/lro/apps/lrowaccal/main.cpp isis/src/lro/apps/lrowaccal/main.cpp isis/src/lro/apps/lrowaccal/main.cpp isis/src/lro/apps/lrowaccal/main.cpp isis/src/lro/apps/lrowaccal/main.cpp isis/src/mer/apps/mical/main.cpp isis/src/mer/apps/mical/main.cpp isis/src/mer/apps/mical/main.cpp isis/src/mgs/apps/moccal/main.cpp isis/src/mgs/apps/moccal/main.cpp isis/src/mgs/apps/moccal/main.cpp isis/src/mro/apps/ctxcal/main.cpp isis/src/mro/apps/ctxcal/main.cpp isis/src/mro/apps/ctxcal/main.cpp isis/src/viking/apps/vikcal/CalParameters.cpp isis/src/viking/apps/vikcal/CalParameters.cpp
isis/src/hayabusa2/apps/hyb2onccal/Hyb2OncCalUtils.h isis/src/hayabusa/apps/amicacal/AmicaCalUtils.h isis/src/messenger/apps/mdiscal/MdisCalUtils.h
isis/src/mro/objs/HiCal/HiCalConf.cpp
Related: #1790
I don't see hical on the list, but I know it makes SPICE calls down in the guts. For example, in https://github.com/USGS-Astrogeology/ISIS3/blob/dev/isis/src/mro/objs/HiCal/HiCalConf.cpp, which is included from hical, but not in the hical/main.cpp file, there are furnsh_c calls.
Thanks Ross, got a little tight with my grep. List has been updates
I figured. However, if you missed that one, there might be others that are included in a similar fashion, so not as easily detectable. Good luck!
I added all the objs in isis, and there are others, but they all look like ingestion apps
@Kelvinrr Here's the list of all of the other places we could read off cubes instead of furnshing kernels directly.
Also to capture some discussion from this morning. If we add the ability to use SPICE data already on the images from spiceinit, do we maintain the current behavior of furnshing kernels if the images haven't been spiceinit'd or do we raise an exception and require spiceinit to be run?
The list only contains the calibration related code. There are several ingestion programs that also furnish kernels, but they are a harder problem.
I am a bot that cleans up old issues that do not have activity.
This issue has not received feedback in the last six months. I am going to add the inactive
label to
this issue. If this is still a pertinent issue, please add a comment or add an emoji to an existing comment.
I will post again in five months with another reminder and will close this issue on it's birthday unless it has some activity.
I am a bot that cleans up old issues that do not have activity.
This issue has not received feedback in the last six months. I am going to add the inactive
label to
this issue. If this is still a pertinent issue, please add a comment or add an emoji to an existing comment.
I will post again in five months with another reminder and will close this issue on it's birthday unless it has some activity.
This is active still, see the lrowaccal issue linked above.
@jessemapel The above LROWAC issue is closed and this was labelled inactive a while ago. Is this still a high priority for a fix?
It is still import to reduce some of the tech debt, and required to allow the calibration programs to work with direct access to the SPICE files.
This issue (except for the parameter name standardization) will need to be fixed as part of the IAA project this year to get the calibration programs working without local spice data. Any ideas on how to mark this as an issue that will need to be fixed as part of a funded, but not yet scheduled project?
This is still active.
@victoronline We have a specific funded deliverable to do this, so it won't be scheduled in the support meeting today but we will internally schedule it to be worked sometime this fiscal year.
Thank you for your contribution!
Unfortunately, this issue hasn't received much attention lately, so it is labeled as 'stale.'
If no additional action is taken, this issue will be automatically closed in 180 days.
We have more of these to go
@scsides Do we know exactly which apps need this still?
@scsides, @jessemapel: of Stuart's original list, mical
is the only calibration app that still has furnsh calls. It was unable to be updated during the ISIS Calibration Sprint because it isn't actually possible to spiceinit a MER cube. Without being able to spiceinit the cube, there isn't really any way I'm aware of to get around needing local spice kernels. At least all the kernels required by mical
are the in base
kernels area, and not a mission area.
To follow on to this, though it might belong in a new ticket, there are still furnsh calls in the following non-calibration apps. I've listed the apps here and some information about why there are furnsh calls and what is getting furnished:
mro/apps/hicrop/hicrop.cpp This one is a specialized app, it uses the gaps in the CK to identify where the hirise cube should be cropped. Even small gaps cause big problems for hirise. SCLK and LSK are used with the CK
newhorizons/apps/mvic2isis/mvic2isis.cpp (furnishes lsk and sclk)
rosetta/apps/rosvirtis2isis/main.cpp (furnishes lsk and sclk)
system/apps/kerneldbgen/SpiceDbGen.cpp (This will always require kernels given that it's using local kernels to generate the kernel database files the spiceinit uses.)
voyager/apps/voy2isis/main.cpp (furnishes lsk and sclk)
FYI, I do not think that hicrop
is part of the HiRISE Team processing pipelines, but I suppose that doesn't make a great deal of difference in this context.
Thank you for your contribution!
Unfortunately, this issue hasn't received much attention lately, so it is labeled as 'stale.'
If no additional action is taken, this issue will be automatically closed in 180 days.
Author Name: Stuart Sides (@scsides)
The calibration program within ISIS are inconsistent with regards to the parameter names used for UNIT, FLUX, OUTPUTDN, ... Some of the calibration program require spiceinit to have been run and others do not. The recommendation is to modify all of the calibration programs to use an agreed upon standard. Also, to have them not use NAIF furnish calls to get at SPICE information, but to require spiceinit to have been run prior to calibration. This would allow outside users to take advantage of the SPICE web service for calibration, presently they have to have the mission SPICE data available locally before they can run calibration programs.