[lsst-dm-stack-users] Running tasks on the LSST pipeline

Robert Lupton the Good rhl at astro.princeton.edu
Wed Jul 17 09:34:17 PDT 2013


One thing to add is that in response to popular demand there's now also "processFile.py" (available from git at github.com:LSST-nonproject/obs_file.git) which allows you to process a single flat-fielded frame, e.g.

> $ processFile.py CORR00281173.fits --clobber-config
> 2013-07-17T16:29:19: : Loading config overrride file '/Users/rhl/LSST/obs/file/config/processFile.py'
> 2013-07-17T16:29:19: : Loading config overrride file '/Users/rhl/LSST/obs/file/config/processFile.py'
> 2013-07-17T16:29:19: : input=/Users/rhl/Astromatic/Example
> 2013-07-17T16:29:19: : output=/Users/rhl/Astromatic/Example/rerun/rhl
> 2013-07-17T16:29:19: CameraMapper WARNING: Unable to locate registry registry in root: /Users/rhl/data/rerun/rhl/registry.sqlite3
> 2013-07-17T16:29:19: CameraMapper WARNING: Unable to locate registry registry in current dir: ./registry.sqlite3
> 2013-07-17T16:29:19: CameraMapper WARNING: No registry loaded; proceeding without one
> 2013-07-17T16:29:19: processFile: Processing {'calexp': 'CORR00281173'}
> 2013-07-17T16:29:20: processFile.calibrate.repair: Identified 80 cosmic rays.
> 2013-07-17T16:29:24: processFile.calibrate.detection: Detected 644 positive sources to 5 sigma.
> 2013-07-17T16:29:24: processFile.calibrate.detection: Resubtracting the background after object detection
> 2013-07-17T16:29:25: processFile.calibrate.initialMeasurement: Measuring 644 sources
> 2013-07-17T16:29:26: processFile.calibrate.measurePsf: Measuring PSF
> 2013-07-17T16:29:26: processFile.calibrate.measurePsf: PSF star selector found 125 candidates
> 2013-07-17T16:29:28: processFile.calibrate.measurePsf: PSF determination using 71/125 stars.
> 2013-07-17T16:29:29: processFile.calibrate.repair: Identified 69 cosmic rays.
> 2013-07-17T16:29:30: processFile.calibrate: Fit and subtracted background
> 2013-07-17T16:29:33: processFile.detection: Detected 6024 positive sources to 5 sigma.
> 2013-07-17T16:29:33: processFile.detection: Resubtracting the background after object detection
> 2013-07-17T16:29:34: processFile.measurement: Measuring 6024 sources
> 2013-07-17T16:29:55: processFile WARNING: Persisting background models
> 2013-07-17T16:29:56: processFile: Matching icSource and Source catalogs to propagate flags.

The output format could be tidier, but that's fixable.  Currently:
> $ ls rerun/rhl/CORR00281173*
> rerun/rhl/CORR00281173.fits
> 
> rerun/rhl/CORR00281173:
> background.fits                 icSrc.fits                      processFile_metadata.boost      src.fits


					R





More information about the dm-users mailing list