From cd1a587c229ddc4c3877652cd1f73c003390c6f9 Mon Sep 17 00:00:00 2001 From: XANTRONIX Industrial Date: Mon, 14 Apr 2025 11:28:30 -0400 Subject: [PATCH] Slight reformatting --- lib/xmet/bufr.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/xmet/bufr.py b/lib/xmet/bufr.py index 844b47e..c0be9dd 100644 --- a/lib/xmet/bufr.py +++ b/lib/xmet/bufr.py @@ -158,11 +158,12 @@ class BUFRSounding(Sounding): @staticmethod def valid_by_timestamp(station: str, timestamp: datetime.datetime) -> Self: - epoch = timestamp.timestamp() - request = BUFRSounding.create_request(station) + epoch = timestamp.timestamp() + request = BUFRSounding.create_request(station) datatimes = DataAccessLayer.getAvailableTimes(request) - by_delta = dict() + + by_delta = dict() for datatime in datatimes: ts = datatime.getRefTime().time / 1000.0