Welcome to iraf.net Thursday, March 28 2024 @ 10:36 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 instrument translation file?
   
wu_qso
 11/23/2013 06:55AM (Read 22998 times)  
++---
Junior

Status: offline


Registered: 06/04/2007
Posts: 29
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.

 
Profile Email
 Quote
wu_qso
 12/02/2013 07:19AM  
++---
Junior

Status: offline


Registered: 06/04/2007
Posts: 29
No one can help me?

 
Profile Email
 Quote
fitz
 12/02/2013 07:41AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

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.

 
Profile Email
 Quote
wu_qso
 12/10/2013 06:19AM  
++---
Junior

Status: offline


Registered: 06/04/2007
Posts: 29
The error remains after setting the 'instrument' parameter to the name of an empty file.

 
Profile Email
 Quote
Tae-Geun Ji
 12/10/2013 05:53PM  
+----
Newbie

Status: offline


Registered: 12/10/2013
Posts: 2
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 \$this->_split2($m[0])\$this->_split2($m[0]) 2.16.1)
The problem has been encountered.

 
Profile Email
 Quote
Tae-Geun Ji
 12/11/2013 07:49AM  
+----
Newbie

Status: offline


Registered: 12/10/2013
Posts: 2
In my case, solved problem.
But it may be temporary. Try this.

run IRAF,
\$this->_split2($m[0]) noao.imred.ccdred
ccdred\$this->_split2($m[0]) 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

 
Profile Email
 Quote
aguado
 08/12/2014 04:06PM  
+----
Newbie

Status: offline


Registered: 04/18/2014
Posts: 4
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 \$this->_split2($m[0]) noao.imred.ccdred
ccdred\$this->_split2($m[0]) 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

 
Profile Email
 Quote
fitz
 08/13/2014 03:28PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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\$this->_split2($m[0]) epar ccdred"). You can also do this on the commandline using

cl\$this->_split2($m[0]) ccdred.instrument = "ccddb$kpno/camera.dat"

but note that the IMRED package must be loaded first.

 
Profile Email
 Quote
jbkikwaya
 03/12/2019 06:29PM  
+----
Newbie

Status: offline


Registered: 12/07/2016
Posts: 3
To correct it do:

1) \$this->_split2($m[0]) 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)

 
Profile Email
 Quote
jbkikwaya
 03/23/2019 03:20AM  
+----
Newbie

Status: offline


Registered: 12/07/2016
Posts: 3
Quote by: jbkikwaya

To correct it do:


1) \$this->_split2($m[0]) 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\$this->_split2($m[0]) setinstrument.site=""
# cl\$this->_split2($m[0]) setinstrument.dir=""
# cl\$this->_split2($m[0]) setinstrument 2kvatt # you have the 2kvatt.dat
# and 2kvatt.cl files in directory
# then a cl\$this->_split2($m[0]) ccdlist files.imh should show if your translations are
# correct and active.

4) quit with :q (enter)


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