gpxytest

Test if guide probe X,Y positions are valid. This is a very simple-minded approach using a set of XY point files (points.*) we obtained Linda Elliot (the programmer who wrote the code for the probe control). In order for the gpxytest.sh code to work, we need to have these files present. Hence, I store the files in:

 
$critfiles/het_probes

On scohome:
% echo $critfils
/home/sco/sco/codes/fortran/gfortran_compiler/lmgf/src/critical_files
% ls $critfils/het_probes
points.g1  points.g2  points.w1  points.w2  README

**** Of course, I also keep a copy of these files with the 
     source code for gpxytest.sh:
     % ls $codes/fortran/gfortran_compiler/otw/src/gpxytest/T//point_files
     points.g1  points.g2  points.w1  points.w2  README

The script for running gpxytest will handle pulling the points.* files over to your working location when they are needed (as long as the system variable $critfils is properly se!).
% ls
points.g1  points.w1  
points.g2  points.w2

%  gpxytest.sh 0.1681 -0.0800 gc1
Y

Usage: gpxytest.sh 0.1681 -0.0800 gc1 
arg1 - Telecen_X (degrees)
arg2 - Telecen_Y (degrees)
arg3 - probe (gc1,gc2,wf1,wf2)

YES cases:
% gpxytest.sh 0.1681 -0.0800 gc1 
Y
% gpxytest.sh 0.0280 0.1480 gc2
Y

NO cases:
% gpxytest.sh 0.0000 +0.1800 gc1 
N
% gpxytest.sh 0.1280 0.1480 gc2
N




Back to SCO CODES page