From 4bbd017ba3d45a3b6fd2a5a71b60c83a2db0cb17 Mon Sep 17 00:00:00 2001 From: Enrico Zini Date: Mon, 8 May 2023 15:26:02 +0200 Subject: [PATCH] Stop at the first grib table file found. Refs: #300 --- python/arkimet/formatter/eccodes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/arkimet/formatter/eccodes.py b/python/arkimet/formatter/eccodes.py index 4c92d092b..fa09a6056 100644 --- a/python/arkimet/formatter/eccodes.py +++ b/python/arkimet/formatter/eccodes.py @@ -65,6 +65,8 @@ def __init__(self, edition: int, table: str): self._desc[idx] = mo.group("desc").strip() except FileNotFoundError: pass + else: + break def set(self, code: int, abbr: str, desc: str): """