Author Topic: Lunar Orbiter ISIS Cube to ENVI with coordinates  (Read 4234 times)

jhuang.cug

  • Horus (New Member)
  • *
  • Posts: 2
Lunar Orbiter ISIS Cube to ENVI with coordinates
« on: April 09, 2010, 09:24:36 AM »
Hi all.
I am a fresh man in Linux and ISIS. Recently, I have download Lunar Orbier's image from USGS website, and the files are with ISIS2 Cube.
 
I load them into ISIS3 using lo2isis, and then I reproject them as well as output them as .img files. However, the img files do not have georeferencing info (without coordinates).

I tried to use isis2raw to translate them to BSQ, and used isis3world.pl, but the output files are still without georeferencing info.

Is there such a function in ISIS3 or a programme?

Thank you in advance.

thare

  • GIS Support Team
  • Isis (Extreme Power Member)
  • *****
  • Posts: 1145
    • http://webgis.wr.usgs.gov
    • Email
Re: Lunar Orbiter ISIS Cube to ENVI with coordinates
« Reply #1 on: April 09, 2010, 10:07:20 AM »
jhuang.cug,
  I'm not 100% sure what you are trying to do. If the original LO images you downloaded are in ISIS2 format you will need to use "pds2isis" in ISIS3 to convert from an ISIS2 format to an ISIS3 format. This is our general purpose ingestion application for derived PDS and ISIS2 images.

Next I guess you are using map2map to project the image and then you want to export. The program isis2std will export image with a GIS worldfile. GIS worldfiles just locates the image (using upper left X,Y location and pixel cellsize - all in meters), but isis2std doesn't apply the projection to exported image header. To maintain the projection with the image you can try GDAL.

GDAL binaries can export most PDS, ISIS2, and ISIS3 with spatial information intact:
https://isis.astrogeology.usgs.gov/IsisSupport/index.php?topic=2172.0

Even though ENVI says it read geoTiffs is strangely skips the radius value in the header and sets it to Earth! Hopefully this will get fixed. See this thread for more ENVI help with this topic: https://isis.astrogeology.usgs.gov/IsisSupport/index.php/topic,2358

good luck,
Trent

Tip: Sometimes the projection inside geotiffs can be problematic for some applications so you might want to try PNG or Jpeg2000 export from GDAL.
« Last Edit: April 09, 2010, 12:51:03 PM by thare »

jhuang.cug

  • Horus (New Member)
  • *
  • Posts: 2
Re: Lunar Orbiter ISIS Cube to ENVI with coordinates
« Reply #2 on: April 11, 2010, 02:40:40 AM »
Dear Trent,
Thank you for your reply.

I use lo2isis (http://isis.astrogeology.usgs.gov/Application/presentation/Tabbed/lo2isis/lo2isis.html) to convert Lunar Orbiter ISIS2 cube to ISIS3 cube, then as you said, I use map2map to reproject the image using a map file as follows:

Group = Mapping
  ProjectionName  = Mercator
  CenterLongitude = 326.0
  CenterLatitude  = 44.0
End_Group
End

I downloaded gdalwin32-1.6, and translate the ISIS3 cube to TIF file. However, when I load it into ArcGIS 9.3 and defined its projection as the map file above indicated, the coordinates are not right. I mean, its latitude and longitude in ArcGIS are not the same with Google Moon at the same region. More worse, the distances measured by ArcGIS and Google Moon are not the same.

I hope to use the images to do crater counting.

Another question: I have another PC with Redhat 9 desktop, but when I enter "rsync -azv --delete isisdist.wr.usgs.gov::isis3_x86_linux/isis . ", it shows:

chroot failed
rsync: connection unexpectedly closed (697 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(150)

best regards,
Jun


 

« Last Edit: April 11, 2010, 09:19:25 PM by jhuang.cug »