Re: Read_grib under IDL 7.0 [message #63350 is a reply to message #63349] |
Wed, 05 November 2008 00:47   |
prm
Messages: 2 Registered: November 2008
|
Junior Member |
|
|
Hello, Ray
In short, your problem seems that IDL does not find the correct file.
You are not alone!
As far as I know (for I am a newbie and I have only used IDL from
version 7.0) path management is radically different - at least inside
Eclipse. For this reason I use a simple procedure in each project to
cd into the project directory and to ensure that the current path is
where I know it is. I then reference each file to compile relative to
this known location.
I hope this helps...
Pablo Rodríguez
On 5 nov, 05:12, ray.laymon...@gmail.com wrote:
> All,
>
> Solution should be easy but I couldn't figure out and couldn't find
> the solution in the user forum. I would appreciate any help.
>
> I have been using the read_grib.pro scripts of Andy Pursch (over
> ittvis user community downloads). For the past year I didn't have
> problem running it under IDL 6.3. Since the read_grib package contains
> 5 scripts, I have been compiling each script via "resolve_routine"
> commend before calling "read_grib.pro" in my scripts.
>
> So far, I didn't have any problem, but when I tried to run the same
> script under IDL7.0 I had an error saying
>
> Stat = IDL_GRIB(file, Count = LCount)
> ^
> % Syntax error.
> At: /home/usr/bin/read_grib.pro, Line 612
>
> Stat = IDL_GRIB(File, Image, Dump = GetRecords[I], $
> ^
> % Syntax error.
> At: /home/usr/bin/read_grib.pro, Line 631
> % Compiled module: READ_GRIB.
> % Attempt to call undefined procedure/function: 'READ_GRIB'.
> % Execution halted at: $MAIN$ 96 /home/usr/bin/
> read_the_grib_file.pro
>
> And when I run the same script under IDL 6.3, (without editing a dot),
> it runs without any problem.
> Could anyone possibly help me what would be the reason?
>
> Cheers,
> Ray
|
|
|