How many images does the template "*.fz" turn out to be? I noticed the warning message prints the image name as "...fits.f" and not "...fits.fz" so I'm wondering whether the template expansion may be truncating the name in list somehow.
One way to test this is to set
Code:
cl> reset use_new_imt = no
cl> flpr 0 # zero, not oh
This will use the older template code and if it then works would help confirm the truncation. OTOH, it could be something like unitialized code in the task, but I'm not able to reproduce the problem myself. If you still have problems, could you tell me what IRAF version and platform you're using? If its v2.16, are you sure you're running the latest update?
As we can see from the pattern fxheader *.fz lo+ > z there must be a bug in the task. There is a file number (1186) in the file name, so the template list is rather big.
I do remember fixing a bug with long-template expansion recently and it appears this was done in the dev system after the last binary release of the external packages. The extpkg distros have just been updated so I'd suggest doing
Code:
% cd $iraf/extern
% make fitsutil
to reinstall the FITSUTIL package binaries. A "cd $iraf ; make latest" will also make sure the core IRAF system and remaining packages are updated as well.
The Ctrl-C brakes it with: PANIC in `/iraf/iraf/extern/fitsutil/bin.linux/x_fitsutil.e': software terminate (interrupt) and then lo gives: Abnormal termination of child process 'fitsutilbin$x_fitsutil.e'
Fatal logout error. CL dies..
Anyway when I start IRAF again:
I can confirm there's still a problem in the template code for very long strings and will fix it for the next update. Until then, use the workaround. I'll let you know when the update is available.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum