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

spiceinit issue with Rosetta VIRTIS data #5616

Open
abhinavjindal93 opened this issue Sep 20, 2024 · 0 comments
Open

spiceinit issue with Rosetta VIRTIS data #5616

abhinavjindal93 opened this issue Sep 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@abhinavjindal93
Copy link

ISIS version(s) affected: 8.0.0

Description
I am running spiceinit on the VIRTIS QUB I1_00369345274 but am getting the error: "ERROR No Camera Kernels found for the image [I1_00369345274.cub]."

How to reproduce
The QUB file can be obtained from the ESA archive. After that:
Step 1: rosvirtis2isis from=I1_00369345274.QUB to=I1_00369345274
Step 2: spiceinit from=I1_00369345274.cub spk=/home/sam/anaconda3/envs/asp/data/rosetta/kernels/mk/ROS_OPS_V350_20220906_001.TM shape=user model=/home/sam/anaconda3/envs/asp/data/rosetta/kernels/dsk/ROS_CG_M004_OSPGDLR_N_V1.BDS

Possible Solution
There could potentially be an issue with the ck kernel ROS_VIRTIS_M_0403_1509_V1.BC not covering this image, however, based on the image acquisition time 2014-09-14T19:56:04.584, this should not be the case.

Additional context
The metakernel I am using is the latest available one and the path values have been appropriately modified for the local computer.
Step 2 yields the no camera kernels found error. So alternatively, I first tried Step 3 where I explicitly specify the correct camera kernel.

Step 3: spiceinit from=I1_00369345274.cub ck=/home/sam/anaconda3/envs/asp/data/rosetta/kernels/ck/ROS_VIRTIS_M_0403_1509_V1.BC spk=/home/sam/anaconda3/envs/asp/data/rosetta/kernels/mk/ROS_OPS_V350_20220906_001.TM shape=user model=/home/sam/anaconda3/envs/asp/data/rosetta/kernels/dsk/ROS_CG_M004_OSPGDLR_N_V1.BDS

However, this yields the following error: ERROR Unable to initialize camera model.
with this output:
Group = Kernels
NaifFrameCode = -226213
LeapSecond = $base/kernels/lsk/naif0012.tls
TargetAttitudeShape = ($rosetta/kernels/pck/PCK00010.TPC,
$rosetta/kernels/pck/ROS_CG_RAD_V10.TPC,
$rosetta/kernels/fk/ROS_V38.TF,
$rosetta/kernels/pck/CATT_DV_145_02_______00216-
.BC)
TargetPosition = ($rosetta/kernels/tspk/DE405.BSP,
$rosetta/kernels/tspk/CORB_DV_257_03___T19_0034-
5.BSP)
InstrumentPointing = (/home/sam/anaconda3/envs/asp/data/rosetta/kern-
els/ck/ROS_VIRTIS_M_0403_1509_V1.BC,
$rosetta/kernels/fk/ROS_V38.TF)
Instrument = $rosetta/kernels/ik/ROS_VIRTIS_V14.TI
SpacecraftClock = $rosetta/kernels/sclk/ROS_160929_STEP.TSC
InstrumentPosition = /home/sam/anaconda3/envs/asp/data/rosetta/kerne-
ls/mk/ROS_OPS_V350_20220906_001.TM
InstrumentAddendum = $rosetta/kernels/iak/virtisAddendum_v002.ti
ShapeModel = /home/sam/anaconda3/envs/asp/data/rosetta/kerne-
ls/dsk/ROS_CG_M004_OSPGDLR_N_V1.BDS
InstrumentPositionQuality = Unknown
InstrumentPointingQuality = Unknown
CameraVersion = 1
Error = "No pointing available at requested time
[463996631.76615] for frame code [-226213]"
End_Group
ERROR Unable to initialize camera model.

Next, I tried STEP 4, where I check the CKPREDICTED box.

Step 4: spiceinit from=I1_00369345274.cub ckpredicted=yes spk=/home/sam/anaconda3/envs/asp/data/rosetta/kernels/mk/ROS_OPS_V350_20220906_001.TM shape=user model=/home/sam/anaconda3/envs/asp/data/rosetta/kernels/dsk/ROS_CG_M004_OSPGDLR_N_V1.BDS

This one works with the following output:
Group = Kernels
NaifFrameCode = -226213
LeapSecond = $base/kernels/lsk/naif0012.tls
TargetAttitudeShape = ($rosetta/kernels/pck/PCK00010.TPC,
$rosetta/kernels/pck/ROS_CG_RAD_V10.TPC,
$rosetta/kernels/fk/ROS_V38.TF,
$rosetta/kernels/pck/CATT_DV_145_02_______00216-
.BC)
TargetPosition = ($rosetta/kernels/tspk/DE405.BSP,
$rosetta/kernels/tspk/CORB_DV_257_03___T19_0034-
5.BSP)
InstrumentPointing = ($rosetta/kernels/ck/ROS_VIRTIS_ZERO_V1.BC,
$rosetta/kernels/ck/RATT_DV_145_01_01_T6_00216.-
BC, $rosetta/kernels/fk/ROS_V38.TF)
Instrument = $rosetta/kernels/ik/ROS_VIRTIS_V14.TI
SpacecraftClock = $rosetta/kernels/sclk/ROS_160929_STEP.TSC
InstrumentPosition = /home/sam/anaconda3/envs/asp/data/rosetta/kerne-
ls/mk/ROS_OPS_V350_20220906_001.TM
InstrumentAddendum = $rosetta/kernels/iak/virtisAddendum_v002.ti
ShapeModel = /home/sam/anaconda3/envs/asp/data/rosetta/kerne-
ls/dsk/ROS_CG_M004_OSPGDLR_N_V1.BDS
InstrumentPositionQuality = Unknown
InstrumentPointingQuality = Predicted
CameraVersion = 1
Source = isis
End_Group

The issue is that it uses the ROS_VIRTIS_ZERO_V1.BC ck kernel which is not accurate. In theory, it should be using the ROS_VIRTIS_M_0403_1509_V1.BC (the image acquisition time is 2014-09-14T19:56:04.584) which is also specified in the metakernel.

@abhinavjindal93 abhinavjindal93 added the bug Something isn't working label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant