diff --git a/schainpy/model/io/jroIO_base.py b/schainpy/model/io/jroIO_base.py index 6528789..ee811f2 100644 --- a/schainpy/model/io/jroIO_base.py +++ b/schainpy/model/io/jroIO_base.py @@ -641,8 +641,11 @@ class JRODataReader(JRODataIO): """ - dirList = [] + if not os.path.isdir(path): + return None, None, None, None, None, None + dirList = [] + if not walk: fullpath = path foldercounter = 0