IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20021


Ignore:
Timestamp:
Oct 9, 2008, 10:49:45 AM (18 years ago)
Author:
eugene
Message:

adding format_20080925 to handle mismatch between SHUTOUTC and db times; format_orig needs to use MJD-OBS

Location:
trunk/ippconfig/gpc1
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippconfig/gpc1/Makefile.am

    r19993 r20021  
    66        dvo.layout \
    77        camera.config \
     8        format_20080925.config \
    89        format_20080929.config \
    910        format_orig.config \
  • trunk/ippconfig/gpc1/camera.config

    r19993 r20021  
    55        MEF             STR     gpc1/format_mef.config
    66        RAW_20080929    STR     gpc1/format_20080929.config
     7        RAW_20080925    STR     gpc1/format_20080925.config
    78        ORIG            STR     gpc1/format_orig.config
    89END
     
    8081   z        STR   z.00000
    8182   y        STR   y.00000
     83   w        STR   w.00000
    8284   OPEN     STR   OPEN
    8385END
  • trunk/ippconfig/gpc1/format_20080929.config

    r20008 r20021  
    1010        CONTROLR        STR     STARGRASP
    1111        NAMPS           S32     64
    12         SHUTDAVR        F32     1.21            # OP: >=
     12        MJD-OBS         F64     54739.0  # OP: >=
     13#       SHUTDAVR        F32     1.21            # OP: >=
     14
     15#       The most accurate keyword for the time/date is SHUTOUTC, but
     16#       until 2009/9/30, there was a bug which set the month off by 1.
     17#       The prior formats use MJD-OBS for time/date, and this is set
     18#       in the db.  SHUTDAVR is supposed to be the key to the new
     19#       shutter driver, but there were earlier periods where the value
     20#       was 1.21, so we are keying on the MJD of the change.  Also
     21#       note that historically (early 2008), SHUTOUTC was not
     22#       available, forcing MJD-OBS in those periods.
    1323END
    1424
  • trunk/ippconfig/gpc1/format_orig.config

    r20009 r20021  
    99        NAMPS           S32     64
    1010END
     11
     12#       The most accurate keyword for the time/date is SHUTOUTC, but
     13#       until 2009/9/30, there was a bug which set the month off by 1.
     14#       The prior formats use MJD-OBS for time/date, and this is set
     15#       in the db.  SHUTDAVR is supposed to be the key to the new
     16#       shutter driver, but there were earlier periods where the value
     17#       was 1.21, so we are keying on the MJD of the change.  Also
     18#       note that historically (early 2008), SHUTOUTC was not
     19#       available, forcing MJD-OBS in those periods.
    1120
    1221# How to read this data
     
    180189        FPA.POSANGLE    STR     POSANGLE
    181190        FPA.FOCUS       STR     M2Z
    182         FPA.TIME        STR     SHUTOUTC
     191        FPA.TIME        STR     MJD-OBS
    183192        FPA.ALT         STR     ALT
    184193        FPA.AZ          STR     AZ
     
    285294        CELL.EXPOSURE   STR     EXPTIME         # Exposure time measured by shutter
    286295        CELL.DARKTIME   STR     DARKTIME        # Exposure time for camera
    287         CELL.TIME       STR     SHUTOUTC                # Observation time
     296        CELL.TIME       STR     MJD-OBS         # Observation time
    288297END
    289298
     
    569578        CHIP.TEMP.DEPEND        STR     CHIP.NAME
    570579        CHIP.TEMP               METADATA
    571                 # 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 BETWEEN '{FPA.TIME}' - INTERVAL 2 SECOND AND '{FPA.TIME}' + INTERVAL 2 SECOND) AND class_id != 'XY24'
     580                XY24    STR     SELECT AVG(ccd_temp) FROM rawImfile WHERE dateobs = '{FPA.TIME}' AND class_id != 'XY24'
    573581        END
    574582END
     
    581589        FPA.LONGITUDE   STR     HOURS
    582590        FPA.LATITUDE    STR     DEGREES
    583         FPA.TIME        STR     YEAR.FIRST
    584         CELL.TIME       STR     YEAR.FIRST
     591        FPA.TIME        STR     MJD
     592        CELL.TIME       STR     MJD
    585593        CELL.BINNING    STR     TOGETHER
    586594        CELL.X0         STR     FORTRAN
  • trunk/ippconfig/gpc1/ppImage.config

    r19989 r20021  
    219219  ASTROM.CHIP      BOOL    FALSE           # Astrometry per chip?
    220220  ASTROM.MOSAIC    BOOL    FALSE           # Astrometry for mosaic?
     221END
     222
     223# Overscan, bias, dark, shutter, flat-field, fringe, photom
     224PPIMAGE_FLATCORR    METADATA
     225  BASE.FITS        BOOL    FALSE           # Save base detrended image?
     226  BASE.MASK.FITS   BOOL    FALSE           # Save base detrended image?
     227  BASE.WEIGHT.FITS BOOL    FALSE           # Save base detrended image?
     228  CHIP.FITS        BOOL    TRUE            # Save chip-mosaic-ed image?
     229  CHIP.MASK.FITS   BOOL    TRUE            # Save chip-mosaic-ed image?
     230  CHIP.WEIGHT.FITS BOOL    TRUE            # Save chip-mosaic-ed image?
     231  OVERSCAN         BOOL    TRUE            # Overscan subtraction
     232  BIAS             BOOL    FALSE           # Bias subtraction
     233  DARK             BOOL    TRUE            # Dark subtraction
     234  SHUTTER          BOOL    FALSE           # Shutter correction
     235  FLAT             BOOL    TRUE            # Flat-field normalisation
     236  MASK             BOOL    TRUE            # Mask bad pixels
     237  FRINGE           BOOL    FALSE           # Fringe subtraction
     238  BIN1.FITS        BOOL    TRUE            # Save 1st binned chip image?
     239  BIN2.FITS        BOOL    TRUE            # Save 2nd binned chip image?
     240  PHOTOM           BOOL    TRUE            # Source identification and photometry
     241  ASTROM.CHIP      BOOL    FALSE           # Astrometry per chip?
     242  ASTROM.MOSAIC    BOOL    FALSE           # Astrometry for mosaic?
     243
     244  DETREND.CONSTRAINTS  METADATA
     245    FLAT METADATA
     246      DETTYPE STR FLAT_RAW
     247    END
     248  END   
    221249END
    222250
Note: See TracChangeset for help on using the changeset viewer.