WERC-datasite-siterc-example

From IARC 207 Wiki
Jump to navigation Jump to search
 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/