Commit ef3a4d28 authored by Sasa Zhang's avatar Sasa Zhang
Browse files

metro_data_station.py revised

parent 62bc8236
Pipeline #196290 passed with stage
in 1 minute and 3 seconds
......@@ -136,7 +136,6 @@ class Metro_data_station(Metro_data):
else:
dStation_header = self.get_header()
fStation_sst_depth = dStation_header['SST_DEPTH']
# if fStation_sst_depth == "None" or fStation_sst_depth > 1.4 or fStation_sst_depth < 0.01:
if fStation_sst_depth is None or fStation_sst_depth > 1.4 or fStation_sst_depth < 0.01:
sMessage = _("Sensor SST depth value in station config file is not between 0.01 m and 1.4 m. "
"Given value: '%s' m.") % fStation_sst_depth
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment