Difference between revisions of "WERC-datasite-siterc-example"

From IARC 207 Wiki
Jump to navigation Jump to search
imported>Ken
 
 
Line 1: Line 1:
name=East Headwater
+
  name=East Headwater
type=CSI CR10
+
  type=CSI CR10
logfile=/home/site/nslope/east_hw/var/log
+
  logfile=/home/site/nslope/east_hw/var/log
werc_id=EH
+
  werc_id=EH
 
+
 
Campbell::Comm: = Campbell::Comm-sagriver:
+
  Campbell::Comm: = Campbell::Comm-sagriver:
# Campbell::Comm: = Campbell::Comm-toolik:
+
  # Campbell::Comm: = Campbell::Comm-toolik:
 
+
 
Campbell::Comm-sagriver:
+
  Campbell::Comm-sagriver:
    host=sagriver.datanet.werc.nondns
+
      host=sagriver.datanet.werc.nondns
    lockfile=/var/lock/uaf-sagriver
+
      lockfile=/var/lock/uaf-sagriver
    port=5555
+
      port=5555
    code=ATXC1ATD5551212
+
      code=ATXC1ATD5551212
    READONLY_FLAGS=0
+
      READONLY_FLAGS=0
    timezone=AKST
+
      timezone=AKST
    timeout=-10
+
      timeout=-10
    radio_window = 1+60, 10+60
+
      radio_window = 1+60, 10+60
    radio_stats=/var/tmp/cc/radio-stats/sagriver
+
      radio_stats=/var/tmp/cc/radio-stats/sagriver
 
+
 
Campbell::Comm-toolik:
+
  Campbell::Comm-toolik:
    host=toolik.datanet.werc.nondns
+
      host=toolik.datanet.werc.nondns
    lockfile=/var/lock/uaf-toolik
+
      lockfile=/var/lock/uaf-toolik
    port=5555
+
      port=5555
    code=ATXC0ATD5551212
+
      code=ATXC0ATD5551212
    READONLY_FLAGS=0
+
      READONLY_FLAGS=0
    timezone=AKST
+
      timezone=AKST
    timeout=-10
+
      timeout=-10
    radio_window = 1+60, 10+60
+
      radio_window = 1+60, 10+60
    radio_stats=/var/tmp/cc/radio-stats/toolik
+
      radio_stats=/var/tmp/cc/radio-stats/toolik
 
+
 
loggerdata:
+
  loggerdata:
  # use_ascii=0
+
    # use_ascii=0
    use_ascii=1
+
      use_ascii=1
    datapointer=/home/site/nslope/east_hw/var/DSP
+
      datapointer=/home/site/nslope/east_hw/var/DSP
    datafile=/home/site/nslope/east_hw/var/data
+
      datafile=/home/site/nslope/east_hw/var/data
    newdatafile=/home/site/nslope/east_hw/var/newdata
+
      newdatafile=/home/site/nslope/east_hw/var/newdata
    retries=2
+
      retries=2
    retrydelay=3
+
      retrydelay=3
    ascii_arrays=1
+
      ascii_arrays=1
    settime=10
+
      settime=10
    program=var/program
+
      program=var/program
    getprogram_days=10
+
      getprogram_days=10
    flags=var/flags
+
      flags=var/flags
    copylogs=var/
+
      copylogs=var/
    session=var/session
+
      session=var/session
 
+
 
split-csv:
+
  split-csv:
    source = var/newdata
+
      source = var/newdata
    append = data/.@1-@n/SPOOL
+
      append = data/.@1-@n/SPOOL
    verbose = 1
+
      verbose = 1
    mkdir = 1
+
      mkdir = 1
 
+
 
rawdata2proc:
+
  rawdata2proc:
    procfs = proc/raw/
+
      procfs = proc/raw/
    datafile = var/newdata
+
      datafile = var/newdata
    timestamp-106 = Year_RTM, Day_RTM, Hour_Minute_RTM
+
      timestamp-106 = Year_RTM, Day_RTM, Hour_Minute_RTM
    timestamp-115 = Year_RTM, Day_RTM, Hour_Minute_RTM
+
      timestamp-115 = Year_RTM, Day_RTM, Hour_Minute_RTM
 
+
 
miscellaneous:
+
  miscellaneous:
    radioaddress=555-1212
+
      radioaddress=555-1212
 
+
 
rawdata2html:
+
  rawdata2html:
    page=web/current-raw.html
+
      page=web/current-raw.html
    title = N.Slope, Kuparuk R, East headwater
+
      title = N.Slope, Kuparuk R, East headwater
    data=var/newdata
