Commit dbcb9c1b authored by Espen Sollum's avatar Espen Sollum
Browse files

Fix xarray compatibility issue

parent 89f59960
......@@ -151,7 +151,8 @@ def read_datastore(file_monitor,
# Doesn't try to read if file_monitor is None
if file_monitor is None:
# ESO: added 2nd condition or program halts with some xarray versions
if file_monitor is None or not os.path.isfile(file_monitor):
raise IOError
if dump_type == 'nc':
Supports Markdown
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