Welcome to iraf.net Tuesday, April 30 2024 @ 08:25 PM GMT
BorgChick |
10/12/2006 05:58PM (Read 4984 times)
|
|
|
Status: offline
Registered: 10/12/2006
Posts: 13
|
I am running IRAF on a MacIntel iMac, and was testing out the system using the demos option in LONGSLIT. This used to run just fine on my PowerBook G4, but now I get this error message:longslit> demo
MENU of LONGSLIT Demonstrations test - Test of LONGSLIT package (no comments, no delays)
testt - Test of LONGSLIT package with transposed data
Demo name (test): test
Creating example longslit in image Demoflat ...
Creating example longslit in image Demoarc1 ...
Creating example longslit in image Demoobj ...
Creating example longslit in image Demostd ...
Creating example longslit in image Demoarc2 ...
Demoflat -> demoflat
ERROR: Operation would overwrite existing image (demoflat.fits)
called as: `cl ()'
"clbye()"
line 18: artdata$artdata.cl
called as: `artdata ()'
called as: `cl ()'
called as: `cl ()'
"cl (< demofile)"
line 15: demos$demos.cl
called as: `demos ()'
longslit> Any thoughts? I was wondering if it had anything to do with the change in platform. Thanks!
|
|
|
|
fitz |
10/12/2006 05:58PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
The error message just means that 'demoflat.fits' already exists. The default behavior is to not overwrite existing files/images, this is controlled by the 'clobber' and 'imclobber' environment variables you can change.Cheers,
-Mike
|
|
|
|
BorgChick |
10/12/2006 05:58PM
|
|
|
Status: offline
Registered: 10/12/2006
Posts: 13
|
Hi Mike. I am sitting here at the 31-inch telescope with Ed Anderson. Looks like the problem is with the new Mac platform. ? We tested with imcopy:imcopy Demoflat demoflatand similarly with cpcp Demoflat.fits demoflat.fitsIn both cases they claimed we were overwriting a file or that the files were the same. It appears that filenames are not case-sensitive. Is there a way we can fix this?Thanks!Catrina Hamilton
|
|
|
|
fitz |
10/12/2006 05:58PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Hi Catrina,Sorry, the Mac HFS filesystem is case-insensitive so 'Demoflat' and 'demoflat' are seen as the same file in the underlying OS (Note also that ':' can be used as a directory delimiter). It's possible to format HFS to be case-sensitive in Tiger and later, however it means wiping the partition clean to do it.Cheers,
-Mike
|
|
|
|
BorgChick |
10/12/2006 05:58PM
|
|
|
Status: offline
Registered: 10/12/2006
Posts: 13
|
Thanks Mike! I certainly am NOT interested in wiping the partition to make things case sensitive, so I'll just deal with it. Catrina
|
|
|
|
| |
|
Content generated in: 0.16 seconds |
|