From: Alexander Vasarab Date: Sun, 29 Nov 2020 17:26:14 +0000 (-0800) Subject: Add Tmin/Tmax support X-Git-Tag: v2.2.0^2~1^2 X-Git-Url: https://wylark.com/src/infoex-autowx.git/commitdiff_plain/68fafe3a98e61112fc4c37bbe3a1c7c35fea469a Add Tmin/Tmax support --- 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'