Changeset 40715
- Timestamp:
- May 6, 2019, 10:05:31 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/release.2015/ps1.datasystem/datasystem.tex
r40696 r40715 1100 1100 eventual public released. 1101 1101 1102 When a \ippstage{diff} processing is defined, an entry is added to the 1103 \ippdbtable{diffRun} table, and the appropriate input images are added 1104 to the \ippdbtable{diffInputSkyfile} table, with one entry for each 1105 skycell that is covered by the images. For a \ippstage{diff} 1106 generated from two \ippstage{warp} stage products, the input images 1107 have their \ippdbcolumn{warp_id} values recorded in the 1108 \ippdbcolumn{warp1} and \ippdbcolumn{warp2} for each skycell that 1109 overlaps. If two \ippstage{stack} stages are to be used in the 1110 difference, their \ippdbcolumn{stack_id} entries are recorded in the 1111 \ippdbcolumn{stack1} and \ippdbcolumn{stack2} fields. As each 1112 \ippstage{stack} only covers a single skycell, the \ippstage{diff} is 1113 usually defined indirectly, using other information from the 1114 \ippdbtable{stackRun} table to select appropriate 1115 \ippdbcolumn{stack_id} values. Similarly, \ippstage{diff} processing 1116 is defined for the mixed case by creating entries that populate one of 1117 \ippdbcolumn{warp1} and \ippdbcolumn{stack1} and populating one of 1118 \ippdbcolumn{warp2} and \ippdbcolumn{stack2}. In all cases, the 1119 minuend of the subtraction to be performed is the ``1'' entry, and the 1120 subtrahend is the ``2'' entry. 1121 1122 Jobs are created based on the entries of 1123 \ippdbtable{diffInputSkyfile}, with the appropriate images and 1124 catalogs passed to the \ippprog{ppSub} program. This does the 1125 subtraction, as well as the photometry of any sources detected in the 1126 \ippstage{diff} image. Sources may be detected as a positive source 1127 (flux in the minuend is higher than the subtrahend) or as a negative 1128 source (flux in the subtrahend is higher). The algorithm used for PSF 1129 matching is described in Paper III. Upon completion of these 1130 jobs, statistics about the processing are written to an entry in the 1131 \ippdbtable{diffSkyfile} table. An \ippmisc{advance} checks for the 1132 completion of all of the components listed in 1133 \ippdbtable{diffInputSkyfile}, and marks the \ippdbtable{diffRun} 1134 entry as such. 1135 1136 \section{Post-Processing : Database Ingest and Calibration} 1137 \label{sec:postprocessing} 1138 1139 \subsection{DVO} 1140 \label{sec:DVO} 1141 1142 \subsubsection{Overview} 1143 1144 % intro 1145 The Pan-STARRS IPP uses an internal database system, distinct from the 1146 publicly visible database system, to determine the association 1147 between multiple detections of the same astronomical object and as 1148 part of the astrometric and photometric calibration process. This 1149 database system, called the ``Desktop Virtual Observatory'' (DVO) was 1150 developed originally for the LONEOS project 1151 \citep{1995DPS....27.0110B}, and used as part of the CFHT Elixir 1152 system \citep{2004PASP..116..449M}. The capabilities of this 1153 databasing system have been somewhat expanded for the Pan-STARRS 1154 context. 1155 1156 % overview 1157 DVO tracks three main classes of information: 1) average properties of 1158 astronomical objects; 2) measurements of those objects (from which the 1159 average properties are derived); 3) properties of the images which 1160 provided some or all of the measurements. In addition, certain 1161 metadata tables define general features of the database. 1162 Table~\ref{tab:DVO_schema} lists the full collection of database 1163 tables used by DVO. 1164 1165 In the most basic implementation, a collection of measurements for 1166 detections from a set of images is loaded into DVO along with the 1167 metadata describing the images. The latter includes properties such 1168 as the exposure time, airmass, filter, time \& date of the exposure, 1169 etc. Critically, the image metadata includes an astrometric 1170 transformation relating the detection coordinate on the image to the 1171 coordinate on the sky. As the collection of measurements are loaded 1172 into DVO, the software constructs astronomical objects based on those 1173 detections. If images overlap, multiple observations of the same 1174 astronomical object are grouped together. Thus, a single DVO database 1175 will contain a one-to-many relationship between the images and the 1176 measurements and a many-to-one relationship between the measurements 1177 and the derived astronomical objects. 1178 1179 \subsubsection{DVO Schema} 1180 1181 \begin{table*}[hb] 1102 \begin{table*} 1182 1103 \begin{center} 1183 1104 \caption{DVO Database Tables\label{tab:DVO_schema}} … … 1202 1123 \end{center} 1203 1124 \end{table*} 1125 1126 When a \ippstage{diff} processing is defined, an entry is added to the 1127 \ippdbtable{diffRun} table, and the appropriate input images are added 1128 to the \ippdbtable{diffInputSkyfile} table, with one entry for each 1129 skycell that is covered by the images. For a \ippstage{diff} 1130 generated from two \ippstage{warp} stage products, the input images 1131 have their \ippdbcolumn{warp_id} values recorded in the 1132 \ippdbcolumn{warp1} and \ippdbcolumn{warp2} for each skycell that 1133 overlaps. If two \ippstage{stack} stages are to be used in the 1134 difference, their \ippdbcolumn{stack_id} entries are recorded in the 1135 \ippdbcolumn{stack1} and \ippdbcolumn{stack2} fields. As each 1136 \ippstage{stack} only covers a single skycell, the \ippstage{diff} is 1137 usually defined indirectly, using other information from the 1138 \ippdbtable{stackRun} table to select appropriate 1139 \ippdbcolumn{stack_id} values. Similarly, \ippstage{diff} processing 1140 is defined for the mixed case by creating entries that populate one of 1141 \ippdbcolumn{warp1} and \ippdbcolumn{stack1} and populating one of 1142 \ippdbcolumn{warp2} and \ippdbcolumn{stack2}. In all cases, the 1143 minuend of the subtraction to be performed is the ``1'' entry, and the 1144 subtrahend is the ``2'' entry. 1145 1146 Jobs are created based on the entries of 1147 \ippdbtable{diffInputSkyfile}, with the appropriate images and 1148 catalogs passed to the \ippprog{ppSub} program. This does the 1149 subtraction, as well as the photometry of any sources detected in the 1150 \ippstage{diff} image. Sources may be detected as a positive source 1151 (flux in the minuend is higher than the subtrahend) or as a negative 1152 source (flux in the subtrahend is higher). The algorithm used for PSF 1153 matching is described in Paper III. Upon completion of these 1154 jobs, statistics about the processing are written to an entry in the 1155 \ippdbtable{diffSkyfile} table. An \ippmisc{advance} checks for the 1156 completion of all of the components listed in 1157 \ippdbtable{diffInputSkyfile}, and marks the \ippdbtable{diffRun} 1158 entry as such. 1159 1160 \section{Database Ingest and Calibration} 1161 \label{sec:postprocessing} 1162 1163 \subsection{DVO} 1164 \label{sec:DVO} 1165 1166 \subsubsection{Overview} 1167 1168 % intro 1169 The Pan-STARRS IPP uses an internal database system, distinct from the 1170 publicly visible database system, to determine the association 1171 between multiple detections of the same astronomical object and as 1172 part of the astrometric and photometric calibration process. This 1173 database system, called the ``Desktop Virtual Observatory'' (DVO) was 1174 developed originally for the LONEOS project 1175 \citep{1995DPS....27.0110B}, and used as part of the CFHT Elixir 1176 system \citep{2004PASP..116..449M}. The capabilities of this 1177 databasing system have been somewhat expanded for the Pan-STARRS 1178 context. 1179 1180 % overview 1181 DVO tracks three main classes of information: 1) average properties of 1182 astronomical objects; 2) measurements of those objects (from which the 1183 average properties are derived); 3) properties of the images which 1184 provided some or all of the measurements. In addition, certain 1185 metadata tables define general features of the database. 1186 Table~\ref{tab:DVO_schema} lists the full collection of database 1187 tables used by DVO. 1188 1189 In the most basic implementation, a collection of measurements for 1190 detections from a set of images is loaded into DVO along with the 1191 metadata describing the images. The latter includes properties such 1192 as the exposure time, airmass, filter, time \& date of the exposure, 1193 etc. Critically, the image metadata includes an astrometric 1194 transformation relating the detection coordinate on the image to the 1195 coordinate on the sky. As the collection of measurements are loaded 1196 into DVO, the software constructs astronomical objects based on those 1197 detections. If images overlap, multiple observations of the same 1198 astronomical object are grouped together. Thus, a single DVO database 1199 will contain a one-to-many relationship between the images and the 1200 measurements and a many-to-one relationship between the measurements 1201 and the derived astronomical objects. 1202 1203 \subsubsection{DVO Schema} 1204 1204 1205 1205 \paragraph{Photcodes} … … 2594 2594 the Moab job control file was constructed. 2595 2595 2596 \begin{table} 2597 \caption{\label{tab:SC_processing_parameters} Cost values for remote processing} 2598 \begin{center} 2599 \begin{tabular}{lcc} 2600 \hline 2601 \hline 2602 {\bf IPP Stage} & {\bf $t_\mathrm{task}$ (s)} & {\bf $S_\mathrm{task}$} \\ 2603 \hline 2604 \ippstage{chip} & 150 & 2 \\ 2605 \ippstage{camera} & 1700 & 2 \\ 2606 \ippstage{warp} & 110 & 2 \\ 2607 \ippstage{stack} & 1500 & 6 \\ 2608 \ippstage{staticsky} & 7200 & 6 \\ 2609 % \ippstage{diff} & 300 & 2 \\ 2610 \ippstage{fullforce} & 300 & 2 \\ 2611 \hline 2612 \end{tabular} 2613 \end{center} 2614 \end{table} 2615 2596 2616 The control file contains the resource requests for the job, as well 2597 2617 as the commands to be executed to complete it. The resource request … … 2612 2632 values used for the various IPP processing stages. 2613 2633 2614 \begin{table*}2615 \caption{\label{tab:SC_processing_parameters} Cost values for remote processing}2616 \begin{center}2617 \begin{tabular}{lcc}2618 \hline2619 \hline2620 {\bf IPP Stage} & {\bf $t_\mathrm{task}$ (s)} & {\bf $S_\mathrm{task}$} \\2621 \hline2622 \ippstage{chip} & 150 & 2 \\2623 \ippstage{camera} & 1700 & 2 \\2624 \ippstage{warp} & 110 & 2 \\2625 \ippstage{stack} & 1500 & 6 \\2626 \ippstage{staticsky} & 7200 & 6 \\2627 % \ippstage{diff} & 300 & 2 \\2628 \ippstage{fullforce} & 300 & 2 \\2629 \hline2630 \end{tabular}2631 \end{center}2632 \end{table*}2633 2634 2634 Once the preparation for the job is complete, the input and output 2635 2635 file lists, the task list, and the job control file are transferred … … 2690 2690 cluster as other users started to utilize the system, with 168,685 / 2691 2691 994,890 runs processed there. 2692 2693 %% add a discussion of lessons-learned?2694 2692 2695 2693 \section{Conclusion}
Note:
See TracChangeset
for help on using the changeset viewer.
