-
Notifications
You must be signed in to change notification settings - Fork 169
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
Jigsaw "Unable to set coefficients vector" issue with 6.0.0 #4686
Comments
Looks like a bug in observation mode. When we append a new image to an ISIS observation we need to make sure that we properly initialize its SpicePosition and SpiceRotation members. |
thanks for taking a look at this bug. It looks like we will have to use 6.0.0 or greater for our reprocessing project due to recent CaSSIS label updates in tgocassisrdrgen showing up on 6.0.0. |
Can you let us know what type of images you had in your processing list? was this a full CaSSIS observation? |
We are processing full CaSSIS observations so the images that are going into jigsaw are the framelets that will, in later steps in the pipeline, be mosaicked together into color swaths. |
If someone else works this, CaSSIS data can be pulled from the ESA site: https://archives.esac.esa.int/psa/#!Table%20View/CaSSIS=instrument |
Copying over here because I realize I sent this in a private chat: Look at the code in BundleObservationVector and BundleObservation before #4537 Specifically, BundleObservationVector::addNew and where BundleObservation::initializeExteriorOrientation are being called |
This has also been encountered with JunoCam imagery, which is very similar to CaSSIS. https://astrodiscuss.usgs.gov/t/should-junocam2isis-fullccd-yes-produced-single-band-cubes/797 |
ISIS version(s) affected: 6.0.0
Description
Running jigsaw on CaSSIS images (could impact other spacecraft images but I haven't tested that) results in the following set of errors and bundle adjustment does not occur:
Running jigsaw using the same observation with 5.0.2, using the same code shown below, does not produce this error and bundle adjustment proceeds correctly. So this seems to be a bug that has cropped up in 6.0.0.
Both 5.0.2 and 6.0.0 are installed on my MacBook Pro running macOS 12. Each installation has their own "base" data areas but they should be identical since they were pull via RSync within a day of each other. They use the same tgo data area. My CaSSIS scripts successfully outputs products with ISIS 6.0.0, and they look reasonable, just with color fringing due to the lack of bundle adjustment.
The output of the preceding steps in the jigsaw step of my code look identical between 5.0.2 and 6.0.
How to reproduce
The jigsaw step in my CaSSIS images processing script looks like this:
Here is how spiceinit is used, in case that helps
spiceinit from=\$1.cub attach=true spkpredict=true ckpredict=true -batchlist=../${IMAGE_NAME}_image_name.lis
Possible Solution
Additional context
Sorry to bringing this up so late. The CaSSIS team is now working to move from ISIS 4.4 to a more recent version of ISIS due to some label improvements. I have used 5.0.2 on my local system for the last few months with great success and started testing 6.0.0 this week. This testing was performed using my bash shell CaSSIS processing script. Testing with the production pipeline is on going.
The text was updated successfully, but these errors were encountered: