Version 2.16 seems not accept FITS extension
Jianghua WU wrote on Apr 18, 2013
Hi everybody,
I have several multi-extension FITS images. I want to use noao.imred.echelle.apflatten to check the flat image. Here is the command and the output of IRAF:
When I use 'epa' to edit the parameters of apflatten and specify the input file as HDSA00010439.fits[0], the first interactive query also did not include the extension of the FITS file. What can I do?
BTW, I can use fxcopy to extract one of the extensions of the FITS file and run the apflatten.
Thank you!
jhwu
I have several multi-extension FITS images. I want to use noao.imred.echelle.apflatten to check the flat image. Here is the command and the output of IRAF:
echelle> apflatten HDSA00010439.fits[0]
Searching aperture database ...
Find apertures for HDSA00010439? (yes): yes
Finding apertures ...
Number of apertures to be found automatically: 22
Warning: FXF: must specify which FITS extension (HDSA00010439)When I use 'epa' to edit the parameters of apflatten and specify the input file as HDSA00010439.fits[0], the first interactive query also did not include the extension of the FITS file. What can I do?
BTW, I can use fxcopy to extract one of the extensions of the FITS file and run the apflatten.
Thank you!
jhwu
Mike Fitzpatrick wrote on Apr 18, 2013
If this is new in v2.16 it may be related to the new image template code but is a behavior I haven't seen before. To go back to using the old code you can do
You can reset this value permanently by editing the hlib$zzsetenv.def file. Please let me know if this fixes the problem.
cl> reset use_new_imt = noYou can reset this value permanently by editing the hlib$zzsetenv.def file. Please let me know if this fixes the problem.
Last post on Apr 18, 2013