Welcome to iraf.net Friday, May 03 2024 @ 06:32 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 rfits error
   
sistrad
 03/27/2008 08:57AM (Read 5810 times)  
+----
Newbie

Status: offline


Registered: 03/27/2008
Posts: 4
hi,
I installed iraf yesterday, everything is ok. After I used rfits and work properly. But to day not workFrown I write,
epar rfits
inp bias01.fits
out bias01r.fitsok.
Error message is;
Unable to open parameter file `uparm$daorfits.par'.
ERROR: T_RFITS: Undefined output file namewould you help me?
nur

 
Profile Email
 Quote
fitz
 03/27/2008 08:57AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
[quote:c2d034e8ec]epar rfits
inp bias01.fits
out bias01r.fits [/quote:c2d034e8ec]I'm confused because the RFITS task doesn't have an "inp" or "out" parameter, but the error is definitely coming from the RFITS task. I also don't know why you'd be running RFITS on a FITS image, can you provide more details?-Mike

 
Profile Email
 Quote
sistrad
 03/27/2008 08:57AM  
+----
Newbie

Status: offline


Registered: 03/27/2008
Posts: 4
ok Mike, soryPACKAGE = dataio
TASK = rfitsfits_fil= bias01.fits FITS data source
file_lis= File/extensions list
iraf_fil= bias01r.fits IRAF filename
(make_im= yes) Create an IRAF image?
(long_he= no) Print FITS header cards?
(short_h= yes) Print short header?
(datatyp= ushort) IRAF data type
(blank = 0.) Blank value
(scale = yes) Scale the data?
(oldiraf= no) Use old IRAF name in place of iraf_file?
(offset = 0) Tape file offset
(mode = ql)
:go
And return me:
Unable to open parameter file `uparm$daorfits.par'.
ERROR: T_RFITS: Undefined output file name

 
Profile Email
 Quote
sistrad
 03/27/2008 08:57AM  
+----
Newbie

Status: offline


Registered: 03/27/2008
Posts: 4
I try to rfits, because when I run any task, like imstatis, return me read error.
" Error reading image"

 
Profile Email
 Quote
fitz
 03/27/2008 08:57AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I'm still confused (it's late here), why are you trying to run RFITS on the 'bias01.fits' image when you can use it as-is? You shouldn't be seeking that error unless the 'iraf_file' param is an empty string.-Mike

 
Profile Email
 Quote
fitz
 03/27/2008 08:57AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
An 'Error reading image' could be a permissions problem or a corrupted FITS file. Are you sure this is a valid image?-Mike

 
Profile Email
 Quote
sistrad
 03/27/2008 08:57AM  
+----
Newbie

Status: offline


Registered: 03/27/2008
Posts: 4
Hi Mike,when you tell "could be a permissions problem", I controlled that I'm not login as su!Oops! So, I try to login as su and problem is solved Razz
Im so sorry for taking your time for a simple situation.
Thank you very much.

 
Profile Email
 Quote
jturner
 03/27/2008 08:57AM  
+++++
Active Member

Status: offline


Registered: 12/29/2005
Posts: 165
Type "ls -al" in a terminal to see the file permissions (first column) and "man chmod" to see how to change them so you can work with the files as a normal user. Working as su routinely is a bad idea. It could be the files or the directory itself (.) that needs permissions changing.James.

 
Profile Email
 Quote
   
Content generated in: 0.23 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login