From eec6b44e5203d83d8b6a9c870e308836f8284fc1 Mon Sep 17 00:00:00 2001 From: Kian-Tat Lim Date: Fri, 29 Mar 2024 13:50:50 -0700 Subject: [PATCH] Fix handling of GenericCamera movies. --- src/info.py | 3 +++ 1 file changed, 3 insertions(+) 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}"