Host CL Scripting
jmiguel wrote on Jan 21, 2009
Hello folks!
I'm trying to run the next Linux Host CL script, but I get an error. Anyone can help me ?
Thanks very much.
I get the next error:
I'm trying to run the next Linux Host CL script, but I get an error. Anyone can help me ?
Thanks very much.
#!/disk-a/caha/iraf/irafbin/bin.suse/cl.e -f
# Identify login.cl version (checked in images.cl).
if (defpar ("logver"))
logver = "IRAF V2.12.2 January 2004"
set home = "/disk-a/caha/panic/iraf/"
set imdir = "/disk-a/caha/iraf/imdirs/panic/"
set uparm = "home$uparm/"
set userid = "panic"
# Set the terminal type.
if (envget("TERM") == "xterm") {
if (!access (".hushiraf"))
print "setting terminal type to xgterm..."
stty xgterm
} else {
if (!access (".hushiraf"))
print "setting terminal type to xgterm..."
stty xgterm
}
images
imutil
noao
imred
ccdred
real md
imcombine @mkflat.nip flat.fits comb=median offset=none \
scale=median zero=none reject=sigclip hsig=2.5 lsig=2.5
imstat flat.fits[100:900,100:900] field=midpt format- > "med.nip"
logout
I get the next error:
setting terminal type to xgterm...
ERROR: Cannot open connected subprocess (immatch$x_images.e)
cl ()
cl ()
ccdred ()
cl ()
imred ()
cl ()
noao ()
cl ()
cl ()
cl ()
imutil ()
cl ()
immatch ()
cl ()
imgeom ()
cl ()
imfit ()
cl ()
imfilter ()
cl ()
imcoords ()
images ()
cl ()
Error while reading login.cl file - may need to rebuild with mkiraf
Fatal startup error. CL dies.
rjp0i wrote on Jan 21, 2009
I was just having the same trouble, with a host cl script, and found the (simple) answer in an earlier post on these forums:
http://forums.iraf.net/viewtopic.php?t=86483&view=previous&sid=94c64e18a9da758ecff3fc9d3c059251
http://forums.iraf.net/viewtopic.php?t=86483&view=previous&sid=94c64e18a9da758ecff3fc9d3c059251
Last post on Jan 21, 2009