instrument translation file?
Jianghua WU wrote on Nov 23, 2013
I'm doing bias combination with zerocombine, here is the error,
ERROR: No 'instrument' translation file specified.
"pclip=pclip, grow=0)"
line 47: ccdred$zerocombine.cl
called as: 'zerocombine (mode=h)'
What's the problem? I'm using the latest iraf on the mavericks system on a macbook.
Jianghua WU wrote on Dec 02, 2013
No one can help me?
Mike Fitzpatrick wrote on Dec 02, 2013
This is a change in behavior (i.e. prints an error instead of continuing with a NULL file) in the v2.16.1 release due to the fact a NULL file would create a segfault, I'm checking with Frank to see if this was the correct fix.
Normally you would run SETINSTRUMENT to define the translation file, you might also try setting the 'instrument' parameter to the name of an empty file if you have no translations.
Jianghua WU wrote on Dec 10, 2013
The error remains after setting the 'instrument' parameter to the name of an empty file.
Tae-Geun Ji wrote on Dec 10, 2013
I have the same problem.
Is there any way of resolving that problem yet?
I installed new release version on few days ago. (2.16 >> 2.16.1)
The problem has been encountered.
Tae-Geun Ji wrote on Dec 11, 2013
In my case, solved problem.
But it may be temporary. Try this.
run IRAF,
> noao.imred.ccdred
ccdred> setinst
Instrument ID (type ? for a list) : enter
PACKAGE = imred
TASK = ccdred
(pixelty= real real) Output and calculation pixel datatypes
(verbose= no) Print log information to the standard output?
(logfile= logfile) Text log file
(plotfil= ) Log metacode plot file
(backup = ) Backup directory or prefix
(instrum= ) CCD instrument file
(ssfile = subsets) Subset translation file
(graphic= stdgraph) Interactive graphics output device
(cursor = ) Graphics cursor input
(version= 2: October 1987)
(mode = ql)
so, input directory
(instrum= ccddb$kpno/camera.dat) CCD instrument file
and save,
:wq
aguado wrote on Aug 12, 2014
Hi,
I already have the same problem,
Using ccdproc it says:
ERROR: No 'instrument' translation file specified.
But I dont know how to aplly the Newby solution because after > noao.imred.ccdred
ccdred> setinst
Instrument ID (type ? for a list) : enter
PACKAGE = imred
TASK = ccdred
(pixelty= real real) Output and calculation pixel datatypes
(verbose= no) Print log information to the standard output?
(logfile= logfile) Text log file
(plotfil= ) Log metacode plot file
(backup = ) Backup directory or prefix
(instrum= ) CCD instrument file
(ssfile = subsets) Subset translation file
(graphic= stdgraph) Interactive graphics output device
(cursor = ) Graphics cursor input
(version= 2: October 1987)
(mode = ql)
There is not
(instrum= ccddb$kpno/camera.dat) CCD instrument file
How I can solve it?
Thank you very much
David
Mike Fitzpatrick wrote on Aug 13, 2014
I believe the solution of the previous poster was that you set the instrument parameter to "ccddb$kpno/camera.dat" as the value in epar (e.g. "cl> epar ccdred"). You can also do this on the commandline using
cl> ccdred.instrument = "ccddb$kpno/camera.dat"
but note that the IMRED package must be loaded first.
jbkikwaya wrote on Mar 12, 2019
To correct it do:
1) > epar ccdred
2) Bring the cursor at Instrument field of ccdred parameters
3) Click on space key
4) Click on arrow below (to leave the instrument field empty as it was)
5) :q (to quit)
jbkikwaya wrote on Mar 23, 2019
Quote by: jbkikwayaTo correct it do:
1) > epar ccdred
2) Bring the cursor at Instrument field of ccdred parameters
3) insert: home$instrmsc.dat as value of the parameter instrument, knowing that this file instrmsc.dat exists and is located at home
My file instrmsc.dat looks like this:
# This is the instrument translation file for rootpackage.mscred.ccdproc
# For use with the 4kx4kvatt ccd. The VATT4K CCD start at VATT Sept. 2007.
#
exptime EXPTIME
imagetyp IMAGETYP
#subset TELFILTE
subset FILTER
# the ccdred package parameter 'imagetyp' translates to 'IMAGETYP'
# a keyword in the image header.
# Likewise, 'exptime' of ccdred is equivalent to 'EXPTIME' in image header.
# Another kind of translation could be useful. E.g., if 'BIAS' were a value
# found in the image header e.g., 'IMAGETYP' = 'BIAS' then translate
# by putting a line in the translation file:
# BIAS zero
# or maybe:
# "SKY FLAT" flat
# And one can use a third column in the translation file for defaults:
# biassec biassec [2057:2068,1:2048]
# Note that in the "2kvatt.cl" file, biassec can be default overridden by
# redefining it there for the ccdproc processing.
# To test if your translations between information set in the image headers
# and for use in ccdproc is ready, then
# After doing a
# cl> setinstrument.site=""
# cl> setinstrument.dir=""
# cl> setinstrument 2kvatt # you have the 2kvatt.dat
# and 2kvatt.cl files in directory
# then a cl> ccdlist files.imh should show if your translations are
# correct and active.
4) quit with :q (enter)
Last post on Mar 23, 2019