-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwview_arduinopws.py
32 lines (31 loc) · 1.3 KB
/
wview_arduinopws.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# Copyright (c) 2016 Radek Kaczorek <rkaczorek@gmail.com>
#
# See the file LICENSE.txt for your full rights.
#
"""The wview schema, which is also used by weewx."""
schema = [('dateTime', 'INTEGER NOT NULL UNIQUE PRIMARY KEY'),
('usUnits', 'INTEGER NOT NULL'),
('interval', 'INTEGER NOT NULL'),
('barometer', 'REAL'),
('pressure', 'REAL'),
('altimeter', 'REAL'),
('outTemp', 'REAL'),
('outHumidity', 'REAL'),
('windSpeed', 'REAL'),
('windDir', 'REAL'),
('windGust', 'REAL'),
('windGustDir', 'REAL'),
('rain', 'REAL'),
('rainRate', 'REAL'),
('dewpoint', 'REAL'),
('windchill', 'REAL'),
('heatindex', 'REAL'),
('ET', 'REAL'),
('radiation', 'REAL'),
('supplyVoltage', 'REAL'),
('gpsLatitude', 'REAL'),
('gpsLongitude', 'REAL'),
('gpsAltitude', 'REAL'),
('gpsSats', 'REAL'),
('gpsDateTime', 'REAL')]