X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03 May 2008 07:39 PM by  anon
IDL GRIB File Reader
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
03 May 2008 07:39 PM
    Hello, I have just installed the IDL GRIB File Reader written by Andy Pursch on Fedora 8 Linux, IDL version 6.2 I have placed the IDL_GRIB.DLM and IDL_GRIB.So files in the /usr/local/rsi/idl_6.2se/bin/bin.linux.x86 directory and the 5 *.pro files in the /usr/local/rsi/idl_6.2se/lib directory, have adapted the rights to all users and have implement both paths into my IDL-file with !PATH='/usr/local/rsi/idl_6.2se/lib' !PATH='/usr/local/rsi/idl_6.2se/bin/bin.linux.x86' However, I have got the error message % Attempt to call undefined procedure/function: 'READ_GRIB'. % Execution halted at: $MAIN$ 50 /home/u0057519/IDL/lmk1.pro Does anybody know why this doesn't work? Many thanks!! Tim

    Deleted User



    New Member


    Posts:
    New Member


    --
    03 May 2008 07:39 PM
    Your second !PATH assignment canceled out your first ... and both assignments canceled out the default IDL Search Path, which is essential for most IDL programs. The proper syntax for appending to the default IDL Search Path (rather than ***overwriting***!) is: !PATH = !PATH + '/path/to/my/personal/idl/directory/' Before you want to issue such a reassignment, however, you should check whether the path you want to append is not already in the current path. Thus, do this: PRINT, !PATH and look over the output before you do this: !PATH = !PATH + ... I think you will see that '/usr/local/rsi/idl_6.2se/lib' is already in your path. Furthermore !PATH is only for directories that hold '.pro' and/or '.sav' files. It is not needed for directories that hold only '.dlm's, '.so's, ',dll's and '.exe's. Thus, there is no good reason to have IDL's '.../bin/bin.linux.x86/' directory in the !PATH. You need only make sure that that directory is in IDL's DLM Path. "PRINT, !DLM_PATH" will ascertain that. James Jones
    You are not authorized to post a reply.