IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 140 and Version 141 of ippToPsps


Ignore:
Timestamp:
Aug 3, 2011, 9:08:09 AM (15 years ago)
Author:
rhenders
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ippToPsps

    v140 v141  
    6565The reading and export of FITS tables is done using STILTS. For import, we can specify which columns we wish to import from the IPP smf and cmf files (we don't need everything).
    6666
    67 
    6867== Configuration ==
    6968
     
    7170
    7271Additionally, a more general configuration file is used to detail the names of databases, location of output files, datastore settings etc. The path to one of these configuration files is the sole argument to running the code (see below). An example can be seen [http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/browser/trunk/ippToPsps/jython/configs/lap.xml here]
     72
     73== dvoToMySQL ==
     74
     75For the special case where we have a 'locked' DVO database, i.e. one that is complete and will not grow any further, we can improve ippToPsps processing time by first generating MySQL tables that include all detection from DVO rather than just the detections-per-exposure (or stack) as above. For this we can use the dvoToMySQL tool.
     76
     77It may take a matter of days to convert a relatively small DVO database to MySQL, however, querying the MySQL database is hugely faster than accessing DVO directly, especially for regions of sky with a high density of detections, such as the medium deep fields. (This was seen when loading MD4 prior to the Boston meeting in May 2011. DVO access per exposure was 40 minutes, whereas, once imported to MySQL, query time was roughly 30 seconds.)
     78
     79=== Image ID confusion ==
     80
     81We access DVO via a combination of 'source ID' and 'image ID'. Both numbers come from the smf file. However, {{{IMAGE_ID}}} in the smf does not correspond to {{{IMAGE_ID}}} in DVO, instead, it maps to {{{EXTERN_ID}}} in the Images.dat file at the top-level of a given DVO database. The {{{IMAGE_ID}}} column of the same table maps instead to {{{IMAGE_ID}}} in the various 'cpm' (''measurements'') files contained within the subdirectories of the same DVO database.
    7382
    7483= Using the software =