Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2017
721
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.48 KB | None | 0 0
  1. [StdReport]
  2.  
  3. # added
  4. skin = Standard
  5.  
  6. # Where the skins reside, relative to WEEWX_ROOT
  7. SKIN_ROOT = skins
  8.  
  9. # Where the generated reports should go, relative to WEEWX_ROOT
  10. HTML_ROOT = public_html
  11.  
  12. # The database binding indicates which data should be used in reports.
  13. data_binding = wx_binding
  14.  
  15. # Each of the following subsections defines a report that will be run.
  16.  
  17. [[StandardReport]]
  18.  
  19. # See the customizing guide to change the units, plot types and line
  20. # colors, modify the fonts, display additional sensor data, and other
  21. # customizations. Many of those changes can be made here by overriding
  22. # parameters, or by modifying templates within the skin itself.
  23.  
  24. # The StandardReport uses the 'Standard' skin, which contains the
  25. # images, templates and plots for the report.
  26. skin = Standard
  27.  
  28. [[[Units]]]
  29.  
  30. [[[[Groups]]]]
  31. group_altitude = foot
  32. #group_speed2 = knots2
  33. group_speed2 = mile_per_hour2
  34. group_pressure = inHg
  35. group_rain = inch
  36. group_rainrate = inch_per_hour
  37. group_temperature = degree_F
  38. group_degree_day = degree_F_day
  39. group_speed = mile_per_hour
  40.  
  41.  
  42.  
  43. [[StackedWindRose]]
  44.  
  45. # set the options here.
  46. # this is an extension installed from github.com/gjr80/weewx-stackedwindrose
  47.  
  48. skin = StackedWindRose
  49.  
  50. [[[Units]]]
  51.  
  52. [[[[Labels]]]]
  53. mile_per_hour = mph
  54. meter_per_second = m/s
  55. knot = knots
  56. km_per_hour = km/h
  57.  
  58. [[[[Groups]]]]
  59. group_speed = knot
  60.  
  61. [[[Labels]]]
  62.  
  63. compass_points = N, S, E, W
  64.  
  65. [[[[Generic]]]]
  66. windSpeed = Wind Speed
  67. windGust = Gust Speed
  68.  
  69. [[[ImageStackedWindRoseGenerator]]]
  70.  
  71. image_width = 500
  72. image_height = 480
  73.  
  74. # size of label on top ("24 hour wind rose")
  75. windrose_label_font_size = 22
  76.  
  77. # note that I added these offset values to imagestackedwindrose.py
  78. windrose_label_xoffset = 50
  79. windrose_label_yoffset = 0
  80.  
  81. # text in the legend (thermometer on side)
  82. windrose_legend_font_size = 12
  83.  
  84. # size of the percentage markers and the compass points
  85. windrose_plot_font_size = 12
  86.  
  87. # the border outside the rose before edge of graphic?
  88. windrose_plot_border = 8
  89.  
  90. windrose_legend_bar_width = 13
  91.  
  92. image_background_box_color = 0xF5C696
  93. #image_background_box_color = 0xFFFFFF
  94. image_background_circle_color = 0xF5F5F5
  95.  
  96. image_background_image = None
  97. image_background_range_ring_color = 0xC3D9DD
  98.  
  99. #windrose_plot_petal_colors = aqua, 0xFF9900, 0xFF3300, 0x009900, 0x00CC00, 0x33FF33, 0x00FFCC
  100.  
  101. # color scheme from http://climate.ncsu.edu/dynamic_scripts/windrose/KRDU_windrose.png
  102. windrose_plot_petal_colors = "" #ffffff, #0000ff, #11f2cd, #00de34, #ffe600, #ff4700, #800000
  103.  
  104.  
  105. windrose_font_path = /home/weewx/fonts/HelveticaNeueHv.ttf
  106.  
  107. # the width of each of the pieces of wind directions ("rose petals")
  108. windrose_plot_petal_width = 20
  109. windrose_label_font_color = 0x000000
  110. windrose_legend_font_color = 0x000000
  111. windrose_plot_font_color = 0x000000
  112.  
  113.  
  114. [[[[day_images]]]]
  115.  
  116. period = 86400 # 1 day = 86400 seconds
  117.  
  118. [[[[[daywindrose]]]]]
  119. format = png
  120.  
  121. [[[[[[windSpeed]]]]]]
  122. time_stamp_location = bottom, right
  123. time_stamp = %H:%M %-d %b %y
  124. label = 24 Hour Wind Rose
  125.  
  126. [[forecast]]
  127.  
  128. HTML_ROOT = public_html/forecast
  129. #HTML_ROOT = /home/weewx/public_html/forecast
  130. skin = forecast
  131.  
  132.  
  133. [[NWS]]
  134. #lid = MAZ014 # specify a location identifier
  135. #foid = BOX # specify a forecast office identifier
  136. [[WU]]
  137. api_key = b721616405a3117e # specify a weather underground api_key
  138. [[OWM]]
  139. #api_key = XXXXXXXXXXXXXXXX # specify an open weathermap api_key
  140. [[UKMO]]
  141. #api_key = XXXXXXXXXXXXXXXX # specify a UK met office api_key
  142. #location = 2337 # specify code for UK location
  143. [[Aeris]]
  144. #client_id = XXXXXXXXXXXXXXXX # specify client identifier
  145. #client_secret = XXXXXXXXXXXXXXXX # specify client secret key
  146. [[XTide]]
  147. #location = "Tomales Bay Entrance, California" # specify a location
  148. location = boston # "Tomales Bay Entrance, California" # specify a location
  149.  
  150.  
  151.  
  152.  
  153. [[FTP]]
  154.  
  155.  
  156. # FTP'ing the results to a webserver is treated as just another report,
  157. # albeit one with an unusual report generator!
  158. skin = Ftp
  159.  
  160. # If you wish to use FTP, uncomment and fill out the next four lines.
  161. user = yyyyyyyyyyyyyyyyyy
  162. password = xxxxxxxxxxxxx
  163. server = sinkingsensation.com
  164. path = /whatever
  165.  
  166.  
  167.  
  168. # Set to True for an FTP over TLS (FTPS) connection. Not all servers
  169. # support this. NOTE THAT WITH MOD THIS SHOULD BE SFTP.
  170. secure_ftp = False
  171.  
  172.  
  173. # Most FTP servers use port 21
  174. port = 22
  175.  
  176. # Set to 1 to use passive mode, zero for active mode
  177. passive = 0
  178.  
  179.  
  180.  
  181.  
  182. [[RSYNC]]
  183. # rsync'ing to a webserver is treated as just another report
  184. skin = Rsync
  185.  
  186. # If you wish to use rsync, you must configure passwordless ssh using
  187. # public/private key authentication from the user account that weewx
  188. # runs as to the user account on the remote machine where the files
  189. # will be copied.
  190. #
  191. # The following three lines determine where files will be sent.
  192. #server = replace with the rsync server name, e.g, www.threefools.org
  193. #path = replace with the rsync destination directory (e.g., /weather)
  194. #user = replace with the rsync username
  195.  
  196. # Rsync can be configured to remove files from the remote server if
  197. # they don't exist under HTML_ROOT locally. USE WITH CAUTION: if you
  198. # make a mistake in the remote path, you could could unintentionally
  199. # cause unrelated files to be deleted. Set to 1 to enable remote file
  200. # deletion, zero to allow files to accumulate remotely.
  201. delete = 0
  202.  
  203. ##############################################################################
  204.  
  205. # This service acts as a filter, converting the unit system coming from
  206. # the hardware to a unit system in the database.
  207.  
  208. [StdConvert]
  209.  
  210. ....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement