X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 11 Sep 2020 12:24 PM by  Ben Castellani
Importing library
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Deepjyoti Satpathy



New Member


Posts:
New Member


--
29 Aug 2020 09:42 PM
    I'm completely new to IDL and don't understand it much. Trying to run a simple code: tab = mrdfits('Sample.fits',1). Running this code shows an error - Variable is undefined: MRDFIT. In this regard I wanted to ask, how do I import the library?

    Ben Castellani



    Basic Member


    Posts:130
    Basic Member


    --
    11 Sep 2020 12:24 PM
    Welcome to IDL, Deepjyoti!

    The MRDFITS function appears to be a routine from NASA's Astrolib IDL library: https://www.harrisgeospatial.com/docs/mrdfits.html

    You can find more information about how to download this library here if you have not done so already: https://idlastro.gsfc.nasa.gov/

    Once you get the module downloaded onto your system, you must add the entire directory structure to your IDL Path. For more information on IDL Path Management, go here: https://www.l3harrisgeospatial.com/Support/Self-Help-Tools/Help-Articles/Help-Articles-Detail/ArtMID/10220/ArticleID/16156/Quick-tips-for-customizing-your-IDL-program-search-path
    You are not authorized to post a reply.