volcanopele / juno

Python and Shell scripts for my Juno work
0 stars 0 forks source link

Reprojection treats Io as transparent #5

Closed volcanopele closed 2 years ago

volcanopele commented 2 years ago

Script: jiramReprojection.py

When reprojecting a JIRAM image, the script checks all pixels in the cube file. If the latitude and longitude is on the backside of Io, the script still returns a pixel value associated with the ray to that backside latitude and longitude, mirroring Io around the limb of the original data. While this isn't a major issue when reprojecting to the original coordinates, this can be an issue when reprojecting data for an entire dataset and the geometry moves.

volcanopele commented 2 years ago

Fixed at least for M-band with commit 6e2c7dfbe5f51272a0e530b2b29c59bcee29b567. Keeping this open as a reminder for when L-band support is added.

volcanopele commented 2 years ago

Fixed by adding an emission angle check before looking at pixel values. so this is done before either l or m band data is processed for each pixel.

Fixed with commit 45e128f1b432de92264ab0a20b9a39360c65af69