We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08f45de commit c9d7175Copy full SHA for c9d7175
1 file changed
operators/read-tem-data/run.py
@@ -40,10 +40,9 @@ def read_data_ncempy(
40
except Exception as e:
41
logger.info(f"Problem loading file. Error: {e}")
42
return None
43
-
44
- # Send the data every 3 seonds
45
- # TODO: Use trigger instead of time.sleep to control when data is sent
46
- time.sleep(3.0)
+ finally:
+ # TODO: Use trigger instead of time.sleep to control when data is sent
+ time.sleep(3.0) # wait to read it again.
47
48
# Process and return result if the data was loaded successfully
49
data_bytes = data.tobytes()
0 commit comments