From 68fafe3a98e61112fc4c37bbe3a1c7c35fea469a Mon Sep 17 00:00:00 2001 From: Alexander Vasarab Date: Sun, 29 Nov 2020 09:26:14 -0800 Subject: [PATCH] Add Tmin/Tmax support --- infoex-autowx.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/infoex-autowx.py b/infoex-autowx.py index baa8c84..fdaec34 100755 --- 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' + iemap['TMAX'] = 'tempMaxHour' + iemap['TMIN'] = 'tempMinHour' 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' + 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' -- 2.30.2