-
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
Unable to generate footprint with unknown GEOS exception #4390
Comments
Huh, I never knew you could run footprintinit on mosaics! Footprintinit errors most likely occur (in my experience) for images crossing the 0/360 longitude boundary, and/or the poles. For lower resolution flyby data I might have to try footprintinit a couple of times to get it to run, but sometimes it never does. In the case of Europa Galileo data, I used the following footprintinit command: and if that didn't work, then I tried: I typically try to limit the number of vertices because they can get crazy otherwise and I'm dumping the footprint into a database which can get chunky and I don't need that level of detail. I found with flyby data that if I left the incidence and emission to default I would get more failures than if I used a trim. Plus it's easier to view the footprints in qmos when the junk is trimmed off. Something you might want to try for your failures. And yes, a better error may be helpful. |
Doing a little bit more work on this using the suggestions from @lwellerastro. I am seeing similar issues on some of these data still:
Is the error perhaps happening where the data cross the 0-360 boundary? The error message above is for data in a polar projection. I am seeing the same error for equirectangular projections on some data. I'll play around with the incidence / emission clipping to see if that helps. Whether that works or not, a better error message would be wonderful. |
Definitely seeing this under ISIS 5.0.1 for a camera-geometry distant flyby image of Charon which has both the north pole and the prime meridian in the scene. Default
but succeeds with:
Creation of the cube is as follows:
|
Hmm, but if I go back to my first run above, but omit So I just thought that |
Thank you for your contribution! Unfortunately, this issue hasn't received much attention lately, so it is labeled as 'stale.' If no additional action is taken, this issue will be automatically closed in 180 days. |
I am again working on processing data and seeing this issue crop up. Instead of opening a new, active issue, I am going to reactivate this one. @AustinSanders How do you want me to label this so that it percolates for a support sprint? |
@jlaura I normally use milestones to indicate that an issue should be included in the next support sprint. If it's not clear which milestone should be used next (7.1.0 or 7.0.1), then we can also just include it in the continuous support board. Those issues are always considered for next dedicated sprint. |
@jlaura Is there any test images still available? on astrovm4:
|
@Kelvinrr, the final Europa products @jlaura would have pulled from would have come from here: /archive/projects/europa/GLL_FinProducts/, however, these are organized by observation whereas Jay's versions likely all resided in a single directory for ease of access. The file in his original post was found this way:
The others he listed can be found in a similar manner. I confirmed (via 5.0.2) that I get the same error he does when sourcing the file in the /archive directory. |
@lwellerastro Thanks Lynn, I was able to replicate with that. |
So adding an additional catch to the try/catch block to capture a
Putting the generated points into a geojson viewer quickly shows the footprint isn't closed (and from the coordinates it's definitely a 360 boundary cross problem as it's trying to be closed with -0.317487 instead of 359.683). Re-projecting using |
Re-mapping in the way you did results in a new mosaic with 503 samples, versus the original of 494. Everything else numerically looks the same. What is going on there? I looked at both mosaics in qview and the re-mapped version has NULL pixels in sample 1 now, which has negative longitudes (negative in both versions of the mosaic). That is not something I did - all of the products were run through automos. I'm not sure why automos is adding negative dn's on the left side of the mosaic for images covering longitude 0-360 in a 360 domain. That sort of seems odd to me. This particular mosaic has only 2 input images and both have the same basic mapping information in the Mapping Group. The other mosaics Jay mentions contain images that cross the 0/360 longitude boundary. Aside: Oh, cool trick, try clicking on a pixel in that negative longitude zone and you will be transported to opposite side of the mosaic. I've actually seen this recently in a different project, but different data and I thought it had to do with an initialized mosaic having 360 londomain, but an image or two that were added had 180 and things getting goofy from that. Maybe not. |
Alright, after stepping through the code, I think I found the issue. Basically, there is a part of the code that tries to handle the poles being in the image and splits the polygon up. The image manages to hit this case despite the poles not technically being on the body as that corner of the image is null. Using mappt on Adding a check to make sure the line/sample that comes back from the projection object has a valid, non null, pixel with |
ISIS version(s) affected: 4.3.0
Description
When attempting to generate a footprint on a L2 product using
footprintinit from=/scratch/jlaura/europa_mosaics/GLL_Obs/equi/33ESGLOCOL01_GalileoSSI_Equi.cub
I am seeing the following error:It does not seem to matter what linc/sinc I select. Due to the geometry of many of the other images (and the small size), I have been using
sinc=1
andlinc=1
.How to reproduce
Data are internal at this point and are staged here:
footprintinit from=/scratch/jlaura/europa_mosaics/GLL_Obs/equi/33ESGLOCOL01_GalileoSSI_Equi.cub
Here are some other images with identical behavior:
Possible Solution
???
Additional context
I can see that the catch block that is throwing starts here on line 1333, but the fact that this is an unknown exception really is not helpful.
The text was updated successfully, but these errors were encountered: