Welcome to iraf.net Friday, March 29 2024 @ 03:12 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 mscred.ccdproc in V2.16 gives ERROR but in V2.14 does not
   
smart
 02/26/2016 10:09AM (Read 1344 times)  
+----
Newbie
okay

Status: offline


Registered: 01/26/2009
Posts: 5
I have "upgraded" from IRAF V2.14 to V2.16 (ecl to vocl) and my code that worked on the old version does not work anymore.
I have the old version on another machine and I checked it is something that has changed in this upgrade.

The data is images from WFI on the ESO2.2 and the part that goes into error in the code is quite simple:


esowfi
esosetinst
esohdr.querytype=no
esohdr *.fits
flatcombine.ccdtype=""
ccdproc.ccdtype = ""
ccdproc.flatcor=no
ccdproc.fixfile="vip/im*.pl"
ccdproc.fixpix = yes
ccdproc.zerocor=no
objmasks.omtype="boolean"
objmasks.masks ="vip"
objmasks1.fitstep = 10
mscskysub.mask = "!objmask"
mscskysub.type_output = "fit"
mscskysub.lower = 3
mscskysub.upper = 3
mscskysub.niter = 2
combine.combine="median"
combine.masktype="goodvalue"
flatcombine @flat.lis
imdel @flat.lis
ccdproc.flatcor=yes
##### PROBLEM OCCURS HERE
ccdproc W*.fits

The error message I get is:
ERROR: Error processing WFI.2015-10-07T04_38_05.932.fits

If I enter d_trace as suggested in: https://iraf.net/forum/viewtopic.php?forum=5&showtopic=1466983
the last 100 or so lines are:

365 6402+3: exec
----- exec builtin flprcache : line 368 -----
----- disconnect mscbin$x_mscred.e -----
----- disconnect mscbin$x_ccdred.e -----
----- disconnect bin$x_images.e -----
368 6405+4: pushparam cal1
368 6409+5: pushconst 1
368 6414+4: intrinsic access
368 6418+4: biff +148
369 6422+6: pushconst `'
369 6428+4: assign fd
370 6432+5: call imdelete
370 6437+6: pushconst `@'
370 6443+4: pushparam outlist
370 6447+3: concat
370 6450+4: posargset 0
370 6454+5: pushconst no
370 6459+4: absargset verify
370 6463+3: exec
----- exec external task imdelete - line 371 -----
----- connect to bin$x_images.e -----
imdelete\nimages="@tmp$ccdproc6112uC"\nverify=no\n
default_action=yes\nmode="ql"\n$nargs=1\n
--------------------------------
----- task imdelete - line 315 ( ) -----
315 9367+4: call bye
315 9371+3: exec
----- exec builtin bye : line 315 -----
371 6466+4: call delete
371 6470+6: pushconst `@'
371 6476+5: pushparam templist
371 6481+3: concat
371 6484+4: posargset 0
371 6488+5: pushconst no
371 6493+4: absargset verify
371 6497+7: pushconst `dev$null'
371 6504+3: allredir
371 6507+3: exec
----- exec external task delete - line 372 -----
delete \$this->_split2($m[0]) $ 5\$this->_split2($m[0]) $\nfiles="@tmp$ccdproc6112uA"\nverify=no\n
default_action=yes\nallversions=yes\nsubfiles=yes\nmode="ql"\n
$nargs=1\n
--------------------------------
316 9367+4: call bye
316 9371+3: exec
372 6510+4: call delete
372 6514+5: pushparam templist
372 6519+4: posargset 0
372 6523+5: pushconst no
372 6528+4: absargset verify
372 6532+3: exec
----- exec external task delete - line 373 -----
delete\nfiles="tmp$ccdproc6112uA"\nverify=no\n
default_action=yes\nallversions=yes\nsubfiles=yes\nmode="ql"\n
$nargs=1\n
--------------------------------
----- task delete - line 317 ( ) -----
317 9367+4: call bye
317 9371+3: exec
----- exec builtin bye : line 317 -----
373 6535+4: call error
373 6539+5: pushconst 1
373 6544+4: posargset 0
373 6548+8: pushconst `Error processing '
373 6556+4: pushparam input
373 6560+3: concat
373 6563+4: posargset 1
373 6567+3: exec
----- exec builtin error : line 380 -----
ERROR: Error processing WFI.2015-10-11T00_40_20.103.fits
cl_error: abort=1 beep=1 trace=1 flpr=1
cl_error: code=1 do_err=1 errtype=1/1 task='cl'

I also did a ccdlist on the flat and image:
esowfi\$this->_split2($m[0]) ccdlist Flat.fits lo+
Flat.fits[im1][2044,4098][real][flat][1][][OT]:FLAT,SCREEN
exposure=4 darktime=5
Feb 26 10:58 Overscan is [2095:2142,1:4128], mean 234.8136
Feb 26 10:58 Trim is [51:2094,31:4128]
[TO BE DONE] Zero level correction
esowfi\$this->_split2($m[0]) ccdlist WFI.2015-10-11T00_40_20.103.fits lo+
WFI.2015-10-11T00_40_20.103.fits[im1][2142,4128][ushort][object][1][]:SKY
exposure=9 darktime=10
[TO BE DONE] Overscan strip is [2095:2142,*]
[TO BE DONE] Trim image section is [51:2094,31:4128]
[TO BE DONE] Zero level correction
[TO BE DONE] Flat field correction

So it looks like the problem maybe something is insisting that I do a "Zero level correction"
even though I have ccdproc.zerocor=no as I do not have a "Zero level correction" image
(indeed I am not sure what a "Zero level correction" image is), or this maynot be the problem.
Some guidance would be useful.




 
Profile Email
 Quote
fitz
 02/26/2016 04:40PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Try setting:

cl\$this->_split2($m[0]) reset use_new_imt = no

This will by pass the new image template code and use the older version. You can make the change permanent by setting this in your login.cl file or by editing the system hlib$zzsetenv.def value.

 
Profile Email
 Quote
smart
 02/29/2016 07:52PM  
+----
Newbie

Status: offline


Registered: 01/26/2009
Posts: 5
I tried setting the "reset use_new_imt = no" in both the command script and in the
login.cl but it did not change anything. For now I am running on the old iraf, I suppose one way will
be to invent a "Zero level correction" which I asumme would just be image of 0s (or an image of 1s).

-Ricky

 
Profile Email
 Quote
   
Content generated in: 0.10 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