IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20009


Ignore:
Timestamp:
Oct 8, 2008, 2:45:21 PM (18 years ago)
Author:
Paul Price
Message:

Match to closest two seconds, since the values in the database are
taken from different sources (SHUTOUTC vs MJD-OBS, which can differ
by a little bit).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippconfig/gpc1/format_orig.config

    r19993 r20009  
    570570        CHIP.TEMP               METADATA
    571571                # Need to apply correction of 1 month since header still contains bug but database corrected.
    572                 XY24    STR     SELECT AVG(ccd_temp) FROM rawImfile WHERE dateobs - INTERVAL 1 MONTH = '{FPA.TIME}' AND class_id != 'XY24'
     572                XY24    STR     SELECT AVG(ccd_temp) FROM rawImfile WHERE (dateobs - INTERVAL 1 MONTH BETWEEN '{FPA.TIME}' - INTERVAL 2 SECOND AND '{FPA.TIME}' + INTERVAL 2 SECOND) AND class_id != 'XY24'
    573573        END
    574574END
Note: See TracChangeset for help on using the changeset viewer.