next up previous contents
Up: Status Server Requirements Previous: 10. Document Change Log   Contents

A. Preliminary Status Server Information

The following pages contain information which may be stored in the Status Server. Wherever possible, access rates, datatypes, and sizes have been identified.


# Status Server database
# ----------------------
#
# Format is /path/and/varname =  # Description in comment
#
# Formatting of <sample value> indicates "native" type for this field.
# This is handled internally by the routine that serializes the database.
#
# TRUE/FALSE     - Booleans will have *un-quoted* TRUE or FALSE as the value.
# "string"       - Strings always saved with " as the first char in value field.
# 10.            - Float values will always show a decimal point (even if .0)
# 15             - Numeric values without a decimal indicate integers.
#
# Top-level "directories":
#
# /i/ with a subdirectory for each instrument (often same names as handlers)
# /t/ with subdirectories for each telescope subsystem
# /p/ for plant environment, weather, data-logger variables
# /q/ for information associated with queue observing
# /f/ has subdirectories for each exposure where FITS headers are accumulated
#
/i/                                     # Instruments
/i/currentInstrument                    # Current instrument on the telescope
/i/megacam/                             # Megacam agent stuff
/i/megacam/etime        = 10.           # Current exposure time
/i/megacam/etype        = "BIAS"        # Current exposure type
/i/megacam/filter       = 0             # Current filter position
#
# /i/cfh12k/ are all generated by 12kcom(detcom) and used to be in .,12kcom.par
#
/i/cfh12k/status        = "Idling"      # Camera status for GUI
/i/cfh12k/raster        = "FULL"        # Current raster setting
/i/cfh12k/etime         = 10.           # Current exposure time
/i/cfh12k/etype         = "FLAT"        # Current exposure type
/i/cfh12k/filter        = 0             # Current filter position
/i/cfh12k/filter[0]     = "R"           # Desc. of filter in slot 0
/i/cfh12k/filter[1]     = "V"           # Desc. of filter in slot 1
/i/cfh12k/filter[2]     = "B"           # Desc. of filter in slot 2
/i/cfh12k/filter[3]     = "I"           # Desc. of filter in slot 3
/i/cfh12k/observer      = "Galileo"     # Current OBSERVER header
/i/cfh12k/object        = "TF dawn"     # Current OBJECT header
/i/cfh12k/comment       = "Twilight flats"   # Current CMMTOBS header
/i/cfh12k/piname        = "Mellier"     # Current PINAME header
/i/cfh12k/runid         = "99IIF142"    # Current RUNID header
/i/cfh12k/autoclean     = TRUE          # Clean array during idle time?
/i/cfh12k/autosave      = TRUE          # Save during readout?
/i/cfh12k/autovoltage   = FALSE         # Poll DSP voltages?
/i/cfh12k/mef           = FALSE         # Save as one multi-ext FITS?
/i/cfh12k/mainpower     = TRUE          # Is the mainpower on?
/i/cfh12k/detectorhost  = "akua"        # Detector computer hostname
/i/cfh12k/tf12k/period  = "dusk"        # For tf12k script
/i/cfh12k/tf12k/tfiter  = 10            # For tf12k script
/i/cfh12k/focus/etime   = 10.           # For focus script
/i/cfh12k/focus/currentz= 1.691         # For focus script
/i/cfh12k/focus/newz    = 4.4           # For focus script
/i/cfh12k/focus/zcenter = 1.7           # For focus script
/i/cfh12k/focus/detlaz  = 1.            # For focus script
/i/cfh12k/focus/nframes = 2             # For focus script
#
# /i/gecko/ are all generated by geckoh and used to be in .,geckoh.par
#
/i/gecko/
/i/mos/

/t/                                     # Telescope
/t/dome/
/t/cbcs/                                # Cassegrain Bonnette Control System
/t/pfbcs/                               # Prime Focus Bonnette Control System
/t/guider/
/t/mpc/                                 # MegaPrime Controller
/t/mpc/gfsu                             # Guide Focus Sense Unit
/t/mpc/fsa                              # Focus Stage Assembly
/t/mpc/wfss                             # Wave Front Sensor Software
/t/mpc/wfss/seeing = EXPIRED            # Seeing estimate value

/t/tcs/                                 # TCS information (40 character strings 
                                        # updated approximately 1x per second)
