From dd6c6ca9e81e142cb62783f67004bf440fec1aa4 Mon Sep 17 00:00:00 2001 From: Raoul Linnenbank <58594297+rflinnenbank@users.noreply.github.com> Date: Mon, 18 Sep 2023 08:19:52 +0200 Subject: [PATCH] [2023-09-18 08:18] Microfix for Actuele Waarnemingen Register Fixed File Identifier length to prevent erroneously detecting the regular suffix as being unsupported. --- .../knmi/client/actuele_waarnemingen_register_repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weather_provider_api/routers/weather/sources/knmi/client/actuele_waarnemingen_register_repository.py b/weather_provider_api/routers/weather/sources/knmi/client/actuele_waarnemingen_register_repository.py index 463dc15..ed91762 100644 --- a/weather_provider_api/routers/weather/sources/knmi/client/actuele_waarnemingen_register_repository.py +++ b/weather_provider_api/routers/weather/sources/knmi/client/actuele_waarnemingen_register_repository.py @@ -51,7 +51,7 @@ def __init__(self): self.runtime_limit = 3 * 60 # Three minutes maximum runtime self.permanent_suffixes = [] self.filename = self.repository_folder / f"{self.file_prefix}_register.nc" - self.file_identifier_length = 0 + self.file_identifier_length = 8 self.logger.debug( f"Initialized the [{self.repository_name}] repository",