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

Home » Public Forums » archive » File unit problems
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
File unit problems [message #56564] Mon, 29 October 2007 01:08
Liberum is currently offline  Liberum
Messages: 48
Registered: September 2005
Member
Hi!

I am having some trouble with the file unit in IDL. I have included
the part of code that the error occurrs.

FOR f = 0, 1 DO BEGIN
IF f EQ 0 THEN BEGIN
OPENR, 1, land_lut, /GET_LUN; IDL says that this line is
incorrect. See error message below.
TITLESTR="Unmodified Class probability LUT for Land (Perhaps
erroneous)"
OPENW, 2, "land_scat_clas_tuned.dat", /GET_LUN
FILESTR = "land_scat_clas_tuned.ps"
ENDIF ELSE BEGIN
TITLESTR = "Unmodified Class probability LUT for Ocean
(Perhaps erroneous)"
OPENR, 1, sea_lut, /GET_LUN
OPENW, 2, "sea_scat_clas_tuned.dat", /GET_LUN
FILESTR = "sea_scat_clas_tuned.ps"
ENDELSE
....

% OPENR: Expression must be named variable in this context: <INT
( 1)>.

I think this is something quite simple but I don't get it. Can someone
please point out the problem for me?
Any help is greatly appreciated.
/Sheldon
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: layer stacking question
Next Topic: Minimum Noise Fraction Doubts...

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

Current Time: Wed Oct 08 19:43:51 PDT 2025

Total time taken to generate the page: 0.00448 seconds