DISPTRANS gives EXTVER error (fwd)
Mike Fitzpatrick wrote on Dec 21, 2006
My question concerned disptrans.
PACKAGE = onedspec
TASK = disptrans
input = test0082 Input spectra
output = vdim0082 Output spectra
units = km/s 2.12125 micron Output dispersion units
(error = 0.01) Maximum output coordinate error in pixels
(lineari= no) Resample the output to linear dispersion
interva
(verbose= yes) Print log of transformations?
# AIR/VACUUM CONVERSION
(air = none) Air-vacuum conversion?
(t = 15.) Temperture in degrees C
(p = 760.) Pressure in mmHg
(f = 4.) Water vapour pressure in mmHg
(mode = ql)
disptrans
Input spectra (test0082):
Output spectra (vdim0082): vtest0082
Output dispersion units (km/s 2.12125 micron):
Warning: Image header parameter not found (EXTVER)
As you see it crashes telling me that the image parameter EXTVER was not
found.
I have no clue what that image parameter would mean or what value it
should have.
The message about EXTVER is actually bogus due to the way iraf error recovery works and is masking the real error (usually a missing header keyword or parameter problem). To see the real error just add a dummy keyword EXTVER=1 to the image and run the task again, you'll then need to address the error reported which will be the real problem.
Note that EXTVER usually refers to multi-extension FITS files so the problem may just be that you need to add an extension number when calling the task (e.g. "disptrans test0082[1]"). Similar problems have also been reported when using a 2-D image, the solution there is to either SCOPY out a particular band/aperture, or use an image section. Hope this helps, I'll post a summary to a forum and you should followup there. Sorry again about the account problems, I see you have a login now.
Cheers,
-Mike
Last post on Dec 21, 2006