CCD Data Reductions

The person in charge of the direct CCD data reductions is Mario Hamuy,
who is backed up by Miguel Roth. His duties are the following: 
  • Make a subdirectory in the /csp1/SWO/ directory following the CSP naming convention, i.e., 20020914_15 (e.g.), and FTP all the data to this subdirectory.
  • Get the observing log from here, so you can familiarize yourself
      with the data taken and the problems reported during the night.
  • Copy "snphot$README_SWO_DC" into current directory.
      Edit this reduction log file during the data processing.
  • Type "reset uparm=snphot$uparm_SWO_DC/".
  • Load 'snphot' package by typing 'snphot'.
  • Open DS9 window
  • Inspect the image headers with the task chkhead.
  • Use the task headers to update the airmass, JD, and UT in the image headers.
  • Type "ccdlist *fits" to check that imagetyp is properly set in headers.
    • If dome flats in any of the BVgri filters are missing, grab one from /csp1/opt_phot/calibrations and rename it to Dflat_x (chose one from a nearby date)
    • If sky flats in any of the uBVgri filters are missing, grab one from /csp1/opt_phot/calibrations and rename it to Sflat_x (chose one from a nearby date)
    • If some calibration image is not useful, rename from ccdxxx to Bccdxxx, so it doesn't get processed
  • Use the task ccd40 to process direct images through [OTZF].
  • Use the task spread to spread images in database.
      Note that this task will not copy the images to the database. It will just create a script file called "spread". To make the copy effective you need to type cl < spread Before using the script edit the file and get rid from this file the lines corresponding to dome or sky flats grabbed from other nights.
  • If photometric, you have to obtain the photometric calibration for the night
      and apply it to the photometric sequences (see the instructions here).
  • Record all the raw and reduced data in a DVD. For more information about burning DVDs click here. Label the DVD with the date, telescope, instrument, and the "RAW+PROCESSED" label. Leave the DVD in the CSP office in La Serena.
  • Once you have saved all the data in the DVD, erase all the *fits files from the subdirectory. Do not erase any of the remaining files.
  • All this subdirectory with the remaining files (without the fits files) should be copied into /csp1/SWO/. If you are working in csp1, csp2, or csp3 you just need to type: cp -r 20040831_01/ /csp1/SWO/ If you are not in any of the csp computers you will have to ftp the subdirectory to /csp1/SWO/.
  • Print the observing log and the reduction log files, put them in a folder, and leave it in the CSP office in La Serena.
      Carnegie Supernova Program