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

Home » Public Forums » archive » Having trouble reading MRDFITS files
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
Having trouble reading MRDFITS files [message #76724] Tue, 28 June 2011 11:32 Go to next message
Emily Anne Moravec is currently offline  Emily Anne Moravec
Messages: 7
Registered: June 2011
Junior Member
Hello!
My friend and I are trying to write a program for the purpose of
reading a fits file and and plotting the fits file on the y axis and
wavelength on the x axis.
here is our simple program
PRO simpleprogram
y=MRDFITS('/Users/quasargroup/NGC3783_new_data/Xldsum_files/
lbg1960_x1sum.fits')
END

we the the error
% complied module: SIMPLEPROGRAM.
% MRDFITS: File acces error
% MRDFITS: Specified FITS File not found /Users/quasargroup/
NGC3783_new_data/Xldsum_files/lbg1960_x1sum.fits

All we want to do is even read in the data to make sure it is coming
in and then eventually change it into a graph. We really don't know
how to read in fits files.
Re: Having trouble reading MRDFITS files [message #76782 is a reply to message #76724] Thu, 30 June 2011 21:46 Go to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
Are you sure there's no typo in the filename? No reason for that not to work.

-Jeremy.
Re: Having trouble reading MRDFITS files [message #76788 is a reply to message #76724] Thu, 30 June 2011 11:18 Go to previous message
Brian Wolven is currently offline  Brian Wolven
Messages: 94
Registered: May 2011
Member
I suspect that either the file path is wrong, or that you do not have read access for the specified file.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: contour and points
Next Topic: Re: ps_start, window problem

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

Current Time: Wed Oct 08 17:50:15 PDT 2025

Total time taken to generate the page: 0.00478 seconds