Changeset 35495
- Timestamp:
- May 2, 2013, 5:10:46 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/doc/stamps/stampsICD.tex (modified) (15 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/stamps/stampsICD.tex
r33884 r35495 9 9 \project{Pan-STARRS IPP} 10 10 \organization{Institute for Astronomy} 11 \version{ 1.0}11 \version{2.0} 12 12 \docnumber{PSDC-940-011-00} 13 13 … … 48 48 one or more FITS binary tables called \emph{request tables}. 49 49 Each row in a request table contains a postage stamp request specification. 50 Each request specification causes zero or more postage stamp jobs to be processed.50 Each request specification causes zero or more postage stamp jobs to be created. 51 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 54 54 and the Region of Interest. 55 56 Note: The value "null" for strings or 0 for numbers may be used to disable the application of 57 certain parameters. 55 58 56 59 \subsection{Request Table Contents} … … 69 72 \hline 70 73 \code{EXTNAME} & string & \code{PS1_PS_REQUEST} \\ 71 \code{EXTVER} & string & 1\\74 \code{EXTVER} & string & 2 \\ 72 75 \code{REQ_NAME} & string & unique name of the request (see text) \\ 76 \code{ACTION} & string & PROCESS \\ 77 \code{EMAIL} & string & Email address of submitting user\\ 73 78 \hline 74 79 \end{tabular} … … 81 86 This value is used for the name of the request's output file set. 82 87 83 The postage stamp server supports three types of "postage stamp" job specified by the value 88 89 The postage stamp server supports two types of "postage stamp" job specified by the value 84 90 the column \code{JOB_TYPE}. If the value is \emph{stamp} postage stamp images will be extracted 85 91 from the images of interest. If the value of \code{JOB_TYPE} is \emph{get\_image} 86 the data from the selected images' "runs" with (satellite streaks removed) are bundled87 in andplaced on the output file set.92 the data from the selected images' "runs" are bundled in the format used by the IPP distribution system 93 and are placed on the output file set. 88 94 89 95 \begin{table}[h] … … 97 103 \code{ROWNUM} & U32 & & must be unique in file\\ 98 104 \code{PROJECT} & string & gpc1 & \\ 105 \code{SURVEY_NAME} & string & PS1 survey names & see table 3 \\ 106 \code{IPP_RELEASE} & string & IPP release name & e.g. 3PI.PV1, 3PI.nightly \\ 99 107 \code{JOB_TYPE} & string & stamp or get\_image & \\ 100 108 \\ … … 117 125 \code{MJD_MIN} & F64 & Modified Julian Day & \\ 118 126 \code{MJD_MAX} & F64 & & \\ 119 \\ 120 \code{COMMENT} & string & copied to the results flie & \\ 127 \code{RUN_TYPE} & string & stack or diff type & deep, reference, nightly, warp-stack, etc.\\ 128 \code{FWHM_MIN} & F64 & minimum measured seeing (pixels) & \\ 129 \code{FWHM_MAX} & F64 & maximum measured seeing (pixels) & \\ 130 \\ 131 \code{COMMENT} & string & copied to the results file & \\ 121 132 \hline 122 133 \end{tabular} … … 159 170 \end{itemize} 160 171 161 Note that at this time theREQ\_TYPE byexp is not implemented for IMG\_TYPE stack.172 Note that REQ\_TYPE byexp is not implemented for IMG\_TYPE stack. 162 173 163 174 COMPONENT must also be supplied for request specifications where all of the following are true … … 173 184 \end{itemize} 174 185 175 The special value 'all' may be used to select all component images but this is not recommended. 186 The special value "all" may be used to select all component components (chips or skycells) of a run. 187 176 188 177 189 \subsubsection{Image Selection Cuts}\label{ImageCuts} 178 190 179 A request specification may refer to many images. The scope of the search can be 180 limited to certain dates with the parameters MJD\_MIN and MJD\_MAX. The specified range is inclusive. 181 Note: these cuts have no effect for stack stage requests. 191 A request specification may refer to many images. The scope of the search can be reduced by providing 192 the selection parameters. 193 194 SURVEY\_NAME (new in version 2) restricts the queries to images for a given PS1 survey. Valid values are 195 shown in the table below. The value "null" may also be used. 196 197 \begin{table}[h] 198 \begin{center} 199 \caption{PS1 SURVEYNAME Values}\label{surveys} 200 \begin{tabular}{ll} 201 \hline 202 \hline 203 {\bf SURVEY\_NAME} & {\bf Description } \\ 204 \hline 205 3PI & PS1 3PI Survey \\ 206 MD01 & PS1 MD01 XMM-LSS-DXS 022224-043000 \\ 207 MD02 & PS1 MD02 CDFS/GOODS/GEMS 033224-274800 \\ 208 MD03 & PS1 MD03 IFA/Lynx 084300+444000 \\ 209 MD04 & PS1 MD04 COSMOS 100000+021200 \\ 210 MD05 & PS1 MD05 Lockman-DXS 110000+570000 \\ 211 MD06 & PS1 MD06 NGC 4258 121857+471814 \\ 212 MD07 & PS1 MD07 VISTA-Video1 140000+050000 \\ 213 MD08 & PS1 MD08 EliasN1-DXS 160000+570000 \\ 214 MD09 & PS1 MD09 Vimos4-DXS-SSA 220000+003000 \\ 215 MD10 & PS1 MD10 Deep2 233000+000000 \\ 216 M31 & PS1 M31 Andromeda 004242+411600 \\ 217 STS1 & PS1 STS1 Outskirts of Bulge 195048+170339 \\ 218 STS2 & PS1 STS2 Hyades 004000+150000 \\ 219 STS3 & PS1 STS3 Praesepe 083000+200000 \\ 220 SSS & PS1 Solar System Survey \\ 221 \hline 222 \end{tabular} 223 \end{center} 224 \end{table} 225 226 IPP\_RELEASE (new in version 2) restricts the search for data from a particular "release" of IPP data. 227 If "null" the system choses data from the highest priority release ("best") of the given exposure or skycell. 182 228 183 229 DATA\_GROUP restricts the search to runs with the given value. Note that the SQL database lookups 184 are done with a "LIKE" comparison so SQL wild cards may be used. 230 are done with a "LIKE" comparison so SQL wild cards may be used. With Version 2 of this specification 231 use of DATA\_GROUP is deprecated. It is ignored if a non null value for SURVEY\_NAME or IPP\_RELEASE is 232 supplied. 233 234 Searches may be limited to certain dates with the parameters MJD\_MIN and MJD\_MAX. The specified range is inclusive. 235 Note: For stack stage requests, these cuts will have no effect on queries for deep or reference stacks. 185 236 186 237 The REQFILT parameter may be used to restrict the search for images taken with a given filter. 187 If the filter is a single character (g, r, i, z, y) the server appends a '\%' character to the 188 sql query. 238 If the filter is a single character (g, r, i, z, y, w) the server appends a '\%' character to the 239 sql query. If "null" data from all filters is queried. 240 241 The optional parameter RUN\_TYPE is used for specify the type of stack or difference images to consider as 242 images of interest. 243 244 For difference images valid values are warp\_warp warp\_stack and stack\_stack. 245 246 For stacks valid values are "deep", "reference", "nightly", and "notnightly". For stacks, this selector 247 is only applied if SURVEY\_NAME or IPP\_RELEASE is supplied. 248 189 249 190 250 … … 230 290 When pixel coordinates are used the coordinate system is that of the image. (For chip level images, before 231 291 the stamps are created the cells are mosaicked into a single image.) 292 293 Note: If the width and height are both equal to zero, the entire input image is included in the stamp. Otherwise 294 values less than or equal to zero will generate an error. 232 295 233 296 \subsection{Request Options} … … 252 315 PSTAMP\_SELECT\_INVERSE & 1024 & make stamps from inverse difference images (applies only for diff) \\ 253 316 PSTAMP\_SELECT\_UNCONV & 2048 & make stamps from unconvolved stack images (applies only for stack) \\ 254 PSTAMP\_RESTORE\_BACKGROUND & 4096 & (TODO)restore background correction to chip stage images before making stamp \\317 PSTAMP\_RESTORE\_BACKGROUND & 4096 & restore background correction to chip stage images before making stamp \\ 255 318 PSTAMP\_USE\_IMFILE\_ID & 16384 & for byid requests select images using image id instead of stage id \\ 256 319 PSTAMP\_NO\_WAIT\_FOR\_UPDATE & 32768 & if images are not available because they have been cleaned don't wait \\ … … 299 362 the pixels for requested images, if possible. This is referred to as the update process. 300 363 If the user does not wish to wait for the updates to complete he should include 301 \code{PSTAMP_NO_WAIT_FOR_UPDATE} in the \code{OPTION_MASK}. 364 \code{PSTAMP_NO_WAIT_FOR_UPDATE} in the \code{OPTION_MASK}. In this case the row will receive the error 365 code PSTAMP\_NOT\_AVAIALABLE. 302 366 303 367 … … 353 417 \code{EXPTIME} & F64 & exposure time of parent image \\ 354 418 \code{FPA_ID} & string & orginal FPA\_ID used at injection \\ 355 \\ 356 \code{PROJECT} & string & Values from initial request specification\\ 419 \hline 420 & Values from corresponding row in the request file\\ 421 \hline 422 \code{PROJECT} & string & \\ 423 \code{SURVEY_NAME} & string & \\ 424 \code{IPP_RELEASE} & string & \\ 357 425 \code{JOB_TYPE} & string & \\ 358 426 \\ … … 372 440 \code{MJD_MAX} & F64 & \\ 373 441 \code{DATA_GROUP} & string & \\ 442 \code{RUN_TYPE} & string & \\ 443 \code{FWHM_MIN} & F64 & \\ 444 \code{FWHM_MAX} & F64 & \\ 374 445 \code{COMMENT} & string & \\ 375 446 \\ … … 393 464 have the name \code{ROWNUM_I.mk.fits} 394 465 395 JOB\_ID is the value of the postage stamp server's internal job id. (This is provided primarily as a debugging466 JOB\_ID is the value of the postage stamp server's internal job id. 396 467 aid.) 397 468 398 The column named PROJECT and following columns are copie sfrom the input request specification.469 The column named PROJECT and following columns are copied from the input request specification. 399 470 400 471 If ERROR\_CODE is non-zero an error occurred when processing the request specification or the job. … … 419 490 PSTAMP\_UNKNOWN\_PRODUCT & 22 & Unknown product in request specification \\ 420 491 PSTAMP\_NO\_IMAGE\_MATCH & 23 & No images matched the request \\ 421 PSTAMP\_NOT\_DESTREAKED & 24 & Image matched, but not yet de-streaked\\492 PSTAMP\_NOT\_DESTREAKED & 24 & Obsolete - No longer used\\ 422 493 PSTAMP\_NOT\_AVAILABLE & 25 & Image not available (temporary) \\ 423 494 PSTAMP\_GONE & 26 & Image is no longer available \\ 424 495 PSTAMP\_NO\_JOBS\_QUEUED & 27 & Request specification yielded no jobs. See parse\_error.txt \\ 425 496 PSTAMP\_NO\_OVERLAP & 28 & Center coordinates are not contained in any image of interest \\ 497 PSTAMP\_NOT\_AUTHORIZED & 29 & user is not allowed access to the selected data\\ 426 498 427 499 \hline
Note:
See TracChangeset
for help on using the changeset viewer.
