logo
spacer image for formatting
FAQ Log in spacer image for formatting
Search Profile spacer image for formatting
Memberlist Usergroups spacer image for formatting
Log in to check your private messages spacer image for formatting
Register spacer image for formatting
top border image
spacer image for formatting
MOLA 128 MEGDR from pds (SOLVED)
post new topic: Post new topic   post reply: Reply to topic
Isis Support Center Forum Index » Isis 3 Support » MOLA 128 MEGDR from pds (SOLVED)
View previous topic :: View next topic  
Author Message
Adakite
Ra (Power Member)
Ra (Power Member)


Joined: 29 Mar 2005
Posts: 98
Location: IPGP, Paris

 mini post alt: Post Posted: Thu Jan 25, 2007 4:51 pm    Post subject: MOLA 128 MEGDR from pds (SOLVED)
Reply with quote

I tried to import Mola 128 MEGDR from pds into Isis, and I get an error : because pds file are binary and ascii. Is there any solution ?


thanks.
 Back to top »
View user's profile Send private message Visit poster's website
spacer image
janderson
Isis Support Team
Isis Support Team


Joined: 27 Feb 2004
Posts: 919
Location: USGS Astrogeology Research Program, Flagstaff, AZ

 mini post alt: Post Posted: Fri Jan 26, 2007 9:17 am    Post subject:
Reply with quote

Can you post where we can find the file you are using?

Thanks, Jeff
 Back to top »
View user's profile Send private message Visit poster's website
spacer image
Adakite
Ra (Power Member)
Ra (Power Member)


Joined: 29 Mar 2005
Posts: 98
Location: IPGP, Paris

 mini post alt: Post Posted: Sun Jan 28, 2007 10:38 am    Post subject:
Reply with quote

Sure,
fellowing, informations related to PDS Mola data:
http://pds-geosciences.wustl.edu/missions/mgs/mola.html

and then I get data from Mission Experiment Gridded Data Records (MEGDRs): topographic maps (128px/deg):
http://pds-geosciences.wustl.edu/geodata/mgs-m-mola-5-megdr-l3-v1/mgsl_300x/meg128/

I used the megt00n270hb.img file.

I make a


pds2isis from=megt00n270hb.img to=mola_128.cub

and I get:

**I/O ERROR** Unable to read PVL file [/Volumes/VMX/themis/megt00n270hb.img]
**PVL ERROR** Invalid PVL format
**PARSE ERROR** ASCII data expected but found unprintable (binary) data


(NB. I am using a MacIntel (Tiger) platform with Isis 3.1.5)
Thanks for help.
 Back to top »
View user's profile Send private message Visit poster's website
spacer image
thare
GIS Support Team
GIS Support Team


Joined: 22 Mar 2004
Posts: 657
Location: USGS Astrogeology Research Program, Flagstaff, AZ

 mini post alt: Post Posted: Mon Jan 29, 2007 8:15 am    Post subject:
Reply with quote

The MOLA DEMs are actually raw binary files (*.img) with a detached PDS header (*.lbl) which points to the *.img. Download the *.lbl files, place them in the same directory as the *.img files. Now try pointing to the label files for importing.

let us know if it works.

Trent
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website
spacer image
thare
GIS Support Team
GIS Support Team


Joined: 22 Mar 2004
Posts: 657
Location: USGS Astrogeology Research Program, Flagstaff, AZ

 mini post alt: Post Posted: Mon Jan 29, 2007 9:11 pm    Post subject:
Reply with quote

One more item to be aware of if you are hoping to use the PDS MOLA files with ISIS generated files.

The imported MOLA PDS label has a few slightly different values than those used in ISIS (including the 64ppd MOLA radius DEM in the $ISIS3DATA). The MOLA team has always defined Mars as a sphere with a radius value of 3396.0 km. ISIS uses the latest IAU 2000 elliptical defined radius of 3396.19km (& semi-minor of 3376.2km). This has the effect of slightly changing the pixel size and registration in meters. I am not sure all the repercussions of this using it in ISIS with other files generated by ISIS. The method we used for ISIS2 was to bring in the PDS MOLA files as raw and then manually add the mapping parameters into the ISIS cube. I don’t think there is a program yet in ISIS3 to define mapping labels on a raw image. Thus a possible method would be to edit the detached PDS label before importing. This would require a change in the radius, cellsize, and the sample/line projection offsets. The projection offset values might be a little tough to figure out because I am not 100% sure if they are based in the center of the top left pixel.

Otherwise, I can upload the ISIS2 MOLA defined 128ppd topographic files which should work in ISIS3 as well.


Trent


Last edited by thare on Tue Jan 30, 2007 1:25 pm; edited 1 time in total
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website
spacer image
Adakite
Ra (Power Member)
Ra (Power Member)


Joined: 29 Mar 2005
Posts: 98
Location: IPGP, Paris

 mini post alt: Post Posted: Tue Jan 30, 2007 2:10 am    Post subject:
Reply with quote

Ok, thank you very much. I am able to make a cub using PDS Mola files now. I will look at registration point and keep you informed.

thanks.
 Back to top »
View user's profile Send private message Visit poster's website
spacer image
Adakite
Ra (Power Member)
Ra (Power Member)


Joined: 29 Mar 2005
Posts: 98
Location: IPGP, Paris

 mini post alt: Post Posted: Thu Apr 12, 2007 4:58 am    Post subject:
