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
New Leopard issue w/ MDIS2ISIS (SOLVED)
post new topic: Post new topic   post reply: Reply to topic
Isis Support Center Forum Index » Installation Support for Isis 3 » New Leopard issue w/ MDIS2ISIS (SOLVED)
View previous topic :: View next topic  
Author Message
jgillis
Osiris (Active Member)
Osiris (Active Member)


Joined: 19 Mar 2004
Posts: 21
Location: University of Hawaii

 mini post alt: Post Posted: Tue Jan 15, 2008 1:52 pm    Post subject: New Leopard issue w/ MDIS2ISIS (SOLVED)
Reply with quote

I'm running MDIS2ISIS

I pick my image name
From=/Users/jeffreygillis-davis/Downloads/EN0108693445M.IMG
to=/Users/jeffreygillis-davis/Downloads/EN0108693445M
Target =mercury

The error I get is
I/O ERROR unable to open
/usgs/cpkgs/isis3/data/base/translations/pdsimage.trn

I found the pdsimage.trn file in my directory
/Applications/isis3/isis/data/base/translations/pdsimage.trn

My question is how do I change mdis2isis (or ISIS) to look in the correct directory?

Thanks,
Jeff

_________________
Jeffrey Gillis gillis@higp.hawaii.edu
University of Hawai'i
Hawai'i Institute of Geophysics and Planetology
1680 East-West Road, POST 504
Honolulu, HI 96822
(808) 956-5738 office
 Back to top »
View user's profile Send private message Send e-mail 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: Tue Jan 15, 2008 2:07 pm    Post subject:
Reply with quote

Hi Jeff,

Something seems to be incorrect with the setup. Could you post the results of the command

printenv | grep ISIS

Thanks, Jeff
 Back to top »
View user's profile Send private message Visit poster's website
spacer image
jgillis
Osiris (Active Member)
Osiris (Active Member)


Joined: 19 Mar 2004
Posts: 21
Location: University of Hawaii

 mini post alt: Post Posted: Tue Jan 15, 2008 2:17 pm    Post subject: result
Reply with quote

Here is what I get

ISISROOT=/Applications/isis3/isis/
ISIS3DATA=/usgs/cpkgs/isis3/data
ISIS3TESTDATA=/usgs/cpkgs/isis3/testData

_________________
Jeffrey Gillis gillis@higp.hawaii.edu
University of Hawai'i
Hawai'i Institute of Geophysics and Planetology
1680 East-West Road, POST 504
Honolulu, HI 96822
(808) 956-5738 office
 Back to top »
View user's profile Send private message Send e-mail 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: Tue Jan 15, 2008 2:32 pm    Post subject:
Reply with quote

Hi Jeff,

If you look at $ISISROOT/scripts/isis3Startup.csh you will see the following code:
Code:

# Initialize the ISIS3DATA environment variable
if (-d $ISISROOT/../data) then
  setenv ISIS3DATA $ISISROOT/../data
else
  setenv ISIS3DATA /usgs/cpkgs/isis3/data
endif


ISISROOT is defined properly. However, ISIS3DATA did not get set properly. I'm wondering if this is a leopard issue or a shell issue. Unfortunately, it is not something I can test here since we lack a leopard platform.

A quick work around would be to add this line to your .cshrc file

setenv ISIS3DATA $ISISROOT/../data

Put this after the two lines you already added. If you find out what the problem is let us know. In the mean time, I'll see if we can get our hands on the MacOS 10.5

Thanks,
Jeff
 Back to top »
View user's profile Send private message Visit poster's website
spacer image
jgillis
Osiris (Active Member)
Osiris (Active Member)


Joined: 19 Mar 2004
Posts: 21
Location: University of Hawaii

 mini post alt: Post Posted: Tue Jan 15, 2008 2:56 pm    Post subject: Hmmm?
Reply with quote

Jeff

I did what you said, but it didn't seem to work.
I did source my .cshrc and even restarted the terminal after I inserted that line after the two previous but I get the same error as before.

I did printenv ISIS3DATA and got the correct answer
/Applications/isis3/isis//../data

Hmmm? Can I change the code?
Jeff

_________________
Jeffrey Gillis gillis@higp.hawaii.edu
University of Hawai'i
Hawai'i Institute of Geophysics and Planetology
1680 East-West Road, POST 504
Honolulu, HI 96822
(808) 956-5738 office
 Back to top »
View user's profile Send private message Send e-mail 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: Wed Jan 16, 2008 6:09 am    Post subject:
Reply with quote

Hi Jeff,

Yes feel free to modify the startup script until you can get things working. You can replace the /usgs/cpkgs/isis3/data path with the correct path for your setup.

Let me know if that works.
Jeff A
 Back to top »
View user's profile Send private message Visit poster's website
spacer image
jgillis
Osiris (Active Member)
Osiris (Active Member)


Joined: 19 Mar 2004
Posts: 21
Location: University of Hawaii

 mini post alt: Post Posted: Tue Jan 22, 2008 8:46 am    Post subject: Didn't have to modify startup script
Reply with quote

Before I modified the startup script I rebooted and that seemed to have kicked in the fix you suggested with putting setenv ISIS3DATA $ISISROOT/../data in the .cshrc.

So problem solved (I don't know why sourcing and restarting terminal didn't kick in the fix).

THanks for your help Jeff,
Jeff

_________________
Jeffrey Gillis gillis@higp.hawaii.edu
University of Hawai'i
Hawai'i Institute of Geophysics and Planetology
1680 East-West Road, POST 504
Honolulu, HI 96822
(808) 956-5738 office
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website
spacer image
Display posts from previous:   
Isis Support Center Forum Index » Installation Support for Isis 3 » New Leopard issue w/ MDIS2ISIS (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)