X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 28 Jul 2015 11:04 AM by  Zachary Norman
MRDFITS error
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Zachary Norman



Basic Member


Posts:173
Basic Member


--
28 Jul 2015 11:04 AM
    I get the following error:'Variable is undefined:MRDFITS' whenever I call the MRDFITS function with the given parameters-variable name of file, extension, header. The variable representing the file as well as the extension value (0) are defined before the function call, and as I understand the header becomes defined as a string array containing file's header after the function call is completed. Is the MRDFITS simply not defined in IDL version 8.4, or am I not defining the parameters properly?

    Zachary Norman



    Basic Member


    Posts:173
    Basic Member


    --
    28 Jul 2015 11:07 AM
    Hi, The MRDFITS function is a third party library which comes from AstroLib and is not officially supported by Exelis VIS. Your error likely comes from the code for MRDFITS not being in your IDL search path. You can download the software from http://idlastro.gsfc.nasa.gov/ and to add it to your search path you can go to Preferences->IDL->Paths and add the folder for AstroLib there.
    You are not authorized to post a reply.