Skip to content

spiceinit on recent (2024+) NAC images #5944

@MAChertok

Description

@MAChertok

ISIS version(s) affected: 8.3.0

Description
I am trying to run spiceinit on a few NAC images that were collected in 2024 and have run into an issue that returns this error: ERROR Unable to initialize camera model. I have had this issue for a few months now.

How to reproduce
Here is an example output for spiceinit on a 2024 NAC:
spiceinit from=m1470132779l.cub SPKSMITHED=TRUE spkrecon=false shape=user model=/pathtomodel/WAC_GLD100_V1.0_GLOBAL_with_LOLA_30M_POLE.16bit.lp.demprep.cub
Group = Kernels
NaifFrameCode = -85600
LeapSecond = $base/kernels/lsk/naif0012.tls
TargetAttitudeShape = ($base/kernels/pck/pck00009.tpc,
$lro/kernels/pck/moon_080317.tf,
$lro/kernels/pck/moon_assoc_me.tf)
TargetPosition = ($lro/kernels/tspk/moon_pa_de421_1900-2050.bpc,
$lro/kernels/tspk/de421.bsp)
InstrumentPointing = ($lro/kernels/ck/lrolc_2024121_2024153_v01.bc,
$lro/kernels/ck/moc42r_2024121_2024152_v01.bc,
$lro/kernels/fk/lro_frames_2014049_v01.tf)
Instrument = $lro/kernels/ik/lro_lroc_v18.ti
SpacecraftClock = $lro/kernels/sclk/lro_clkcor_2025099_v00.tsc
InstrumentPosition = Null
InstrumentAddendum = $lro/kernels/iak/lro_instrumentAddendum_v05.ti
ShapeModel = /pathtomodel/WAC_GLD100_V1.0_GLOBAL_with_L-
OLA_30M_POLE.16bit.lp.demprep.cub
InstrumentPositionQuality = Unknown
InstrumentPointingQuality = Reconstructed
CameraVersion = 2
Error = "No instrument position available"
End_Group

Possible Solution
I have tried attaching web=true in case there are web-hosted kernels that are more recent than our locally-hosted kernels and get this error: ERROR An error occurred when talking to the server. The server encountered an unexpected error.

I have tried updating the $ISISDATA by running this: downloadIsisData lro $ISISDATA -v --include="{spk/**}" but it didn't remedy the error.

Additional context
Images from 2023 and earlier do not have a Null InstrumentPosition. Usually it contains something like $lro/kernels/spk/LRO_XXXXX.BSP
Here's a link to an example image: https://data.lroc.im-ldi.com/lroc/view_lroc/LRO-L-LROC-2-EDR-V1.0/M1470132779LE

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions