>  Docs Center  >  Libraries  >  Buie  >  RAW2CAT
Libraries

RAW2CAT

RAW2CAT

Name


  raw2cat

Purpose


  Determine standard magnitudes of crowded sources for the raw2 catalog.

Description


  Works on one night's worth of data

Category


  Photometry

Calling Sequence


  raw2cat,catid,rundate

Inputs


  catid - String, catid of data you wish to use (ex: PL2010)
  rundate - String, night of data you wish to use (ex. 100704)

Optional Input Parameters


Keyword Input Parameters


  nosave - Flag, stops writing into database

Outputs


Common Blocks


Side Effects


Restrictions


  At the moment, this routine is pretty specific to our local data reductions
  here. Paths, filter handling, and database setup are all very specific.

Procedures


  In a single night's reduced directory, reads the reduc.inf file to get
  rundate and instrument.
  Gets coefficients from psf hdr.
  Reads in data from roboccd for that rundate using objpatt input - for
  2010 data, objpatt='PL2010%' - and from .sr2 files.
  Subtracts the Stage1 catalog from the data.
  Puts remaining sources through colorsol, which returns final magnitudes.
  Generates Raw2 catalog using input catid - for 2010 data, id='PL2010' -
  and writes into the plphot table of phot database.

Modification History


  2013/12/15 Written by Erin R. George, Southwest Research Institute
  2014/12/29, MWB, updates for final processing based on new phocal.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us