IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40030


Ignore:
Timestamp:
May 11, 2017, 10:55:55 AM (9 years ago)
Author:
eugene
Message:

updates to ipptopsps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/release.2015/ps1.datasystem/datasystem.tex

    r40029 r40030  
    9292\begin{verbatim}
    9393MAJOR TODO ITEMS:
    94 * introduce and describe RINGS.V3 in or before warp section (refer to Waters if appropriate)
    9594* re-read and trim details as needed (referring to the other papers)
    96 * re-write the DVO description using topics list given
    97 * write discussion of calibration operations (refer to cal paper)
    98 * write IPP to PSPS summary
    99 * write PSPS Load and Merge summary (use Flewelling paper for ref)
    10095* add some specific numbers (data volume, processing times, etc)
    10196\end{verbatim}
     
    121116Advanced Technology Research Center in Kula, the main facility of the
    122117University of Hawaii's Institute for Astronomy operations on Maui.
     118The Pan-STARRS1 filters and photometric system have already been
     119described in detail in \cite{2012ApJ...750...99T}.
    123120
    124121For nearly 4 years, from 2010 May through 2014 March, this telescope
     
    141138database which is a critical element in the IPP infrastructure.
    142139
     140This paper (Paper II) presents a description of the Pan-STARRS data handling
     141systems, with an emphasis on the Image Processing Pipeline (IPP).  The
     142Pan-STARRS Image Processing Pipeline consists of a suite of software
     143programs and data systems that are designed to reduce astronomical
     144images, measure astronomical sources on the images, perform the
     145calibration, and distribute the results to various users.  The
     146processing system includes extensive parallelization across a large
     147cluster of computers in order to process the large amount of data
     148generated by the Pan-STARRS\,1 telescope.
     149
    143150%Chambers et al. 2017 (Paper I)
    144151%The Pan-STARRS\,1 Surveys
     
    182189%Huber et al. 2017 (Paper VII)
    183190describes the Medium Deep Survey in detail, including the unique issues and data products specific to that survey. The Medium Deep Survey is not part of Data Release 1. (DR1)
    184 
    185 %
    186 The Pan-STARRS1 filters and photometric system have already been
    187 described in detail in \cite{2012ApJ...750...99T}.
    188 
    189 This paper presents a description of the Pan-STARRS data handling
    190 systems, with an emphasis on the Image Processing Pipeline (IPP).  The
    191 Pan-STARRS Image Processing Pipeline consists of a suite of software
    192 programs and data systems that are designed to reduce astronomical
    193 images, with the parallelization necessary to speed the processing of
    194 the large images produced by the GPC1 camera. 
    195 
    196 Part of this parallelization is derived from the fact that this camera
    197 consists of 60 independent orthogonal transfer array (OTA) devices,
    198 and can therefore be processed simultaneously.  Although there are
    199 multiple stages that operate on an entire exposure at once, the
    200 majority of stages operate only on smaller segments of a full exposure
    201 to allow the processing tasks to be spread over the machines in the
    202 processing cluster. \note{move elsewhere?}
    203191
    204192Section~\ref{sec:overview} provides an overview of the full data
     
    552540originally expected.
    553541
     542\note{keep this paragraph?}
     543
     544Part of this parallelization is derived from the fact that this camera
     545consists of 60 independent orthogonal transfer array (OTA) devices,
     546and can therefore be processed simultaneously.  Although there are
     547multiple stages that operate on an entire exposure at once, the
     548majority of stages operate only on smaller segments of a full exposure
     549to allow the processing tasks to be spread over the machines in the
     550processing cluster.
     551
    554552%% In the \ippstage{chip} stage,
    555553%% the individual OTA image files are processed independently in parallel
     
    710708\label{sec:warp}
    711709
    712 \note{need to describe the RINGS.V3 tessellation and others}
     710\note{re-read and improve the text: better description of RINGS.V3 and
     711  other related tessellations.}
    713712
    714713The \ippstage{warp} stage moves the data from a given exposure beyond
     
    11101109\section{Post-Processing : Database Ingest and Calibration}
    11111110\label{sec:postprocessing}
     1111
     1112\note{introduction to this section: data ingested into DVO database,
     1113  database gets calibrated, data ingested into PSPS via IPP to PSPS}
    11121114
    11131115\begin{table}[hb]
     
    16261628astrometry is again performed this time using the corrected positions.
    16271629
    1628 Photometric calibration involved the efforts of external collaborative
    1629 analysis.
    1630 
    1631 \begin{verbatim}
    1632 * data goes to harvard
    1633 * eddie determines the zero points for photometric data
    1634 * zero points are returned to ifa
    1635 * zero points are applied to the DVO
    1636 * systematic errors are measured (high-resolution flat-field)
    1637 * applied back to DVO
    1638 * relative photometry measured for non-photometric data
    1639 \end{verbatim}
    1640 
    1641 \subsection{IPP to PSPS}
     1630Photometric calibration consists of determination of zero points for
     1631each exposure along with corrections for systematic effects.  In this
     1632case, we rely on efforts of our external collaborators for the initial
     1633zero point determination.  The team at CfA downloaded the per-exposure
     1634catalog files (`smf files') and determined the zero points of those
     1635exposures which were believed to be obtained in photometric
     1636conditions.  This process, called `\"ubercal', is described in detail
     1637by \cite{ubercal} for the first (PV1) version.  In brief, photometric
     1638periods, with time-scales of at least \note{half of a night}, are
     1639identified by a combination of automatic analysis and manual
     1640inspection.  A single solution for all images in a given filter is
     1641determined to minimize scatter for individual stars.  The free
     1642parameters in this solution consist of a single zero point and airmass
     1643slope for each photometric period along with a collection of
     1644flat-field offsets for several large time range (`flat-field
     1645seasons').  For the PV3 \"ubercal analysis, the flat-field offsets
     1646were determined on a $2\times2$ grid for each chip and 5 flat-field
     1647seasons were chosen (listed in Table~\ref{tab:flat-field-seasons}).
     1648The boundaries of the flat-field seasons were determined by
     1649independent inspection of the residuals observed in the Medium Deep
     1650fields.
     1651
     1652After the \"ubercal analysis of the photometric periods is completed,
     1653the determined zero points, airmass corrections, and flat-field terms
     1654are transmitted back to the IfA IPP team.  These values are then
     1655ingested into the master DVO database.  An initial relative photometry
     1656analysis is performed to tie the images without \"ubercal zero points
     1657to the \"ubercal system.  Zero points from the \"ubercal analysis are
     1658not allowed to change, but zero points of the rest of the exposures
     1659are determined to minimize the photometric scatter for bright stars.
     1660These zero points are determined uniquely for each image.  After an
     1661initial relative photometry analysis, the photometric residuals are
     1662used to determine a systematic correction as function of position in
     1663the camera.  This correction is equivalent to the flat-field
     1664corrections determined as part of the \"ubercal analysis, but are much
     1665higher spatial resolution ($40\times40$ corrections per chip) and are
     1666determined for only the full time range of PV3.  This high-resolution
     1667flat-field correction addresses photometric variations due to spatial
     1668variations in the PSF due to the optics and low-level effects on the
     1669chips \citep[see][]{magnier2017c}.  After the systematic corrections
     1670have been determined and applied back to the database, a final
     1671relative photometry analysis pass is performed.
     1672
     1673\subsection{Construction of the PSPS database}
    16421674\label{sec:ipp2psps}
    1643 \note{Default to pointing to Flewelling et al 2017?}
    1644 
    1645 \begin{verbatim}
    1646 \end{verbatim}
    1647 
    1648 \subsection{PSPS Load and Merge}
    1649 \label{sec:psps}
    1650 \note{Default as well to pointing to Flewelling et al 2017?}
     1675
     1676The publically-visible Pan-STARRS database is hosted by the Space
     1677Telescope Sciences Institute through their Mikulski Archive for Space
     1678Telescopes (MAST).  The underying database at MAST is a copy of a
     1679database generated at the Institute for Astronomy by the subsystem
     1680called PSPS : the \note{define PSPS}.  The construction of the PSPS
     1681version of the PS1 database starts once the PS1 photometry and
     1682astrometry measurements have been calibrated within the DVO system.
     1683The construction takes place in several stages, described in detail by
     1684\cite{flewelling2017}.  We summarize those steps here.
     1685
     1686The first stage of constructing the PSPS database consists of the
     1687generation of small files called `batches' which contain a complete
     1688set of measurements for a small chunk of the database tables.  The
     1689program which is responsible for the construction of these batches is
     1690called \ippprog{ipptopsps}.  Several different types of batches are
     1691generated, relating to the different types of tables in PSPS.  The
     1692details of the batch construction depend on the batch type. 
     1693
     1694One type of batch consists of measurements from the individual
     1695exposures.  These batches are generated based on the output catalog
     1696files generated at the \ippstage{camera} stage (`smf files').  The
     1697\ippprog{ipptopsps} program loads the complete set of measurements and
     1698metadata from the smf catalog file, then queries the DVO database for
     1699calibration parameters related to that smf file.  The batch is
     1700constructed by applying the photometric calibrations to the raw flux
     1701measurements in the smf file.
     1702
     1703A second type of batch file consists of the measurements related to
     1704the stack images.  Again, \ippprog{ipptopsps} starts with the output
     1705catalog files, selects the appropriate calibration information from
     1706the DVO, and applies the calibration data to the raw measurements in
     1707the stack catalog files.
     1708
     1709A third type of batch file consists of average properties of the
     1710astronomical objects in the DVO database.  Unlike the other two batch
     1711types, this operation is performed solely via queries to the DVO
     1712database.  The complete set of average measurements for objects in a
     1713single DVO spatial partition are loaded by \ippprog{ipptopsps} and
     1714used to generate the batch file. 
     1715
     1716As the batch files above are generated, the PSPS system can run in
     1717parallel to ingest the measurements from these batch files.  PSPS
     1718downloads in sequence the batch files as they are generated and
     1719unpacks the data.  The data are then loaded into a small-scale version
     1720of the PSPS database, using the full schema.  After a large chunk of
     1721batches have been loaded, the resulting tables are then merged into
     1722the master PSPS database.  After another large chunk of data has been
     1723merged into the master PSPS database, a large-scale copy of the
     1724database is made internally to provide a long-term backup and to aid
     1725in error recovery.
     1726
     1727Once the full PSPS database has been loaded, or a complete set of
     1728batches for a given batch type, the entire database is copied to
     1729STScI where it can then be made visible either to the Pan-STARRS
     1730Science Consortium or to the wider public.
    16511731
    16521732\section{Operations and Automation}
Note: See TracChangeset for help on using the changeset viewer.