IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 2 and Version 3 of sample_dquery_request


Ignore:
Timestamp:
Sep 8, 2010, 4:20:23 PM (16 years ago)
Author:
watersc1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • sample_dquery_request

    v2 v3  
    4040Only 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.
    4141
     42Request parsing is relaxed for EXTVER=2 queries.  This can be used to generate lightcurves for a specified RA/DEC on a series of images:
    4243
     44{{{
     45# QUERY_ID EXTVER OBSCODE STAGE
     46lctest1    2      566     diff
     47# ROWNUM RA1_DEG DEC1_DEG RA2_DEG DEC2_DEG MAG FILTER MJD-OBS
     481 161.59932 58.25591 161.59000   58.25700   19 z      55304
     492 161.59932 58.25591 161.59000   58.25700   19 g      55305
     503 161.59932 58.25591 161.59000   58.25700   19 r      55305
     514 161.59932 58.25591 161.59000   58.25700   19 g      55320
     525 161.59932 58.25591 161.59000   58.25700   19 r      55320
     53}}}
     54
     55The server should be able to reject faulty rows (that match no exposure), so a brute force method to generate a multi-filter lightcurve could be done using this kind of query:
     56
     57{{{
     58# QUERY_ID EXTVER OBSCODE STAGE
     59lctest2    2      566     diff
     60# ROWNUM RA1_DEG DEC1_DEG RA2_DEG DEC2_DEG MAG FILTER MJD-OBS
     611 161.59932 58.25591 161.59000   58.25700   19 g      55304
     622 161.59932 58.25591 161.59000   58.25700   19 r      55304
     633 161.59932 58.25591 161.59000   58.25700   19 i      55304
     644 161.59932 58.25591 161.59000   58.25700   19 z      55304
     655 161.59932 58.25591 161.59000   58.25700   19 y      55304
     666 161.59932 58.25591 161.59000   58.25700   19 g      55305
     677 161.59932 58.25591 161.59000   58.25700   19 r      55305
     688 161.59932 58.25591 161.59000   58.25700   19 i      55305
     699 161.59932 58.25591 161.59000   58.25700   19 z      55305
     7010 161.59932 58.25591 161.59000   58.25700   19 y      55305
     7111 161.59932 58.25591 161.59000   58.25700   19 g      55306
     7212 161.59932 58.25591 161.59000   58.25700   19 r      55306
     7313 161.59932 58.25591 161.59000   58.25700   19 i      55306
     7414 161.59932 58.25591 161.59000   58.25700   19 z      55306
     7515 161.59932 58.25591 161.59000   58.25700   19 y      55306
     7616 161.59932 58.25591 161.59000   58.25700   19 g      55307
     7717 161.59932 58.25591 161.59000   58.25700   19 r      55307
     7818 161.59932 58.25591 161.59000   58.25700   19 i      55307
     7919 161.59932 58.25591 161.59000   58.25700   19 z      55307
     8020 161.59932 58.25591 161.59000   58.25700   19 y      55307
     81}}}
     82