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