/t/tcs/mode                             # Telescope mode
/t/tcs/position/airmass                 # Airmass at current telescope positioning
/t/tcs/position/bonnette                # Bonnette position
/t/tcs/position/dec                     # Dec pointing of the telescope
/t/tcs/position/dome                    # Position of the dome
/t/tcs/position/equinox                 # Targeting equinox
/t/tcs/position/instrument              # Instrument positioning (prime, cass, coude, etc.)
/t/tcs/position/instrumentRotation      # Instrument rotation
/t/tcs/position/ra                      # RA pointing of the telescope

/p/
#
# /p/datalogger/ Data logger information will be updated every 10 seconds
#
/p/datalogger/          # Datalogger probe values
/p/datalogger/probe0    # surface temp, primary mirror east (side)      RTDF85  deg celsius
/p/datalogger/probe1    # surface temp, primary mirror west (side)      RTDF85  deg celsius
/p/datalogger/probe2    # surface temp, primary mirror west (silver)    RTDF85  deg celsius
/p/datalogger/probe3    # surface temp, primary mirror east (silver)    RTDF85  deg celsius
/p/datalogger/probe4    # surface temp, cassion central west            RTDF85  deg celsius
/p/datalogger/probe5    # surface temp, cassion central east            RTDF85  deg celsius
/p/datalogger/probe6    # air temp, top ring west                       RTDF85  deg celsius
/p/datalogger/probe7    # air temp, top ring east                       RTDF85  deg celsius
/p/datalogger/probe8    # surface temp, horseshoe east top              RTDF85  deg celsius
/p/datalogger/probe9    # surface temp, horseshoe east brg pad          RTDF85  deg celsius
/p/datalogger/probe10   # surface temp, horseshoe west brg pad          RTDF85  deg celsius
/p/datalogger/probe11   # surface temp, horseshoe west top              RTDF85  deg celsius
/p/datalogger/probe12   # surface temp, electrical box north            RTDF85  deg celsius
/p/datalogger/probe13   # surface temp, electrical box south            RTDF85  deg celsius
/p/datalogger/probe14   # surface temp, coude' arm south beam           RTDF85  deg celsius
/p/datalogger/probe15   # surface temp, south beam thrust brg           RTDF85  deg celsius
/p/datalogger/probe16   # air temp, 4th floor crawl space               THM10K  deg celsius
/p/datalogger/probe18   # air temp, north rail 5th floor                RTDF85  deg celsius
/p/datalogger/probe19   # air temp, north rail support beam             RTDF85  deg celsius
/p/datalogger/probe20   # load cell, north                              DCV     DC volts
/p/datalogger/probe21   # load cell, south west                         DCV     DC volts
/p/datalogger/probe22   # dewpoint, outside south mirror cell           DCV     deg celsius
/p/datalogger/probe23   # air temp, top ring east                       THM10K  deg celsius
/p/datalogger/probe24   # surface temp, outside north hand rail         RTDF85  deg celsius
/p/datalogger/probe25   # surface temp, east cell steel                 RTDF85  deg celsius
/p/datalogger/probe26   # surface temp, east mirror under side          RTDF85  deg celsius
/p/datalogger/probe27   # mirror cooling outlet at cell                 RTDF85  deg celsius
/p/datalogger/probe28   # computer room relative humidity               DCV     percent
/p/datalogger/probe29   # computer room temperature                     DCV     deg celsius
/p/datalogger/probe30   # dewpoint, inside south mirror cell            DCV     deg celsius
/p/datalogger/probe31   # barometric pressure, ctrl rm, weathertronics  DCV     millibars 
/p/datalogger/probe32   # surface temp, west cell steel                 RTDF85  deg celsius
/p/datalogger/probe33   # air temp, west under mirror                   RTDF85  deg celsius
/p/datalogger/probe34   # relative humidity, weathertron                DCV     DC volts
/p/datalogger/probe35   # air temp, weathertron                         DCV     deg celsius
/p/datalogger/probe36   # air temp, dome top ws side                    DCV     deg celsius
/p/datalogger/probe37   # air temp,dome top other side                  DCV     deg celsius
/p/datalogger/probe38   # air temp, lower weatherstation side           DCV     deg celsius
/p/datalogger/probe39   # fluid temp, horseshoe top NW pad              RTDF85  deg celsius
/p/datalogger/probe40   # fluid temp, horseshoe bottom NW pad           RTDF85  deg celsius
/p/datalogger/probe41   # fluid temp, horseshoe top NE pad              RTDF85  deg celsius
/p/datalogger/probe42   # fluid temp, horseshoe bottom NE pad           RTDF85  deg celsius
/p/datalogger/probe43   # air temp, 6' above 5th floor                  RTDF85  deg celsius
/p/datalogger/probe44   # fluid temp, telescope hyd SW pad              RTDF85  deg celsius
/p/datalogger/probe45   # air temp, 2" above 5th floor                  RTDF85  deg celsius
/p/datalogger/probe46   # fluid temp, tele hyd 1st floor supply         RTDF85  deg celsius
/p/datalogger/probe47   # fluid temp, tele hyd 1st floor return         RTDF85  deg celsius
/p/datalogger/probe48   # Inner Coude, Gecko Detector Env. Struct.      RTDF85  deg celsius
/p/datalogger/probe50   # chiller temp control                          DCV     DC volts
/p/datalogger/probe51   # surface temp, 5th floor track                 RTDF85  deg celsius
/p/datalogger/probe53   # air temp, 5th floor 2" by electronics box     THM10K  deg celsius
/p/datalogger/probe54   # air temp, mirror cell west                    THM10K  deg celsius
/p/datalogger/probe55   # axial load cell north                         DCV     kilograms
/p/datalogger/probe56   # axial load cell south west                    DCV     kilograms
/p/datalogger/probe57   # axial load cell south east                    DCV     kilograms
/p/datalogger/probe58   # mirror cooling inlet at unit                  RTDF85  deg celsius
/p/datalogger/probe59   # surface temp, concrete floor north pier       RTDF85  deg celsius
/p/datalogger/probe60   # surface temp, concrete floor south pier       RTDF85  deg celsius
/p/datalogger/probe61   # surface temp, concrete floor above control rm. RTDF85  deg celsius
/p/datalogger/probe62   # fluid temp, 1st floor glycol supply           RTDF85  deg celsius
/p/datalogger/probe63   # air temp, pm, south mid. air line             RTDF85  deg celsius
/p/datalogger/probe64   # air temp, spigot north, near cass. bonn.      RTDF85  deg celsius
/p/datalogger/probe65   # air temp, spigot north, near M3               RTDF85  deg celsius
/p/datalogger/probe66   # surface temp, pm, north,under side,near spigot RTDF85 deg celsius
/p/datalogger/probe67   # air temp, pm, north mid. air line             RTDF85  deg celsius
/p/datalogger/probe68   # fluid temp, tele hyd resevoir                 RTDF85  deg celsius
/p/datalogger/probe70   # surface temp, pm, south,under side,near spigot RTDF85 deg celsius
/p/datalogger/probe72   # fluid temp, tele hyd chill outlet             RTDF85  deg celsius
/p/datalogger/probe73   # air temp, observing room                      RTDF85  deg celsius
/p/datalogger/probe74   # air temp, rear-observing room                 RTDF85  deg celsius
/p/datalogger/probe75   # air temp, computer room #3                    RTDF85  deg celsius
/p/datalogger/probe76   # air temp, computer room                       RTDF85  deg celsius
/p/datalogger/probe78   # load cell east                                DCV     DC volts
/p/datalogger/probe79   # used as status indicator                      ---     ---
/p/datalogger/probe80   # F8 LVDT N  (x10)                              DCV     position
/p/datalogger/probe81   # F8 LVDT SE (x10)                              DCV     position
/p/datalogger/probe82   # F8 LVDT SW (x10)                              DCV     position
/p/datalogger/probe83   # F8 FLOW    (x100)                             DCV     remote vac. flow
/p/datalogger/probe84   # weather tower wind speed                      DCV     knots
/p/datalogger/probe85   # weather tower wind dir                        DCV     deg
/p/datalogger/probe86   # weather tower temp                            DCV     deg C
/p/datalogger/probe87   # weather tower RH                              DCV     percent
/p/datalogger/probe88   # Inner Coude Ceiling                           RTDF85  deg celsius
/p/datalogger/probe89   # Inner Coude Air, 1.8 m Above Floor            RTDF85  deg celsius
/p/datalogger/probe90   # Inner Coude Air, 0.75 m Above Floor           RTDF85  deg celsius
/p/datalogger/probe91   # Inner Coude Floor                             RTDF85  deg celsius
/p/datalogger/probe92   # Dewpoint of telescope air prior to cos. reg.  DCV     deg celsius
/p/datalogger/probe93   # Temperature of telescope air prior to cos. reg. DCV   deg celsius
/p/datalogger/probe95   # average wind speed            (84)            ---     ---
/p/datalogger/probe96   # average wind direction        (85)            ---     ---
/p/datalogger/probe97   # average temperature           (86)            ---     ---
/p/datalogger/probe98   # average relative humidity     (87)            ---     ---
/p/datalogger/probe99   # current applied to floor chiller control valve DCI    milliamps

