Example 0

Here I compile I few notes on installing ubcone and testing that the code runs properly.

Source and compile notes: 
/home/mcs/sco/codes/c/ubcone/

Basic install:
A new ubcone 64-bit version now seems to work!

  cd $supbin
  cp $LMSRC/ubcone/SAVE/UBC.1.5b.tgz .
  
  ON MCS:   cd /home/mcs/sco/codes/c/ubcone/

  gunzip UBC.1.5b.tgz
  tar xvf UBC.1.5b.tar
  rm UBC.1.5b.tar
  cd UBCone1.5b
  ln -s Makefile.ubcone.linux Makefile
  make clean
  make all

To test the ubcone, see run script and sample output file in:
/home/mcs/sco/codes/c/ubcone/Tests/test1

The USNB B2.0 catalog was lost from /data1 in Nov2011
Leo has recovered it with a USB copy I made some time
in the past (not sure when).

The system variable we need from banzia now:
# Define path to USNO catalog
setenv USNOBDIR /usno/usnob

I constructed the script here to make future quick tests possible.
The file I made Dec06 is called: Tmp_usnob.asc_Dec06_2011

The run script (RUN_TEST1) to make the test:


#
# Test the USNO catalog 
# Test against the file run on banzai Dec6,2011
#
ubcone -Z S -O Tmp -F B -p 80.0 -s 0.2 -L B2 -I 3.0 -i 9.0
echo "   "
echo "   "
echo "   "
echo "   "
echo "The new test file (Tmp_usnob.asc) is constructed"
echo "   "
echo "Here is the diff with the standard: Tmp_usnob.asc_Dec06_2011"
echo "   "
diff Tmp_usnob.asc Tmp_usnob.asc_Dec06_2011

Another useful example is running ubcone in a declination strip:
 

Example of DEC strip query:
   ../ubcone -Z S -O Tmp -F B -p 80.0 -s 0.2 -L B2 -I 3.0 -i 9.0
-F B    = region is a dec band
-p 80   = center DEC of the dec band
-s 0.2  = dec width of dec band is 0.2 degrees
-L B2   = use the B2 mags for magnitude limits specs
-I 3.0  = bright limit for objects
-i 9.0  = faint limit for objects




Back to SCO CODES page