this is how I make my plots...

Step 1: on ippc18 get whatever has been processed in LAP label for addstar etc:

mysql -h ippdb01 -u ipp -pipp gpc1 < grab_cam_LAP.sql > cam.20130215.txt
mysql -h ippdb01 -u ipp -pipp gpc1 < grab_skycal_LAP.sql > skycal.20130215.txt

Step 2: rsync those files back home:

rsync -rvua skycal.20130215.txt heather@canoes:
rsync -rvua cam.20130215.txt heather@canoes:

Step 3: parse the .txt files to something for my script:

perl mangle.LAP.cam.pl cam.20130215.txt > cam.20130215.mng
perl mangle.LAP.cam.pl skycal.20130215.txt > skycal.20130215.mng

(yes, same perl script for both)

Step 4: edit plot.cam.py and plot.sky.py to use the correct input files and make the correct output files

Step 5: run plot.cam.py and plot.sky.py

python plot.cam.py
python plot.sky.py

Step 6: look at plots :)

(see http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/AddStarLap20120706)

