listpix problem
stevenford17 wrote on Jun 30, 2008
When I try to run "listpix extr001a.0001[350:1024] > spec001a.txt" I get an error message that appears as follows:
"ERROR:cannot open 'spec001a.txt' for writing"
I have checked my permissions and they are set to 777 for the folder. The text file exists in the directory, I simply cannot write to it? Any thoughts?
Thanks in advance,
Steve
"ERROR:cannot open 'spec001a.txt' for writing"
I have checked my permissions and they are set to 777 for the folder. The text file exists in the directory, I simply cannot write to it? Any thoughts?
Thanks in advance,
Steve
Mike Fitzpatrick wrote on Jun 30, 2008
If you're going to be overwriting files in IRAF, you need to set the 'clobber' environment variable, by default the system protects from overwrite. E.g., try
-Mike
cl> reset clobber = yes
cl> listpix .....
-Mike
stevenford17 wrote on Jun 30, 2008
that did it... thanks
Last post on Jun 30, 2008