| Version 1 (modified by , 16 years ago) ( diff ) |
|---|
Creating Detectability Server Request Files == up to PostageStampServer
Detectability server request files are FITS tables.
We expect that various science servers and other users will have their own programs for building request files.
To help with testing the detectability server we have written a simple script called detect_query_create, which is installed as part of the standard IPP installation. It may be found in the IPP source tree in the directory pstamp/scripts.
This script has no IPP dependencies but does use the perl module Astro::FITS::CFITSIO.
The input to this program is a text file. For example
# DQtest.txt # A sample detectability query description file # This can be parsed with the program detect_query_create to build a # MOPS_DETECTABILITY_QUERY fits binary table # First line of data is for the extension header # # Note that value for QUERY_ID may be overridden by teh detect_query_create command line argument --query_id # Blank and comment lines (like this one) are ignored # QUERY_ID EXTVER FPA_ID MJD-OBS FILTER OBSCODE STAGE warptest.20100519 1 o5304g0066o 55304 z 566 warp # subsequent lines define the rows in the table # Fields are separated by spaces. # ROWNUM RA1_DEG DEC1_DEG RA2_DEG DEC2_DEG MAG 1 161.59932 58.25591 161.59000 58.25700 19 2 161.62225 58.25447 161.62300 58.25400 19 3 161.63360 58.36666 161.63400 58.36700 19
Only 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.
