June 5, 2019

Imtool and odisp tricks and tips

When I run the oven imtool script, I get a message about a missing file:
/usr/local/lib/imtoolcmap/rainbow2.lut
Using "locate" on my linux system (try that on an old sun), I find the file is available in cp /u1/iraf/iraf_2.16.1/vendor/x11iraf/ximtool/luts/rainbow2.lut .
su
cd /usr/local/lib
mkdir imtoolcmap
cd imtoolcmap
cp /u1/iraf/iraf_2.16.1/vendor/x11iraf/ximtool/luts/rainbow2.lut .

Fonts

Ximtool also warns about a long list of missing fonts. This doesn't really matter much, but if you get tired of these warnings, do this:
su
dnf install xorg-x11-fonts*

odisp param values

There is no odisp.par file, but there can be sneaky hidden settings that only epar will reveal. It turns out that there ain't none that matter. Odisp does require a valid set of parameters to be loaded into the database.

Here is what I see on my linux system:

(noven  =                    0) Oven number
(ncomp  =                    0) Computer number
(informa=                 ttmp) information: "hpwr|htmp|ttmp"
(aspect =                 base) aspect: "base|lid|wall|mold|alum"
(date   =                INDEF) date (yymmdd); INDEF for current
(time   =                INDEF) time (hhmm); INDEF for latest
(display=                  yes) display image?
(frame  =                    1) frame to be written into
(auto   =                  yes) auto-scale intensities?
(z1     =                INDEF) intensity value to be black
(z2     =                INDEF) intensity value to be white
(showtc =                   no) show thermocouple locations?
(interpo=                   no) interpolate heater information to form a smooth 
(order  =                    0) spatial interpolator order (0 = replicate, 1 = l
(searchd=                     ) search list of directories to find data files
(datadir=               uparm$) directory in which to write image files
(silent =                  yes) don't report min/max values

Here are how things are set for one of the old suns (crater:pilot).

(noven  =                    0) Oven number
(ncomp  =                    0) Computer number
(informa=                 ttmp) information: "hpwr|htmp|ttmp"
(aspect =                 base) aspect: "base|lid|wall|mold|alum"
(date   =                INDEF) date (yymmdd); INDEF for current
(time   =                INDEF) time (hhmm); INDEF for latest
(display=                  yes) display image?
(frame  =                    1) frame to be written into
(auto   =                  yes) auto-scale intensities?
(z1     =                INDEF) intensity value to be black
(z2     =                INDEF) intensity value to be white
(showtc =                   no) show thermocouple locations?
(interpo=                   no) interpolate heater information to form a smooth
(order  =                    0) spatial interpolator order (0 = replicate, 1 = l
(searchd=                     ) search list of directories to find data files
(datadir=               uparm$) directory in which to write image files
(silent =                  yes) don't report min/max values

The values for dorado:pilot2 look the same, except the search directory is set to /home/pilot2


Have any comments? Questions? Drop me a line!

Tom's home page / tom@mmto.org