View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

ccdproc: Error in image section specification

Michael Mommert wrote on Dec 26, 2009

Hi everybody,

I have a problem using ccdproc: when trying to use it on a set of images I get the error message displayed in the subject of this thread. I get the error message independently from ccdproc parameters. Therefore, I think it must have to do with some image header problems.
I never encountered such problems when reducing images taken by another camera. Does anybody know what the problem might be?

Best wishes,
Michael

Sample header:

dlr0017.fits[938,938][ushort]: bias
No bad pixels, min=25., max=11841.
Line storage mode, physdim [938,938], length of user area 7047 s.u.
Created Mon 01:05:46 14-Dec-2009, Last modified Thu 23:28:54 24-Dec-2009
Pixel file "dlr0017.fits" [ok]
EXTEND  =                    F / File may contain extensions
BSCALE  =           1.000000E0 / REAL = TAPE*BSCALE + BZERO
BZERO   =           3.276800E4 /
ORIGIN  = 'DSAZ    '           / FITS file originator
DATE    = '2009-12-14T00:05:46' / Date FITS file was generated
IRAF-TLM= '23:28:54 (24/12/2009)' / Time of last modification
COMMENT   FITS (Flexible Image Transport System) format defined in Astronomy and
COMMENT   Astrophysics Supplement Series v44/p363, v44/p371, v73/p359, v73/p365.
COMMENT   Contact the NASA Science Office of Standards and Technology for the
COMMENT   FITS Definition document #100 and other FITS information.
BLANK   =                32768 / Value used for NULL pixels
DATAMAX =               11841. / Maximal pixel value
DATAMIN =                  25. / Minimal pixel value
DATAMEAN=                 86.1 / Mean pixel value
INSTRUME= 'NN      '           / Instrument used
TELESCOP= 'CA350   '           / Telescope name
OBJECT  = 'bias    '           / Target description
OBSERVER= 'XXX'   / Name of observer
FILENAME= 'dlr0017.fits'       / Name of this File
EXPTIME =                 0.00 / Total integration time (sec)
DARKTIME=                 0.23 / Total elapsed time (sec)
RA      =            67.416897 / 04:29:40.1 RA [deg]
DEC     =             37.22194 / +37:13:19.0 DEC [deg]
HA      =             0.000000 / 00:00:00.0 HA [deg]
AIRMASS =              1.00000 / airmass
LST     =         19607.300000 / 05:26:47.3 sid. time [sec]
UTC     =           345.929000 / 00:05:45.9 U.T. at start [sec]
UT_START=           345.929000 / 00:05:45.9 U.T. at start [sec]
UT_END  =           390.829000 / 00:06:30.8 U.T. [sec]
CTYPE1  = 'PIXEL   '           / Pixel coordinate system
CTYPE2  = 'PIXEL   '           / Pixel coordinate system
CRVAL1  =             82.00000 / start point rel. to 1. phys. pixel in axis 1
CRVAL2  =            110.00000 / start point rel. to 1. phys. pixel in axis 2
CRPIX1  =                  2.0 / increment of axis 1 in (pixels * binning-factor
CRPIX2  =                  2.0 / increment of axis 2 in (pixels * binning-factor
CDELT1  =                  2.0 / Binning factor along X
CDELT2  =                  2.0 / Binning factor along Y
PC001001=           1.00000000 / Translation matrix element
PC001002=           0.00000000 / Translation matrix element
PC002001=           1.00000000 / Translation matrix element
PC002002=           0.00000000 / Translation matrix element
EQUINOX =             0.000000 / Equinox in years
RADECSYS= 'NN      '           / FK5?
MJD-OBS =       55178.96484117 / modified jul. date
DATE-OBS= '2009-12-14T00:05:46' / file creation
OBSERVAT= 'DSAZ    '           / observatory
IMAGETYP= 'ZERO    '           / Type of observation
CAMID   = 'CCD17   '           / Camera used
CCDNAME = 'SITe#2b_17'         / Detector used
CCDPSIZ =                24.00 / Pixelsize in microns
CCDORI  = 'XX      '           / Orientation of CCD
CCDSPEED= 'normal  '           / CCD readout speed
CCDBINX =                    2 / Binning factor along X
CCDBINY =                    2 / Binning factor along Y
CCDGAIN =               20.000 / total analog Gain
CCDSENS =                2.600 / Sensitivity at selected Gain (e-/DN)
CCDMEAN =               93.000 / Bias of CCD at selected Gain (DN)
CCDSAT  =              150.000 / Saturation of CCD (e-)
CCDRON  =                5.980 / Readout-nois of CCD at selected Gain (e-)
CCDTEMP =               -119.0 / dewar temperature in deg. C
BIASSEC = '[0,54:0,991]'       / overscan portion of frame
DATASEC = '[40,54:977,991]'    / image portion of frame
CCDSEC  = '[80,108:1954,1982]' / orientation to full frame [x1:y1,x2:y2]
ORIGSECX=                 2048 / original size full frame nx
ORIGSECY=                 2048 / original size full frame ny
CCDCONFN= 'SITe#2b_17_n.CCD'   / Name of Configuration-File
CCDLOGFN= './data.1213243540109' / Name of Log-File
HIERARCH CAHA DET CCDS =     1 / # of CCDs in detector array
HIERARCH CAHA DET ID = 'CCD17' / Detector System ID
HIERARCH CAHA DET EXP TYPE = 'dark'/ Type of exposure
HIERARCH CAHA DET CCD1 NAME = 'SITe#2b_17'/ Detector CCD name
HIERARCH CAHA DET CCD1 ID = '5181ABR02-01'/ Detector CCD ID
HIERARCH CAHA DET CCD1 TEMP = -119.0 / dewar temperature in deg. C
HIERARCH CAHA DET CCD1 NX = 2048 / # of pixels along x
HIERARCH CAHA DET CCD1 NY = 2048 / # of pixels along y
HIERARCH CAHA DET CCD1 PSZX = 24.00 / Pixelsize in microns
HIERARCH CAHA DET CCD1 PSZY = 24.00 / Pixelsize in microns
HIERARCH CAHA DET CCD1 RON = 5.980 / Readout-nois of CCD at selected Gain (e-)
HIERARCH CAHA DET CCD1 CF = 2.600 / Sensitivity at selected Gain (e-/DN)
HIERARCH CAHA DET CCD1 GAIN = 20.000 / total analog Gain
HIERARCH CAHA DET CCD1 SATUR = 150.000 / Saturation of CCD (e-)
HIERARCH CAHA DET CCD1 MEAN = 93.000 / Bias of CCD at selected Gain (DN)
HIERARCH CAHA DET CCD1 READ SPEED = 'normal'/ CCD readout speed
HIERARCH CAHA DET CCD1 READ SHIFT = 0 / # of lines shifted between exp
HIERARCH CAHA DET CCD1 READ CLOCK = 'SITe#2b_17_n.CCD'/ Name of clock pattern fi
HIERARCH CAHA DET CCD1 OVSCX = 0 / overscan region in X
HIERARCH CAHA DET CCD1 DATAMIN = 25.0 / The lowest value (in DN) read out from t
HIERARCH CAHA DET CCD1 DATAMAX = 11841.0 / The highest value (in DN) read out fr
HIERARCH CAHA DET CCD1 DATAMEAN = 86.1 / The mean value read out from the detect
HIERARCH CAHA DET CCD1 WINDOWS = 1 / # of windows read out
HIERARCH CAHA DET CCD1 WIN1 STRX = 40 / Lower left pixel in X
HIERARCH CAHA DET CCD1 WIN1 STRY = 54 / Lower left pixel in Y
HIERARCH CAHA DET CCD1 WIN1 NX = 938 / # of pixels along X
HIERARCH CAHA DET CCD1 WIN1 NY = 938 / # of pixels along Y
HIERARCH CAHA DET CCD1 WIN1 BINX = 2 / Binning factor along X
HIERARCH CAHA DET CCD1 WIN1 BINY = 2 / Binning factor along Y
HIERARCH CAHA DET CCD1 OUTPUTS = 1 / # of outputs used on CCD1
HIERARCH CAHA DET DARKTIM = 0.234 / Dark current time
HIERARCH CAHA DET REQTIM = 0.000 / Requested exposure time
HIERARCH CAHA DET SHUT TYPE = 'NN'/ Type of shutter used
HIERARCH CAHA DET SHUT ID = 'NN'/ Shutter manufacturer, model serial number
HIERARCH CAHA DET SHUT TMOPEN = 0.000 / Time required to open shutter completely
HIERARCH CAHA DET SHUT TMCLOSE = 0.000 / Time required to close shutter complete
HIERARCH CAHA DET LOGFN = './data.1213243540109'/ Name of Log-File
POSTN-RA=             16180.06 /  tel. position Right Ascension
POSTN-DE=            133998.99 /  tel. position Declination
POSTN-HA=                 0.00 /  tel. position Hour Angle
UNI-TIME=               345.93 /  Universal Time
SID-TIME=             19607.30 /  Sidereal Time [sec]
JUL-DATE=         2455179.4648 / julian date
HIERARCH CAHA TEL GEOELEV = 2168 / elev. above sea
HIERARCH CAHA TEL GEOLAT = 37.2236 / geographic lat.
HIERARCH CAHA TEL GEOLON = -2.5463 / geographic long.
HIERARCH CAHA TEL DOME.AZ = 0.20 / dome azimut [degr]
HIERARCH CAHA TEL DOME.EL_LOW_E = 0.00 / dome door low lim.
HIERARCH CAHA TEL DOME EL_UPP_E = 0.00 / dome door upper lim.
HIERARCH CAHA TEL FOCU ID = 'CASS    ' /  ID of used focus
HIERARCH CAHA TEL MIRR S1 COLLAREA = 0.92 / eff. coll. area of S1 [m**2]
HIERARCH CAHA TEL FOCU F_RATIO = 8.00 / f-ratio
HIERARCH CAHA TEL FOCU LEN = 9.808 / focal length [m]
HIERARCH CAHA TEL FOCU SCALE = 0.0478 / focus scale mm/arcsec
HIERARCH CAHA TEL FOCU VALUE = 45.560 / focus rel. setting
HIERARCH CAHA TEL POS SET RA = 532350.000000 / 09:51:30.0 RA preset [sec]
HIERARCH CAHA TEL POS SET DEC = 56.050000 / +56:02:60.0 DEC preset [deg]
HIERARCH CAHA TEL POS SET EQUINOX = 2009.9 / eq preset
HIERARCH CAHA TEL POS AZ_START = 0.00 / telescope azimuth at start
HIERARCH CAHA TEL POS EL_START = 89.91 / telescope elevation at start
HIERARCH CAHA TEL POS HA_START = 0.000000 / 00:00:00.0 HA [deg]
HIERARCH CAHA GEN AMBI WIND SPEED = 6.6 / wind-speed[m/s]
HIERARCH CAHA GEN AMBI WIND DIR = 171 / wind dir[deg.]
HIERARCH CAHA GEN AMBI RHUM = 100 / relative humidity[%]
HIERARCH CAHA GEN AMBI PRES = 756.9 / air pressure
HIERARCH CAHA GEN AMBI TEMP = -1.4 / air-temperature[Celsius]
HIERARCH CAHA ADA POSANG = 0.00 / position angle of adapter
INSTRID = 'IA 1.23 '           / instrument ID
INSFLNUM=                    1 / filterpos
INSFLNAM= 'Johnson R'          / filtername
INSROTAT=              88888.0 / rotator angle
HIERARCH CAHA TEL POS AZ_END = 0.00 / telescope azimuth at end [deg]
HIERARCH CAHA TEL POS EL_END = 89.91 / telescope elevation at end [deg]
HIERARCH CAHA TEL POS HA_END = 0.000000 / 00:00:00.0 HA [deg] at end

Mike Fitzpatrick wrote on Dec 26, 2009

The image sections specified by BIASSEC et al are given as "a,b:c,d" and not the expected "a:b,c:d" format, i.e. the comma and colon are switched. See e.g. the comment for the CCDSEC keyword.

Michael Mommert wrote on Dec 26, 2009

Yes, that's it! Thank you very much, you saved my day!
Michael

Last post on Dec 26, 2009