Welcome to iraf.net Saturday, May 11 2024 @ 09:13 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 CCDPROC: DATASEC error after DATASEC removal
   
jminer
 03/03/2009 09:09PM (Read 3501 times)  
+----
Newbie

Status: offline


Registered: 09/22/2008
Posts: 5
Hi,I am getting the "Error in DATASEC parameter" message when trying to use ccdproc to trim and overscan-subtract images. From what I've read in these forums, one possibility is to remove the DATASEC and CCDSEC header entries entirely, which I have done.However, I am still getting the same DATASEC error message, even when it has been removed! How can I force ccdproc to just use the trimsec and biassec inputs, and not even look at DATASEC?Thanks! If you need any more information or detail, let me know, I just wanted to give a brief explanation of my problem.-Jesse

 
Profile Email
 Quote
jminer
 03/03/2009 09:09PM  
+----
Newbie

Status: offline


Registered: 09/22/2008
Posts: 5
Here are the parameters for ccdproc that I am using:
[code:1:f7b9a4d541]
PACKAGE = ccdred
TASK = ccdprocimages = @proclist List of CCD images to correct
(output = @proclist//p) List of output CCD images
(ccdtype= ) CCD image type to correct
(max_cac= 0) Maximum image caching memory (in Mbytes)
(noproc = no) List processing steps only?(fixpix = no) Fix bad CCD lines and columns?
(oversca= yes) Apply overscan strip correction?
(trim = yes) Trim the image?
(zerocor= yes) Apply zero level correction?
(darkcor= no) Apply dark count correction?
(flatcor= no) Apply flat field correction?
(illumco= no) Apply illumination correction?
(fringec= no) Apply fringe correction?
(readcor= no) Convert zero level image to readout correction?
(scancor= no) Convert flat field image to scan correction?(readaxi= line) Read out axis (column|line)
(fixfile= ) File describing the bad lines and columns
(biassec= [2060:2071,1:474]) Overscan strip image section
(trimsec= [11:2055,42:424]) Trim data section
(zero = zero) Zero level calibration image
(dark = ) Dark count calibration image
(flat = ) Flat field images
(illum = ) Illumination correction images
(fringe = ) Fringe correction images
(minrepl= 1.) Minimum flat field value
(scantyp= shortscan) Scan type (shortscan|longscan)
(nscan = 1) Number of short scan lines(interac= yes) Fit overscan interactively?
(functio= legendre) Fitting function
(order = 1) Number of polynomial terms or spline pieces
(sample = *) Sample points to fit
(naverag= 1) Number of sample points to combine
(niterat= 1) Number of rejection iterations
(low_rej= 3.) Low sigma rejection factor
(high_re= 3.) High sigma rejection factor
(grow = 0.) Rejection growing radius
(mode = ql)[/code:1:f7b9a4d541]
And here is the header for a sample file (after clobbering DATASEC):[code:1:f7b9a4d541]0114.DFLAT.fits[2071,474,1][ushort]: DFLAT
No bad pixels, min=0., max=0. (old)
Line storage mode, physdim [2071,474,1], length of user area 5549 s.u.
Created Tue 15:43:46 03-Mar-2009, Last modified Tue 15:43:46 03-Mar-2009
Pixel file "0114.DFLAT.fits" [ok]
EXTEND = F / File may contain extensions
BSCALE = 1.000000E0 / REAL = TAPE*BSCALE + BZERO
BZERO = 3.276800E4 /
ORIGIN = 'NOAO-IRAF FITS Image Kernel July 2003' / FITS file originator
IRAF-TLM= '15:43:46 (03/03/2009)' / Time of last modification
OBJECT = 'DFLAT ' / Name of the object observed
DATE-OBS= '2008-09-14T21:09:26.87' / DATE-OBS Format is YYYY-MM-DDThh:mm:ss.ss
DATE = '2008-09-14' / Date Format is YYYY-MM-DD
TIME = '21:09:26.87 to 21:10:11.90' / ~ Start & Stop of Exposure
N_PARAM = 80 / Number of Parameters
PARAM0 = -106.5 / CCD Temperature,°C
PARAM1 = 0 / Not Used
PARAM2 = 0.000 / CCD Chamber Pressure,Torr
PARAM3 = 0 / Not Used
PARAM4 = 0 / Not Used
PARAM5 = 0 / Not Used
PARAM6 = 0 / Not Used
PARAM7 = 0 / Not Used
PARAM8 = 0 / Shutter Status,(Closed)
PARAM9 = 0 / XIRQA Status,(None)
PARAM10 = 1 / Cooler Status,(On)
PARAM11 = 0 / Not Used
PARAM12 = 0 / Not Used
PARAM13 = 0 / Not Used
PARAM14 = 0 / Not Used
PARAM15 = 0 / Not Used
PARAM16 = 0 / Serial Origin,Pixels
PARAM17 = 2071 / Serial Length,Binned Pixels
PARAM18 = 2 / Serial Binning,Pixels
PARAM19 = 0 / Serial Post Scan,Pixels
PARAM20 = 1100 / Parallel Origin,Pixels
PARAM21 = 474 / Parallel Length,Binned Pixels
PARAM22 = 4 / Parallel Binning,Pixels
PARAM23 = 0 / Parallel Post Scan,Pixels
PARAM24 = 45000 / Exposure Time,ms
PARAM25 = 0 / Continuous Clear,(Enabled)
PARAM26 = 130 / DSI Sample Time,(200 KHz)
PARAM27 = 0 / Analog Attenuation,(Low)
PARAM28 = 1880 / Port 1 Offset
PARAM29 = 1844 / Port 2 Offset
PARAM30 = 1874 / Port 3 Offset
PARAM31 = 1867 / Port 4 Offset
PARAM32 = 100 / TDI Delay,us
PARAM33 = 0 / Not Used
PARAM34 = 0 / Not Used
PARAM35 = 0 / Not Used
PARAM36 = 0 / Not Used
PARAM37 = 0 / Not Used
PARAM38 = 0 / Not Used
PARAM39 = 1 / Command on Trigger,(Open Shutter)
PARAM40 = 0 / Not Used
PARAM41 = 0 / Not Used
PARAM42 = 0 / Not Used
PARAM43 = 0 / Not Used
PARAM44 = 0 / Not Used
PARAM45 = 0 / Not Used
PARAM46 = 0 / Not Used
PARAM47 = 0 / Not Used
PARAM48 = 620 / Instrument Model
PARAM49 = 658 / Instrument SN
PARAM50 = 2 / Hardware Revision
PARAM51 = 0 / Serial Phasing,(Normal)
PARAM52 = 0 / Serial Split,(Normal)
PARAM53 = 2050 / Serial Size,Pixels
PARAM54 = 0 / Parallel Phasing,(Normal)
PARAM55 = 0 / Parallel Split,(Normal)
PARAM56 = 2030 / Parallel Size,Pixels
PARAM57 = 250 / Parallel Shift Delay,100 ns
PARAM58 = 0 / Number of Ports,(1 Port)
PARAM59 = 700 / Shutter Close Delay,ms
PARAM60 = 0 / Not Used
PARAM61 = 1630.0 / Low Temp Limit,(-110.0 °C)
PARAM62 = 1660.0 / CCD Temperature Setpoint,(-107.0 °C)
PARAM63 = 1730.0 / Operational Temp,(-100.0 °C)
PARAM64 = 0 / Not Used
PARAM65 = 1 / Port Select,(B)
PARAM66 = 0 / Not Used
PARAM67 = 0 / Abort Mode,(Without Readout)
PARAM68 = 5000.000 / High Pressure Limit,(5.000 Torr)
PARAM69 = 100.000 / Operational Pressure,(0.100 Torr)
PARAM70 = 0 / Not Used
PARAM71 = 0 / Not Used
PARAM72 = 0 / Not Used
PARAM73 = 5657 / Controller SN
PARAM74 = 4176 / Analog Part #
PARAM75 = 5 / Analog Rev. #
PARAM76 = 1 / Controller Rev. #
PARAM77 = 0 / Not Used
PARAM78 = 0 / Not Used
PARAM79 = 1000 / Pixel Clear,ns
TELESCOP= 'SOAR 4.1m'
INSTRUME= 'Goodman Spectrograph'
NOTES = ''
RA = '16:42:11.959'
DEC = '-17:38:31.542'
AIRMASS = 1.660000
UT = '21:09:19.2'
FOCUS = -1520.000000
MOUNT_AZ= 90.000000
MOUNT_EL= 37.000000
ROTATOR = 0.000000
POSANGLE= 360.000000
SEEING = -1.000000
CAM_ANG = 20.000160
GRT_ANG = 9.999400
CAM_FOC = -395
COLL_FOC= 999
FILTER = '<NO FILTER>'
FILTER2 = '<NO FILTER>'
GRATING = 'KOSI_600'
SLIT = '1.68 long slit'
EXPTIME = 45.000000
RDNOISE = 4.740000
GAIN = 1.400000
OBSTYPE = 'FLAT'
OBSERVER= ''
PROPOSAL= ''
DISPAXIS= 1
CCDSUM = '2 4'
COMMENT Light Exposure, Exp Time= 45
[/code:1:f7b9a4d541]Just to be clear, the header entries that I removed were:[code:1:f7b9a4d541]
DETSIZE = '[1:4096,1:4096]'
DATASEC = '[1:4142,1:1896]'
TRIMSEC = '[1:4142,1:1896]'
DETSEC = '[1:4096,1:4096]'
CCDSEC = '[1:4096,1:4096]'
CCDSIZE = '[1:4096,1:4096]'
[/code:1:f7b9a4d541]As you can see, these numbers are all nonsense because the images are 2071x474. I am assuming that is why I was getting the DATASEC error in the first place... So I got rid of them altogether.But I am still getting the "Error in DATASEC parameter" message! I have used these [i:f7b9a4d541]same[/i:f7b9a4d541] settings before with data from the same instrument (but that didn't originally have the DATASEC, CCDSEC, etc. header parameters), and it worked.So, is it at all possible to force ccdproc to totally ignore the DATASEC parameter?Thanks!

 
Profile Email
 Quote
jminer
 03/03/2009 09:09PM  
+----
Newbie

Status: offline


Registered: 09/22/2008
Posts: 5
Figured it out.... My bias frame (zero.fits) still had the DATASEC header parameter. Clobbered it and it worked.

 
Profile Email
 Quote
   
Content generated in: 0.07 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login