question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Strange data artifacts on Juno data

See original GitHub issue

I have been using SpiceyPy (to great effect), to process trajectory information from the Juno Mission. I have been using the subpnt function to gather latitude, longitude and the skpos function to gather the position vectors for Juno during its orbits. For each orbit I use the meta kernel provided by the JADE team. My trajectory results appear to be generally accurate however several orbits have strange artifacts in them. These artifacts appear as large leaps in the the position vector and corresponding jumps in the latitude/longitude data.

Expected behavior The web based SPICE interface (with the same meta kernel) produces data which is similar to the SpiceyPy output but without the artifacts. (I have attached plots for comparison)

Unknown WGC_SubObserverPoint_20201015125306_0

Unknown_2 WGC_SubObserverPoint_20201015125306_1

To Reproduce This is the code I’ve been using to gather the position information:

    spice.furnsh('./Kernels/PJ{}_metakernel.txt'.format(pj))

    time_str = np.array([t.iso for t in data_Table['UTC']])
    spiceyTimes = spice.str2et(time_str)

    positions, lightTimes = spice.spkpos('JUNO', spiceyTimes, 'IAU_JUPITER', 'NONE', 'JUPITER_BARYCENTER')
    lon = []
    lat = []
    for spiceyTime in tqdm(spiceyTimes):
        spoint, trgepc, srfvec = spice.subpnt('NEAR POINT: ELLIPSOID', 'JUPITER', spiceyTime, 'IAU_JUPITER', 'NONE', 'JUNO')
        srad, slon, slat = spice.reclat(spoint)
        lon.append(slon * spice.dpr())
        lat.append(slat * spice.dpr())

data_Table[‘UTC’] is a list of times with a dt of 60 seconds spanning from 2017-297/16:12:31 to 2017-297/19:12:31

And the meta kernel I have been using is:

PJ09_metakernel.txt The specific kernels referenced can be downloaded through NAIF with the urls contained In the following file

Kernel_url.txt

Desktop (please complete the following information):

  • SpiceyPy Version 3.1.1
  • OS: Mac OsX 10.15.5
  • OS Architecture 64bit
  • Python Version 3.9.0
  • Python Architecture 64bit

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gabrielb09commented, Oct 15, 2020

The web based interface is WebGeocalc its provided and maintained by NAIF. While the plots above have different aspect ratios they cover the exact same span of time (2017-297/16:12:31 to 2017-297/19:12:31) and show the same data (longitude for the two top plots and latitude for the two bottom plots).

0reactions
gabrielb09commented, Oct 15, 2020

Thank you so much for your help, after further investigation you were right! My time array had some missing values, that will teach me to blindly trust my data!

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Story of Data: Unexpected Data Discoveries from Juno
Every piece of data captured by Juno's instruments is transmitted back to Earth and analyzed by the Spacecraft Operations team and the ...
Read more >
Jupiter's Complex Colors Revealed in Stunning Images From ...
Citizen scientist Björn Jónsson from Iceland created these two images using raw data from the JunoCam instrument aboard the spacecraft.
Read more >
Bar Code Events in the Juno‐UVS Data: Signature ∼10 MeV ...
We analyze artifacts looking like a bar code in ultraviolet images of Jupiter's aurora to investigate a very specific kind of radiation above ......
Read more >
New Juno Data Gives Unprecedented Glimpse Beneath ...
The next revelation from Juno is a series of new photos from its Jovian Infrared Auroral Mapper, an instrument that was able to...
Read more >
JunoCam : Processing - Mission Juno
This is where we will post raw images. We invite you to download them, do your own image processing, and we encourage you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found