-
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
Missing Camera model (?) for MEX SRC data #4803
Comments
Made a comparison of the kernels loaded onto one of the SRC test images and an HRSC image and saw that the HRSC was picking up a more recent IAK than the SRC. Seems odd to me that the SRC wouldn't load the most recent version. Maybe this is the problem? I copied the test SRC image to a new file and spiced using the more recent IAK and got an error.
The above image is in the same directory as mentioned in the original post above.
Here's the Kernels group from one of my processed HRSC images that is close in time to the SRC above (/scratch/lweller/Phobos/Lev0/H0756_0000_ND2.lev0.cub):
All of the HRSC images pick up Addendum004.ti. According to /usgs/cpkgs/isis3/isis_data/mex/kernels/ik/MEX_HRSC_V03.TI, |
These aren't two versions of the same file. One is for HRSC (stereo linescaner) the other is for HRSC SRC (Super Res Camera framer). |
oh, now I see the difference - just skipped right over that extra src in the SRC addendum file. Darn. |
Update: The documentation on HRSC SPICE site is saying that the default SPK for Phobos and Deimos may not be accurate (ISIS' Target SPK). I've run spiceinit using all of the alternatives and none of them allows us to get a target intersection. If I run spiceinit with only NADIR pointing we get body intersections. I'm currently retesting the alternative SPKs with the whole image to see if we get any intersections. The quick test showed no intersection at the center of the test image. I'm also testing the other available CKs to see if one of them will allow the model to intersect the body. |
Huh. Why would the HRSC data of Phobos be ok though - same spacecraft. And picking up the same spacecraft kernel - at least for the two images close in time I compared a few comments back. |
Not sure, could be because of the way the HRSC is rotated to acquire the linescan image vs SRC being a snap shot framer. I'm also looking at the rotations for each. Same spacecraft, but different mounting. |
The HSRC and SRC appear to be a fixed offset from each other so I'm also confused. From the FK at NAIF
|
Hi, I went ahead and processed all 4826 SRC images of Phobos that I recently downloaded from the archive. I applied general processing as described below expecting lots of failures, but to my surprise, there were some successes - 608. Success means camstats, footprintinit and caminfo did not fail. It does not mean the spice is on the target or easily found in the frame. Attached is one of the images (left) that made it all of the way through caminfo and the phocube Phase Angle band of the same image (right) showing where the spice ended up. Maybe this is useful? And yes, that is Saturn to the lower left of Phobos in the first image. I can point you to more successful images if you like. The images in the figure can be found here: /work/users/lweller/Isis3Tests/MEX_SRC/Success/ The following programs were run on it:
|
Hi - we heard from Konrad Willner who has worked extensively with these data and he had these comments:
Compared to what my images are picking up via spiceinit, many of the above MEX specific kernels appear to be many versions of ahead. I hope this information proves to be useful. |
After working with the HRSC kernels mentioned in comment and comment above there are differences between them and the current kernels in the ISIS data area. On a limited set of images, the new kernels improve the target intersection issue by a few pixels. For some images that had no target intersection even though Phobos was in the image, there was still no target intersection. The 90 degree rotation observed in the test images that did have a target intersection has been corrected with a change to the ISIS addendum kernel for SRC. The fix involved associating the +X with -sample and +Y with +lines. Since the SRC array is square, this fix is not expected to change the number pixels that intersected the body, only the position of those pixels. The correction above allows a reasonable target intersection similar to other images supplied by Konrad. All of the changes until now have been with data files. No software has been changed. There are DSK shape models available for both Phobos and Deimos For testing purposes only, the spiceinit command line should look like the following with cwd set above the temp kernel area:
|
Synopsis of activities to solve the issue of HRSC SCR target intersection not aligning with what the image data (i.e., SRC image -vs- phocube). NOTE: These are a combination of the efforts of Lynn, Brent, Randy, Conrad, Stuart: FTP site for documentation and SPICE data: https://spiftp.esac.esa.int/data/SPICE/MARS-EXPRESS/kernels/spk/aareadme.txt Main issues is: The camera model has poor to no target intersection in images where Phobos is visible in many SRC images.
At the time of this comment: The PR and the data changes are not in the system. Once testing has been completed this will be done. |
Current process says this is not a breaking change. |
@ssides, the work described above included use of kernels that we do not have in the system. Although the camera model needed some changes, some of the spice issues were addressed by using more up to date kernels. Will they be part of the check-in process? |
I will move the newer SPICE over to the main data area when the issue is merged into the dev branch. This keeps the continuous integration builds from failing. Basically, both have to happen at the same time. |
What is the status on this PR and related needed efforts (e.g., updating kernels) described above? I see it was merged on April 15, yet there are follow-on comments communicating that reviews for the PR are in the works. I don't understand the connection between these comments. Thanks! |
This comment was marked as off-topic.
This comment was marked as off-topic.
The PR was merged, and the data has been put into the main local data area. |
There were questions about which of the MEX specific target spk files to use (MAR033_2000-2025.bsp MAR033_HRSC_V03.bsp MAR080.bsp MAR097.bsp MARSAT_ESA_060101_V01.bsp) :
Resolution:
We will change ISIS to use MAR097.bsp for Phobos and Deimos. These changes have been made in the ISISDATA area |
ISIS version(s) affected:5.0.2
Description
Mars Express SRC IMG files run through hrsc2isis and spiceinit are successful, however there is no camera/geometry information for the resulting ISIS cubes.
There is no lat/lon information displayed via qview.
camstats reports NULL for everything.
Footprintinit errors with "No lat/lon data found for image in ImagePolygon.cpp at 547".
There's simply no geometric information available.
According to hrsc2isis documentation and git post 3665 we have the capability to work this detector, but maybe I'm reading it wrong?
How to reproduce
Input IMG and output cub files are available under /work/users/lweller/Isis3Tests/MEX_SRC/. One of the files was the topic for post 3665.
These data were originally processed via the HPC and IMG's were pulled from various data directories under /work/projects/PhobosMapping/data/MarsExpress/SRC/. We don't have the data available via our local PDS so a copy of what was available from ESA was mirrored locally a couple of years ago. The data had been ingested and spiced at the time and I noticed while looking at those cubes that there was no geometry information on those, so I decided to reprocess some of them from ingestion to ensure I was getting the latest updates to software.
Possible Solution
easy I hope!
Additional context
This is for the internal Phobos project. I will need access to some updated version of isis with fixes as soon possible, otherwise I am unable to work on that project.
The text was updated successfully, but these errors were encountered: