Mercurial > repos > greg > validate_temperature_data
changeset 2:57c418290b61 draft
Uploaded
author | greg |
---|---|
date | Tue, 27 Nov 2018 09:52:13 -0500 |
parents | cfe1ce427aa7 |
children | 3de939253e55 |
files | validate_temperature_data.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/validate_temperature_data.py Tue Nov 27 09:50:49 2018 -0500 +++ b/validate_temperature_data.py Tue Nov 27 09:52:13 2018 -0500 @@ -84,7 +84,7 @@ accumulated_msgs = add_error_msg(accumulated_msgs, "Line %d contains %s columns, (must be 10)." % (i, len(items))) stop_error(accumulated_msgs) stationid = items[0] - if len(station_id) == 0: + if len(stationid) == 0: accumulated_msgs = empty_value(i, "stationid", accumulated_msgs) latitude = items[1] accumulated_msgs = validate_decimal(i, latitude, accumulated_msgs, "latitude")