changeset 13:e33fdb18762f draft

Uploaded
author greg
date Tue, 27 Nov 2018 10:43:58 -0500
parents 62b46f0b88c9
children 59b9339c2ed6
files validate_temperature_data.py
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/validate_temperature_data.py	Tue Nov 27 10:41:19 2018 -0500
+++ b/validate_temperature_data.py	Tue Nov 27 10:43:58 2018 -0500
@@ -147,11 +147,7 @@
             accumulated_msgs = validate_integer(i, doy, accumulated_msgs, "doy")
             # Make sure the DOY values are consecutive.
             if i==0:
-                try:
-                    last_doy = int(doy)
-                except Exception:
-                    # The error for an invalid integer was captured above.
-                    pass
+                last_doy = int(doy)
             else:
                 try:
                     if int(doy) != (last_doy + 1):