/p/sky/                 # Sky characteristics
/p/sky/currentSeeing    # Quantitative meas. of current seeing          1x/min  double
/p/sky/skyBackground    # Quantitative meas. of the sky background      1x/min  double
/p/sky/photometry       # Quantitative meas. Of sky photometry          1x/min  double

/q/                     # Queue Observing parameters
/q/qrunid               # Run ID associated with a Queue run            1x/day  String  8 chars
/q/observer             # Service Observer for the night                1x/day  String  30 chars
/q/coordinator          # Queue Coordinator for the night               1x/day  String  30 chars
/q/activeQueue          # Current Queue being executed                  8x/day  String  20 chars
/q/currentOG            # Current Observing Group being executed        6x/hr   String  8 chars
/q/currentOB            # Current Observing Block being executed        12x/hr  String  8 chars
/q/currentOBiter        # Current Observing Block iteration             12x/hr  String  3 chars
/q/currentTarget        # Current target                                12x/hr  String  40 chars
/q/currentIC            # Current Instrument Configuration              18x/hr  String  8 chars
/q/currentOGid          # Database ID for the current OG being executed6x/hr   String  20 chars
/q/currentOBid          # Database ID for the current OB being executed12x/hr  String  20 chars
/q/currentICid          # Database ID for the current IC being executed18x/hr  String  20 chars

