You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When running on a mosaic using mode=both (trim and crop), I get the following error messages:
Group = Error
Program = maptrim
Code = 1
Message = "Unable to initialize cube projection from file
[TEMPORARYcroppedJ76294.cub]"
File = ProjectionFactory.cpp
Line = 1119
End_Group
Group = Error
Program = maptrim
Class = "I/O ERROR"
Code = 4
Message = "Unable to initialize Projection information from group
[Mapping]"
File = ProjectionFactory.cpp
Line = 93
End_Group
Group = Error
Program = maptrim
Code = 1
Message = "Projection failed. Invalid label group [Mapping]"
File = TProjection.cpp
Line = 242
End_Group
Group = Error
Program = maptrim
Code = 1
Message = "Projection failed. [MinimumLongitude,MaximumLongitude] of
[359.99806836665,0.0019316333539336] are not properly ordered"
File = TProjection.cpp
Line = 205
End_Group
Note that the temporary file produced by this run (TEMPORARYcroppedJ76294.cub) does indeed have the min/max longitude's swapped. The input mosaic mapping information is fine. I am maintaining the longitudes for my input mosaic and trimming away latitudes =/-57 poleward.
How to reproduce
See data under /work/users/lweller/Isis3Tests/MapTrim/
The input mosaic covers latitudes -90 to 90 and longitudes 0 to 360.
The temporary file is the problem.
I can run the program setting mode=trim successfully, but then there are NULLs from +/-57 to the poles which is not desired. I worked around this by running map2map, but the trimming and cropping via maptrim is the better way to do what I want.
Additional context
There is the possibility that this related to post #2430. Not necessarily the same problem, but the developer notes (quite a bit too!) mention TProjection.cpp and ProjectionFactory.cpp repeatedly, so it might be worth at least being aware of some things noted at the time. I would just search on that in the post to see if anything interesting pops up. My original problem is too different from this issue to bother reading other aspects of the post.
Perhaps useful to know and part of the problem - my mosaic has LongitudeDomain=360 and LongitudeDirection=PositiveWest. Just wondering if the latter is not being taken into consideration when the temporary file is being created.
The text was updated successfully, but these errors were encountered:
ISIS version(s) affected: 5.0.2
Description
When running on a mosaic using mode=both (trim and crop), I get the following error messages:
Note that the temporary file produced by this run (TEMPORARYcroppedJ76294.cub) does indeed have the min/max longitude's swapped. The input mosaic mapping information is fine. I am maintaining the longitudes for my input mosaic and trimming away latitudes =/-57 poleward.
How to reproduce
See data under /work/users/lweller/Isis3Tests/MapTrim/
maptrim from=Europa_GalileoSSI_Voyager_2020_global_mosaic_500m_PosWest_Equi_unstretched.cub to=Both.cub mode=both minlat=-57 maxlat=57 minlon=0 maxlon=360
The input mosaic covers latitudes -90 to 90 and longitudes 0 to 360.
The temporary file is the problem.
I can run the program setting mode=trim successfully, but then there are NULLs from +/-57 to the poles which is not desired. I worked around this by running map2map, but the trimming and cropping via maptrim is the better way to do what I want.
Additional context
There is the possibility that this related to post #2430. Not necessarily the same problem, but the developer notes (quite a bit too!) mention TProjection.cpp and ProjectionFactory.cpp repeatedly, so it might be worth at least being aware of some things noted at the time. I would just search on that in the post to see if anything interesting pops up. My original problem is too different from this issue to bother reading other aspects of the post.
Perhaps useful to know and part of the problem - my mosaic has LongitudeDomain=360 and LongitudeDirection=PositiveWest. Just wondering if the latter is not being taken into consideration when the temporary file is being created.
The text was updated successfully, but these errors were encountered: