comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL v8 not recognizing bash environment variable
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL v8 not recognizing bash environment variable [message #75842] Wed, 27 April 2011 10:57 Go to next message
BLesht is currently offline  BLesht
Messages: 89
Registered: March 2007
Member
Not sure I'm expressing this correctly in the subject line - this is
my problem: I have a code that ran fine under IDL7 that included the
line "sta_list = READ_ASCII("$SEADAS/local/stationfile.txt,"
TEMPLATE=stationtemplate). I just tried running the same code under
IDL8 and now get the error message

% READ_ASCII: File "$SEADAS/local/stationfile.txt" not found.

The file is most definitely where it should be. After doing some
experimenting, it seems IDL8 isn't getting any value for the $SEADAS
variable.

I hope someone can explain to me why not and how to fix it?

Thanks.
Re: IDL v8 not recognizing bash environment variable [message #91103 is a reply to message #75842] Wed, 03 June 2015 10:12 Go to previous message
jmason86 is currently offline  jmason86
Messages: 1
Registered: June 2015
Junior Member
On Wednesday, April 27, 2011 at 11:57:14 AM UTC-6, Barry Lesht wrote:
> Not sure I'm expressing this correctly in the subject line - this is
> my problem: I have a code that ran fine under IDL7 that included the
> line "sta_list = READ_ASCII("$SEADAS/local/stationfile.txt,"
> TEMPLATE=stationtemplate). I just tried running the same code under
> IDL8 and now get the error message
>
> % READ_ASCII: File "$SEADAS/local/stationfile.txt" not found.
>
> The file is most definitely where it should be. After doing some
> experimenting, it seems IDL8 isn't getting any value for the $SEADAS
> variable.
>
> I hope someone can explain to me why not and how to fix it?
>
> Thanks.

I have the same problem with the workbench, IDL 8.4, OSX 10.10.3. The setenv in IDL worked for me. I followed the suggestion to make an idl startup file. Thanks!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Postscript trap
Next Topic: Text output line too short, width = val not working

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 09:19:52 PDT 2025

Total time taken to generate the page: 0.00459 seconds