/f/                     # FITS header cache area
/f/131536o/             # FITS header cache for 131536o.fits
/f/131536o/000202.0="DATE-OBS= '2000-04-26'         / UTC Start of observation"
/f/131536o/000203.0="UTC-OBS = '12:17:43.71'        / New name is UTIME"
/f/131536o/000203.1="UTIME   = '12:17:43.71'        / UT start of observation"
/f/131536o/000204.0="MJD-OBS =        51660.5123114 / New name is MJDATE"
/f/131536o/000204.1="MJDATE  =        51660.5123114 / Modified Julian Date"


MegaCam Information (compiled by Will Rambold)

MegaPrime data sources for data server     Note:  Maximum update rate for any object is 1Hz


Camera                                  When              Via detcom
    Produces
        All the usual detcom stuff      Start of exposure
             "                          End of exposure


Cryogenics Controller                   When              Via status agent
    Produces
        Array temperature               exceeds deadband
        Cold Capacity temperature       exceeds deadband
        Component temperatures          exceeds deadband
        Helium compressor status        on change
        Heater current                  exceeds deadband
        Vacuum reading                  exceeds deadband
        Warning alarms                  on change
        Fault alarms                    on change


Shutter Controller                      When              Via status agent
    Produces
        Shutter position                on change
        Transit times                   When shutter closes
        Exposure time                   When shutter closes
        Flat field source status        on change
        Warning alarms                  on change
        Fault alarms                    on change


Filter Controller                       When             Via status agent
    Produces
        Filter ID list                  on change
        ID of filter in beam            on change
        Component positions             on change
        Warning alarms                  on change
        Fault alarms                    on change


MegaPrime Controller                    When              Via TCS
    Produces
        Probe positions                 on change
        Stabilizing system status       on change
        ISU position                    exceeds deadband
        Guiding errors                  exceeds deadband
        Guiding state                   on change
        Guide source statistics         exceeds deadband
        Focus position                  exceeds deadband
        Autofocus state                 on change
        Power supply voltages           exceeds deadband
        Fault alarms                    on change


Environment Controller                  When              Via Allen-Bradley
    Produces
        Temperature inside cover        exceeds deadband
        Temperature outside cover       exceeds deadband
        Temperature inside CUTE         exceeds deadband
        Temerature outside CUTE         exceeds deadband
        Component temperatures          exceeds deadband
        Glycol temperature at cover     exceeds deadband
        Glycol flow When at cover       exceeds deadband
        Glycol flow When at CUTE        exceeds deadband
        Flow control position for pulse tube  exceeds deadband
        Flow control position for cover exceeds deadband
        Flow control position for CUTE  exceeds deadband
        Fault alarms                    on change

    Consumes
        Inside dome temperature         on change
        Inside dome humidity            on change


Other Stuff                             When              Via telnet
    Produces
        AC outlet state                 on change


Tom Vermeulen
2002-05-28