IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of sample_dquery_request


Ignore:
Timestamp:
May 19, 2010, 1:20:10 PM (16 years ago)
Author:
watersc1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • sample_dquery_request

    v1 v1  
     1
     2== Creating Detectability Server Request Files == [wiki:PostageStampServer up to PostageStampServer]
     3
     4Detectability server request files are FITS tables.
     5
     6We expect that various science servers and other users will have their own programs for
     7building request files.
     8
     9To help with testing the detectability server we have written a simple script called
     10detect_query_create, which is installed as part of the standard IPP installation.
     11It may be found in the IPP source tree in the directory pstamp/scripts.
     12
     13This script has no IPP dependencies but does use the perl module Astro::FITS::CFITSIO.
     14
     15The input to this program is a text file. For example
     16
     17{{{
     18# DQtest.txt
     19
     20# A sample detectability query description file
     21# This can be parsed with the program detect_query_create to build a
     22# MOPS_DETECTABILITY_QUERY fits binary table
     23
     24# First line of data is for the extension header
     25#
     26# Note that value for QUERY_ID may be overridden by teh detect_query_create command line argument --query_id
     27# Blank and comment lines (like this one) are ignored
     28
     29# QUERY_ID            EXTVER FPA_ID      MJD-OBS FILTER OBSCODE STAGE
     30warptest.20100519     1      o5304g0066o 55304   z      566     warp
     31
     32# subsequent lines define the rows in the table
     33# Fields are separated by spaces.
     34# ROWNUM    RA1_DEG   DEC1_DEG   RA2_DEG   DEC2_DEG   MAG
     351           161.59932 58.25591 161.59000   58.25700   19
     362           161.62225 58.25447 161.62300   58.25400   19
     373           161.63360 58.36666 161.63400   58.36700   19
     38}}}
     39
     40Only the RA1_DEG and DEC1_DEG columns are used for the detectability query at this point, as only PSF photometry is currently supported.  Similarly, the specified magnitude is not currently used in the query.
     41
     42