diff --git a/src/info.py b/src/info.py index 83d57ff..99c2b13 100644 --- a/src/info.py +++ b/src/info.py @@ -138,6 +138,9 @@ def __init__(self, path): try: self.path = path components = path.split("/") + if len(components) == 8: + self.bucket, csc, generator, year, month, day, directory, self.filename = components + self.instrument = f"{csc}/{generator}" if len(components) == 7: self.bucket, csc, generator, year, month, day, self.filename = components self.instrument = f"{csc}/{generator}"