wylark
/
infoex-autowx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8be9553
)
Add Tmin/Tmax support
author
Alexander Vasarab <alexander@wylark.com>
Sun, 29 Nov 2020 17:26:14 +0000
(09:26 -0800)
committer
Alexander Vasarab <alexander@wylark.com>
Sun, 29 Nov 2020 17:26:14 +0000
(09:26 -0800)
infoex-autowx.py
patch
|
blob
|
history
diff --git
a/infoex-autowx.py
b/infoex-autowx.py
index baa8c84dd63c6184194c92978a5b5476a148d179..fdaec3485e2f09534568f11b6d3ef94dc6938300 100755
(executable)
--- a/
infoex-autowx.py
+++ b/
infoex-autowx.py
@@
-316,6
+316,8
@@
def setup_infoex_counterparts_mapping(provider):
if provider == 'nrcs':
iemap['PREC'] = 'precipitationGauge'
iemap['TOBS'] = 'tempPres'
if provider == 'nrcs':
iemap['PREC'] = 'precipitationGauge'
iemap['TOBS'] = 'tempPres'
+ iemap['TMAX'] = 'tempMaxHour'
+ iemap['TMIN'] = 'tempMinHour'
iemap['SNWD'] = 'hS'
iemap['PRES'] = 'baro'
iemap['RHUM'] = 'rH'
iemap['SNWD'] = 'hS'
iemap['PRES'] = 'baro'
iemap['RHUM'] = 'rH'
@@
-326,6
+328,8
@@
def setup_infoex_counterparts_mapping(provider):
elif provider == 'mesowest':
iemap['precip_accum'] = 'precipitationGauge'
iemap['air_temp'] = 'tempPres'
elif provider == 'mesowest':
iemap['precip_accum'] = 'precipitationGauge'
iemap['air_temp'] = 'tempPres'
+ iemap['air_temp_high_24_hour'] = 'tempMaxHour'
+ iemap['air_temp_low_24_hour'] = 'tempMinHour'
iemap['snow_depth'] = 'hS'
iemap['pressure'] = 'baro'
iemap['relative_humidity'] = 'rH'
iemap['snow_depth'] = 'hS'
iemap['pressure'] = 'baro'
iemap['relative_humidity'] = 'rH'