mirror of
https://github.com/weewx/weewx.git
synced 2026-04-20 17:46:58 -04:00
fixed bug in CWOP upload
This commit is contained in:
@@ -476,7 +476,7 @@ class CWOP(REST):
|
||||
(u, g) = weewx.units.getStandardUnitType(record['usUnits'], 'barometer')
|
||||
# Convert to millibars:
|
||||
baro = weewx.units.convert((record['barometer'], u, g), 'mbar')
|
||||
baro_str = "b%5d" % (baro[0]*10.0)
|
||||
baro_str = "b%05d" % (baro[0]*10.0)
|
||||
|
||||
# Humidity:
|
||||
humidity = record['outHumidity']
|
||||
|
||||
@@ -6,6 +6,9 @@ weewx change history
|
||||
A bad record archive type now causes a catch up to be abandoned, rather
|
||||
than program termination.
|
||||
|
||||
Fixed bug in CWOP upload that put spaces in the upload string if the pressure
|
||||
was under 1000 millibars.
|
||||
|
||||
Added illuminance-to-radiation conversion for FineOffsetUSB driver.
|
||||
|
||||
Added pressure calibration option to wee_config_fousb
|
||||
|
||||
Reference in New Issue
Block a user