Skip to content

Commit

Permalink
fixed error where altitude units could not be changed from meter
Browse files Browse the repository at this point in the history
  • Loading branch information
gjr80 committed Feb 21, 2017
1 parent 1af4a9a commit 80c40ba
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions bin/user/rtgd.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@
# You should have received a copy of the GNU General Public License along with
# this program. If not, see http://www.gnu.org/licenses/.
#
# Version: 0.2.4 Date: 20 February 2017
# Version: 0.2.5 Date: 21 February 2017
#
# Revision History
# 21 February 2017 v0.2.5 - fixed error where altitude units could not be
# changed from meter
# 20 February 2017 v0.2.4 - fixed error where rain units could not be
# changed form mm
# changed from mm
# - pressures now formats to correct number of
# decimal places
# - reworked temp and pressure trend formatting
Expand Down Expand Up @@ -231,7 +233,7 @@
from weeutil.weeutil import to_bool

# version number of this script
RTGD_VERSION = '0.2.3'
RTGD_VERSION = '0.2.5'
# version number (format) of the generated gauge-data.txt
GAUGE_DATA_VERSION = '13'

Expand All @@ -250,8 +252,8 @@
'mbar': 'mb',
'hPa': 'hPa'}
UNITS_RAIN = {'inch': 'in',
'mm': 'mm'}
UNITS_CLOUD = {'ft': 'ft',
'mm': 'mm'}
UNITS_CLOUD = {'foot': 'ft',
'meter': 'm'}

# Define station lost contact checks for supported stations. Note that at
Expand Down

0 comments on commit 80c40ba

Please sign in to comment.