Joint Astronomy Centre
Show document only
JAC Home
JCMT
UKIRT
About the JAC
Contact Info
OMP
Outreach
Seminars
Staff-only Wiki
Weather
Web Cameras
____________________

JCMT home
Telescope
Pointing
Pointing with and without REMSKY

Pointing with and without REMSKY

  1. Work on ou - to allow lots of disk space
  2. On the web, find JAC web page, JAC archive, SCUBA data.
  3. select POINTING as observation type, 500 as max returned results, and enter a starting data, such as >01-jan-1998, meaning get as much as you can after 01-jan-1998.
  4. This should produce a list (allow time for the task to complete).
  5. Note the date of the last return so that you can iterate if necessary.
  6. Mark all datasets and press Retrieve (let it complete each stage !)
  7. Retrieve just the 'List'
  8. This generates on the web a .pf file with datanames attached.
  9. Save this (press the top-left web-page buttons 'File' and 'Save as') and save the .pl file to an appropriate directory.
  10. run this .pl file as ./.pl -orac
  11. This creates links to the pointing files and these 'appear' as files in this directory. The -orac flag makes the links sequential; as if they were all assigned to UT day 1 - this makes the oracdr analysis, later, easy.
  12. Initialize orac :
    • source /jcmt_sw_etc/login
    • setenv ORAC_DATA_IN
    • setenv ORAC_DATA_OUT
  13. You could run oracdr :
    • oracdr -ut 1 -from 1 -to -verbose -nodisplay -log=f
    This reduces the pseudo UT-day=1 data without graphical display, and with the reporting, in full, going to a file called .oracdr_nnnnnn.log. The summary data is in log.pointing.
  14. The .oracdr_nnnnn.log file should be grep-ed for the key entries. These should be put in a little file (currently pat1 in /home/imc/scuba/pointing/out2) containing these 4 lines :
    • REDUCING
    • integration(s) in
    • Centroid position:
    • Maximum pixel value
    and grep should be run as
    • grep -f pat1 .oracdr_nnnnn.log > outputfilename
  15. You'll find that the leading characters of the lines in the output are junky - trim this (and the first 'real' string) using
    • awk '{print $2, $3, $4, $5, $6, $7, $8, $9, $10}'
    with the input file being the above outputfilename and direct the output to another file. For convenience in the next step make this output filename n.lis1
  16. Run /home/imc/scuba/pointing/out2/get4.exe on n.lis1 to give n.lis2. Rename n.lis2 if you want to save this data.
  17. The default recipe for reduction of pointing is controlled by a file called SCUBA_POINTING in ORAC_RECIPE_DIR. You should copy this file into your default directory and do setenv ORAC_RECIPE_DIR .
  18. To repeat the oracdr reduction without remsky, edit SCUBA_POINTING to suppress remsky, or whatever else you'd like to do. To clean up the _reb.sdf files put system 'rm *_reb.sdf'; as the last line.


Iain Coulson
13 Sep 1999
Contact: Holly Thomas. Updated: Sat Nov 6 18:00:33 HST 2004

Return to top ^