Reply with quote

Hello,

You mentionned that you could import into Isis3 a 128 px/deg DEM. It would be usefull to get a better DEM resolution than 64 px/deg in Isis distribution. Keep me informed if you plan to do that.

Thank you again.
 Back to top »
View user's profile Send private message Visit poster's website
spacer image
thare
GIS Support Team
GIS Support Team


Joined: 22 Mar 2004
Posts: 657
Location: USGS Astrogeology Research Program, Flagstaff, AZ

 mini post alt: Post Posted: Thu Apr 12, 2007 12:05 pm    Post subject:
Reply with quote

Not sure if they plan to add in the 128 into the MOLA release. The DEM is used for orthorectification so for MOC NA and HiIRISE it probably would help.

I uploaded a couple ISIS DEMs to a temp ftp site. Now these are not radius DEMs, which is required for ortho'ing in ISIS. These are topographic DEMs (radius - gravity field). I can upload the radius 128cubs if you need also.

The server appears down right now so try back in a bit these are like 600MB each.
ftp://ftpext.usgs.gov/pub/wr/az/flagstaff/thare/mars/mola_128ppd_north_simp_88lat_ISIS.zip
ftp://ftpext.usgs.gov/pub/wr/az/flagstaff/thare/mars/mola_128ppd_south_simp_88lat_ISIS.zip

Trent
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website
spacer image
Adakite
Ra (Power Member)
Ra (Power Member)


Joined: 29 Mar 2005
Posts: 98
Location: IPGP, Paris

 mini post alt: Post Posted: Fri Apr 13, 2007 2:19 am    Post subject:
Reply with quote

thanks for those informations.

I didn't find the south Hem at ftp://ftpext.usgs.gov/pub/wr/az/flagstaff/thare/mars/ only the North hem.

Is there enterely hemisphere or just a piece ?

thanks again.
 Back to top »
View user's profile Send private message Visit poster's website
spacer image
thare
GIS Support Team
GIS Support Team


Joined: 22 Mar 2004
Posts: 657
Location: USGS Astrogeology Research Program, Flagstaff, AZ

 mini post alt: Post Posted: Sat Apr 14, 2007 6:32 pm    Post subject:
Reply with quote

Looks like the ftpext finally sync'd with the input server. Both files should be available now.

The north is 0 to 360 lon and 0 to 88 lat.
The south is 0 to 360 lon and 0 to -88 lat.

ISIS2 only supports files under 2.1GB so they are split into two files. These could be merged into one file in an ISIS3 cube format which supports larger file sizes.

Both are ~463 m/p or 128ppd. There is not really any data from 88 to 90 and -88 to -90. The 64ppd data at these 2deg areas at poles is very generalized.

Trent
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website
spacer image
Adakite
Ra (Power Member)
Ra (Power Member)


Joined: 29 Mar 2005
Posts: 98
Location: IPGP, Paris

 mini post alt: Post Posted: Mon Apr 16, 2007 9:32 am    Post subject:
Reply with quote

Thank you Thare,


Which projection is used for those MOLA files ?

and just a last thing,


I make a gdal_translate on a ISIS cube using -of ENVI option. I get a header readable by ENVI. But, the thing is localisation is not exactly the same that I observed in qview. The is a shift for all data (THEMIS, MOLA, MOC etc).
Is gdal_translate doing something wrong ?
How can I get the same georeferencing in ENVI than in ISIS.

NB. I'm using a Mars 2001 IAU ellipsoid in ENVI

Thanks again !
 Back to top »
View user's profile Send private message Visit poster's website
spacer image
thare
GIS Support Team
GIS Support Team


Joined: 22 Mar 2004
Posts: 657
Location: USGS Astrogeology Research Program, Flagstaff, AZ

 mini post alt: Post Posted: Mon Apr 16, 2007 10:21 am    Post subject:
Reply with quote

How much off? ENVI may use a elliptical equation so you may need to define Mars as a sphere to force the same projection equation ISIS is using. This fortunately also helps with the fact that the MOLA files are released in planetocentric latitudes, which ENVI may not understand.

So use 3396190 for the semi-major and minor axis.

The MOLA files are Simple Cylindrical (also known as Equirectangular or Equidistant Cylindrical) with a clon=180 and clat=0.

You should be able to "more" the *.cubs above to see the projection information defined in the label. Note that it states it is using a semi-major (A) and semi-minor (C) but the actual ISIS projection equation is only using the sphere.

Trent
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website
spacer image
Adakite
Ra (Power Member)
Ra (Power Member)


Joined: 29 Mar 2005
Posts: 98
Location: IPGP, Paris

 mini post alt: Post Posted: Wed Apr 18, 2007 7:33 am    Post subject:
Reply with quote

Thanks again. Works perfectly now !
 Back to top »
View user's profile Send private message Visit poster's website
spacer image
Display posts from previous:   
Isis Support Center Forum Index » Isis 3 Support » MOLA 128 MEGDR from pds (SOLVED)
post new topic: Post new topic   post reply: Reply to topic All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
spacer image for formatting
image for the bottom border

If you are having problems logging in, accessing, or using the Isis Support Center, please contact Isis Support Center Administration: isisweb[at]astrogeology.usgs.gov.

USGS Isis Home





Solaris 1.12 phpBB theme/template © 2003 - 2006 Jakob Persson(forumthemes/bbstyles)