X-Git-Url: https://wylark.com/src/infoex-autowx.git/blobdiff_plain/ef0f21f960c930243323816ca4f99f98f3a8bf1a..1a0db30b2b4d47b236876265832491dbf9cffae0:/infoex-autowx.py diff --git a/infoex-autowx.py b/infoex-autowx.py index 57fef27..78279f2 100755 --- a/infoex-autowx.py +++ b/infoex-autowx.py @@ -192,10 +192,21 @@ if data['provider'] == 'nrcs': iemap['PREC'] = 'precipitationGauge' iemap['TOBS'] = 'tempPres' iemap['SNWD'] = 'hS' + iemap['PRES'] = 'baro' + iemap['RHUM'] = 'rH' + iemap['WSPD'] = 'windSpeedNum' + iemap['WDIR'] = 'windDirectionNum' + # unsupported by NRCS: + # windGustSpeedNum elif data['provider'] == 'mesowest': iemap['precip_accum'] = 'precipitationGauge' iemap['air_temp'] = 'tempPres' iemap['snow_depth'] = 'hS' + iemap['pressure'] = 'baro' + iemap['relative_humidity'] = 'rH' + iemap['wind_speed'] = 'windSpeedNum' + iemap['wind_direction'] = 'windDirectionNum' + iemap['wind_gust'] = 'windGustSpeedNum' # floor time to nearest hour dt = datetime.datetime.now()