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

Running ISIS with Dawn data #4638

Closed
oleg-alexandrov opened this issue Sep 15, 2021 · 4 comments · Fixed by #4670
Closed

Running ISIS with Dawn data #4638

oleg-alexandrov opened this issue Sep 15, 2021 · 4 comments · Fixed by #4670
Assignees
Milestone

Comments

@oleg-alexandrov
Copy link
Contributor

ISIS version(s) affected: 5.0.1

Description

I cannot spiceinit a Dawn mission cub file

How to reproduce

First I fetched the latest ISIS data as:

rsync -azv --delete --partial isisdist.astrogeology.usgs.gov::isisdata/data/dawn ~/projects/isis3data

then set up the ISISDATA value.

I verified that the desired kernels are where they should be (in this case, dawn/kernels/ik/dawn_fc_v10.ti).

Then I fetched the .IMG from PDS and tried to create the .cub file:

wget https://sbib.psi.edu/data/PDS-Vesta/Survey/img-1B/FC21B0004011_11224024300F1E.IMG.gz
gunzip FC21B0004011_11224024300F1E.IMG.gz
dawnfc2isis from=FC21B0004011_11224024300F1E.IMG to = FC21B0004011_11224024300F1E.cub
spiceinit from = FC21B0004011_11224024300F1E.cub

I get the errors:

Group = Kernels
NaifFrameCode = -203121
LeapSecond = $base/kernels/lsk/naif0012.tls
TargetAttitudeShape = $base/kernels/pck/pck00009.tpc
TargetPosition = $dawn/kernels/tspk/de421.bsp
InstrumentPointing = ($dawn/kernels/ck/dawn_sc_110808_110814.bc,
$dawn/kernels/fk/dawn_v15.tf,
$dawn/kernels/fk/dawn_fc_v3.bc)
Instrument = $dawn/kernels/ik/dawn_fc_v10.ti
SpacecraftClock = $dawn/kernels/sclk/DAWN_203_SCLKSCET.00091.tsc
InstrumentPosition = $dawn/kernels/spk/dawn_rec_110802-110831_110922-
_v1.bsp
InstrumentAddendum = $dawn/kernels/iak/dawnfcAddendum002.ti
ShapeModel = Null
InstrumentPositionQuality = Reconstructed
InstrumentPointingQuality = Reconstructed
CameraVersion = 2
Error = "An unknown NAIF error has been encountered. The
short explanation provided by NAIF is
[SPICE(SPKINSUFFDATA)]. The Naif error is
[Insufficient ephemeris data has been loaded to
compute the state of 2000004 (VESTA) relative to
0 (SOLAR SYSTEM BARYCENTER) at the ephemeris
epoch 2011 AUG 12 02:44:06.668.]"
End_Group
ERROR Unable to initialize camera model.

@AustinSanders AustinSanders added this to the 6.2.0 milestone Oct 20, 2021
@AustinSanders AustinSanders self-assigned this Nov 3, 2021
@AustinSanders
Copy link
Contributor

Hi @oleg-alexandrov -- I think I've found the problem, but it's not yet clear to me why we're running into this problem. The TSPK found by spiceinit (isis_data/dawn/kernels/tspk/de421.bsp) does not include Vesta. I was able to run spiceinit with:

spiceinit from= FC21B0004011_11224024300F1E.cub TSPK='(/usgs/cpkgs/isis3/isis_data/dawn/kernels/tspk/sb_vesta_110211.bsp, /usgs/cpkgs/isis3/isis_data/dawn/kernels/tspk/de421.bsp)'

I'll continue looking into the problem on the spiceinit side, but in the meantime, you should be able to process dawn data by providing it with the necessary TSPKs.

@jlrizos
Copy link

jlrizos commented Nov 11, 2021

I am experiencing a similar error:

Error = "No pointing available at requested time
[484127469.19564] for frame code [10101]"
End_Group
ERROR Unable to initialize camera model.

I understand I can solve it attaching the correct kernels, right? Do you know how can I identify the needed kernels by hand? I tried running the above command but does not work.

spiceinit from=FC21B0036778_15125195001F1F.cub TSPK='($dawn/kernels/tspk/sb_vesta_110211.bsp, $dawn/kernels/tspk/de421.bsp)'

Thanks

Repository owner moved this from Mergable to Done in ASC Software Support Nov 15, 2021
@jlrizos
Copy link

jlrizos commented Nov 17, 2021

Hi, I just want to let you know that the solution did not work for Dawn mission data. Providing it with the necessary TSPKs does not work. After wasting a lot of time, the solution was installing Ubuntu 14.04 in a Virtual Machine, the old ISIS version and now it works. I run spiceinit without any problem. I think you should work on these data because people are wasting a lot of time on this issue. Thanks.

@oleg-alexandrov
Copy link
Contributor Author

oleg-alexandrov commented Mar 5, 2022

This was closed without an explanation. The explanation is here: #4684.

I can confirm that:

dawnfc2isis from=FC21B0004011_11224024300F1E.IMG to = FC21B0004011_11224024300F1E.cub target=VESTA

spiceinit from = FC21B0004011_11224024300F1E.cub

works (so, add target=VESTA), and the resulting images are usable with stereo. Now, creating a CSM file from .cub does not work, but that's a different story.

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

Successfully merging a pull request may close this issue.

3 participants