diff --git a/synop2bufr/__init__.py b/synop2bufr/__init__.py index f1b5df9..32c679b 100644 --- a/synop2bufr/__init__.py +++ b/synop2bufr/__init__.py @@ -1413,6 +1413,10 @@ def transform(data: str, metadata: str, year: int, "csv": None } } + # Reset warning and error messages array for next iteration + warning_msgs = [] + error_msgs = [] + continue # Now determine and load the appropriate mappings # file depending on the value of the wind indicator.