Changeset 28065
- Timestamp:
- May 21, 2010, 11:51:17 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/doc/stamps/stampsICD.tex (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/stamps/stampsICD.tex
r27212 r28065 9 9 \project{Pan-STARRS IPP} 10 10 \organization{Institute for Astronomy} 11 \version{ DR}12 \docnumber{PSDC-940- xxx}11 \version{1.0} 12 \docnumber{PSDC-940-011-00} 13 13 14 14 \newcommand\ugriz{$u^\prime g^\prime r^\prime i^\prime z^\prime$} … … 49 49 Each row in a request table contains a postage stamp request specification. 50 50 Each request specification causes zero or more postage stamp jobs to be processed. 51 An image isadded to the output file set for each successful job.51 Images are added to the output file set for each successful job. 52 52 53 53 The request specification give the parameters that the PSS uses to determine the images of interest … … 125 125 126 126 \subsubsection{Image Types} 127 All requests need IMG\_TYPE. This parameter selects the stage inthe processing pipeline127 All requests need IMG\_TYPE. This parameter selects the stage of the processing pipeline 128 128 for the images of interest. 129 129 The allowed values for IMG\_TYPE are raw, chip, warp, diff, and stack. … … 139 139 IMG\_TYPE that contain the center. 140 140 The set of images of interest may be limited by specifying certain criteria as described 141 in Section \ref{ImageCuts}. NOTE: this request type is not yet implemented.141 in Section \ref{ImageCuts}. 142 142 143 143 \item{\textbf{byexp}} The image of interest is the image resulting from a particular exposure … … 149 149 150 150 \item{\textbf{bydiff}} The image with given IMG\_TYPE corresponding to the difference image 151 whose IMAGEIDis equal to ID. This type is useful for requesting stamps based on difference detections.151 whose diff\_skyfile\_id is equal to ID. This type is useful for requesting stamps based on difference detections. 152 152 153 153 \item{\textbf{byskycell}} Images are selected from the skycell with skycell\_id equal to the 154 154 value for COMPONENT from the tessellation identified by TESS\_ID. This request type may be 155 used onlywith IMG\_TYPE warp, stack, and diff.155 used with IMG\_TYPE warp, stack, and diff. 156 156 The set of images may be limited by filter and date as described in Section \ref{ImageCuts}. 157 NOTE: this request type is not yet implemented. 157 158 158 159 159 \end{itemize} … … 231 231 the stamps are created the cells are mosaicked into a single image.) 232 232 233 Any fractional parts in pixel coordinate values are ignored. (XXX: is that true?) 234 235 For JOB\_TYPE stamp the value of \code{OPTION\_MASK} is used to select various other options.233 \subsection{Request Options} 234 235 For \code{JOB_TYPE} stamp the value of \code{OPTION_MASK} is used to select various other options. 236 236 It is a bitwise OR of the following values. 237 237 … … 239 239 \begin{center} 240 240 \caption{}\label{optionmask} 241 \begin{tabular}{ll} 242 \hline 243 \hline 244 {\bf OPTION\_MASK value} & {\bf Description } \\ 245 \hline 246 1 & create postage stamp of the image pixels \\ 247 2 & create postage stamp of the mask pixels \\ 248 4 & create postage stamp of the variance pixels \\ 249 8 & return the sources file (.cmf) for the images' run \\ 250 16 & return the psf file for the images' run \\ 251 32 & return the background model file for the images chipRun (applies only for chip) \\ 252 1024 & make stamps from inverse difference images (applies only for diff) \\ 253 2048 & make stamps from unconvolved stack images (applies only for stack) \\ 241 \begin{tabular}{lll} 242 \hline 243 \hline 244 {\bf C Macro name} & {\bf Value} & {\bf Description } \\ 245 \hline 246 PSTAMP\_SELECT\_IMAGE & 1 & create postage stamp of the image pixels \\ 247 PSTAMP\_SELECT\_MASK & 2 & create postage stamp of the mask pixels \\ 248 PSTAMP\_SELECT\_VARIANCE & 4 & create postage stamp of the variance pixels \\ 249 PSTAMP\_SELECT\_CMF & 8 & return the sources file (.cmf) for the images' run \\ 250 PSTAMP\_SELECT\_PSF & 16 & return the psf file for the images' run \\ 251 PSTAMP\_SELECT\_BACKMDL & 32 & return the background model file for the images chipRun (applies only for chip) \\ 252 PSTAMP\_SELECT\_INVERSE & 1024 & make stamps from inverse difference images (applies only for diff) \\ 253 PSTAMP\_SELECT\_UNCONV & 2048 & make stamps from unconvolved stack images (applies only for stack) \\ 254 PSTAMP\_USE\_IMFILE\_ID & 16384 & for byid requests select images using image id instead of stage id \\ 255 PSTAMP\_NO\_WAIT\_FOR\_UPDATE & 32768 & if images are not available because they have been cleaned don't wait \\ 254 256 \hline 255 257 \end{tabular} … … 264 266 For requests with IMG\_TYPE diff or if \code{REQ_TYPE} is bydiff and 265 267 the corresponding difference run is a 'bothways' diff the images are selected based on the inverse difference 266 images if \code{(OPTION_MASK & 1024)} is non-zero. Otherwise from the images are selected based 267 on the 'positive' images. 268 images if \code{(OPTION_MASK & PSTAMP_SELECT_INVERSE)} is non-zero. 269 Otherwise from the images are selected based on the 'positive' images. 270 271 For \code{REQ_TYPE} byid normally the \code{ID} value is the "Stage ID" or "Run ID" of the requested image. 272 If the bit \code{PSTAMP_USE_IMFILE_ID} is included in the \code{OPTION_MASK} for a byid request, 273 the \code{ID} for the request is the "Image ID" instead of the "Stage ID". 274 Table ~\ref{byid_ids} gives the IPP database column that corresponds to these identefiers for the various 275 stages. The "Image ID" is useful because it may be used to select component of a run. For example 276 the chip\_imfile\_id values are recorded in the DVO image table so it is easy to create a postage 277 stamp request from a DVO measurement. XXX: point to an example. 278 279 \begin{table}[h] 280 \begin{center} 281 \caption{}\label{byid_ids} 282 \begin{tabular}{lll} 283 \hline 284 \hline 285 {\bf IMG\_TYPE/stage} & {\bf stage ID} & {\bf Image ID } \\ 286 \hline 287 raw & exp\_id & raw\_imfile\_id \\ 288 chip & chip\_id & chip\_imfile\_id \\ 289 warp & warp\_id & warp\_skyfile\_id \\ 290 diff & diff\_id & diff\_skyfile\_id \\ 291 stack & stack\_id & stack\_id \\ 292 \hline 293 \end{tabular} 294 \end{center} 295 \end{table} 296 Due to limited space on the IPP cluster, images files are deleted some time after they are created. Data in 297 this state is referred to as "cleaned". By default the postage stamp server will automatically regenerate 298 the pixels for requested images, if possible. This is referred to as the update process. 299 If the user does not wish to wait for the updates to complete he should include 300 \code{PSTAMP_NO_WAIT_FOR_UPDATE} in the \code{OPTION_MASK}. 268 301 269 302 … … 306 339 \code{ROWNUM} & U32 & identifier for this row in table\\ 307 340 \code{ERROR_CODE} & U32 & Error code (see text) \\ 341 \code{ERROR_STR} & U32 & Name corresponding to \code{ERROR_CODE}\\ 308 342 \code{IMG_NAME} & string & Name of image in Data Store file set \\ 309 343 \code{JOB_ID} & S64 & Internal postage stamp server job id that produced this image \\ … … 383 417 PSTAMP\_INVALID\_REQUEST & 21 & Error in a request specification. See parse\_error.txt \\ 384 418 PSTAMP\_UNKNOWN\_PRODUCT & 22 & Unknown product in request specification \\ 385 PSTAMP\_NO\_IMAGE\_MATCH & 23 & No images matched the request \\419 PSTAMP\_NO\_IMAGE\_MATCH & 23 & No images matched the request \\ 386 420 PSTAMP\_NOT\_DESTREAKED & 24 & Image matched, but not yet de-streaked \\ 387 421 PSTAMP\_NOT\_AVAILABLE & 25 & Image not available (temporary) \\ 388 PSTAMP\_GONE & 26 & Image is no longer available \\389 PSTAMP\_NO\_JOBS\_QUEUED & 27 & Request specification yielded no jobs. See parse\_error.txt \\390 PSTAMP\_NO\_OVERLAP & 28 & Centernot contained in any image of interest \\422 PSTAMP\_GONE & 26 & Image is no longer available \\ 423 PSTAMP\_NO\_JOBS\_QUEUED & 27 & Request specification yielded no jobs. See parse\_error.txt \\ 424 PSTAMP\_NO\_OVERLAP & 28 & Center coordinates are not contained in any image of interest \\ 391 425 392 426 \hline
Note:
See TracChangeset
for help on using the changeset viewer.