+
      data=var/newdata
    numberfields=1
+
      numberfields=1
 
+
 
guidata2html:
+
  guidata2html:
    page=web/current.html
+
      page=web/current.html
    title = Upper Kuparuk R., East headwater site
+
      title = Upper Kuparuk R., East headwater site
    data=var/newdata
+
      data=var/newdata
    template = ../.web/uk_template.html
+
      template = ../.web/uk_template.html
    vars = web/template.var
+
      vars = web/template.var
 
+
 
tabulardata:
+
  tabulardata:
    datafile=var/data
+
      datafile=var/data
    vars = web/template.var
+
      vars = web/template.var
    hours = 168
+
      hours = 168
 
+
 
files2spool4web:
+
  files2spool4web:
    from = web/
+
      from = web/
    to = WEBHOST/NorthSlope/upper_kuparuk/e_headwater/
+
      to = WEBHOST/NorthSlope/upper_kuparuk/e_headwater/
    statefile = var/files2spool4web-state
+
      statefile = var/files2spool4web-state
 
+
 
check-headers:
+
  check-headers:
    headers=var/headers
+
      headers=var/headers
 
+
 
check-program:
+
  check-program:
    program=var/program
+
      program=var/program
    annotate=1
+
      annotate=1
    text=web/csi-program.txt
+
      text=web/csi-program.txt
 
+
 
push-datafile:
+
  push-datafile:
    datafile = var/newdata
+
      datafile = var/newdata
    statefile = var/.push-datafile
+
      statefile = var/.push-datafile
    pushdir = /home/waterprj/near-real-time/rawdatafiles/
+
      pushdir = /home/waterprj/near-real-time/rawdatafiles/

Latest revision as of 13:36, 6 July 2007

 name=East Headwater
 type=CSI CR10
 logfile=/home/site/nslope/east_hw/var/log
 werc_id=EH
 
 Campbell::Comm: = Campbell::Comm-sagriver:
 # Campbell::Comm: = Campbell::Comm-toolik:
 
 Campbell::Comm-sagriver:
     host=sagriver.datanet.werc.nondns
     lockfile=/var/lock/uaf-sagriver
     port=5555
     code=ATXC1ATD5551212
     READONLY_FLAGS=0
     timezone=AKST
     timeout=-10
     radio_window = 1+60, 10+60
     radio_stats=/var/tmp/cc/radio-stats/sagriver
 
 Campbell::Comm-toolik:
     host=toolik.datanet.werc.nondns
     lockfile=/var/lock/uaf-toolik
     port=5555
     code=ATXC0ATD5551212
     READONLY_FLAGS=0
     timezone=AKST
     timeout=-10
     radio_window = 1+60, 10+60
     radio_stats=/var/tmp/cc/radio-stats/toolik
 
 loggerdata:
   # use_ascii=0
     use_ascii=1
     datapointer=/home/site/nslope/east_hw/var/DSP
     datafile=/home/site/nslope/east_hw/var/data
     newdatafile=/home/site/nslope/east_hw/var/newdata
     retries=2
     retrydelay=3
     ascii_arrays=1
     settime=10
     program=var/program
     getprogram_days=10
     flags=var/flags
     copylogs=var/
     session=var/session
 
 split-csv:
     source = var/newdata
     append = data/.@1-@n/SPOOL
     verbose = 1
     mkdir = 1
 
 rawdata2proc:
     procfs = proc/raw/
     datafile = var/newdata
     timestamp-106 = Year_RTM, Day_RTM, Hour_Minute_RTM
     timestamp-115 = Year_RTM, Day_RTM, Hour_Minute_RTM
 
 miscellaneous:
     radioaddress=555-1212
 
 rawdata2html:
     page=web/current-raw.html
     title = N.Slope, Kuparuk R, East headwater
     data=var/newdata
     numberfields=1
 
 guidata2html:
     page=web/current.html
     title = Upper Kuparuk R., East headwater site
     data=var/newdata
     template = ../.web/uk_template.html
     vars = web/template.var
 
 tabulardata:
     datafile=var/data
     vars = web/template.var
     hours = 168
 
 files2spool4web:
     from = web/
     to = WEBHOST/NorthSlope/upper_kuparuk/e_headwater/
     statefile = var/files2spool4web-state
 
 check-headers:
     headers=var/headers
 
 check-program:
     program=var/program
     annotate=1
     text=web/csi-program.txt
 
 push-datafile:
     datafile = var/newdata
     statefile = var/.push-datafile
     pushdir = /home/waterprj/near-real-time/rawdatafiles/