From ae4aebf1b28163afdd2fb1eb48541e659b22c548 Mon Sep 17 00:00:00 2001 From: Harrison Cook Date: Thu, 7 Nov 2024 08:39:51 +0000 Subject: [PATCH 1/2] Remove assertion limiting datetimes to 0,6,12,18 --- src/ai_models/model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ai_models/model.py b/src/ai_models/model.py index 01eda32..c87f78f 100644 --- a/src/ai_models/model.py +++ b/src/ai_models/model.py @@ -260,7 +260,7 @@ def _datetimes(self, dates): assert isinstance(time, int) if time < 100: time *= 100 - assert time in (0, 600, 1200, 1800), time + # assert time in (0, 600, 1200, 1800), time lagged = self.lagged if not lagged: @@ -300,7 +300,7 @@ def datetimes(self, step=0): if time < 100: time *= 100 - assert time in (0, 600, 1200, 1800), time + # assert time in (0, 600, 1200, 1800), time full = datetime.datetime( date // 10000, From e629b52a078020d8269007dc27ab15c03bb77a98 Mon Sep 17 00:00:00 2001 From: Harrison Cook Date: Tue, 19 Nov 2024 14:12:49 +0000 Subject: [PATCH 2/2] Update --- CITATION.cff | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CITATION.cff b/CITATION.cff index d362247..a2113c1 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -20,6 +20,10 @@ authors: family-names: Dramsch affiliation: ECMWF orcid: 'https://orcid.org/0000-0001-8273-905X' + - given-names: Harrison + family-names: Cook + affiliation: ECMWF + orcid: 'https://orcid.org/0009-0009-3207-4876' - given-names: Matthew family-names: Chantry affiliation: ECMWF