Skip to content

Commit 1482719

Browse files
committed
hindcasts
1 parent ac8f9b5 commit 1482719

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ai_models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# granted to it by virtue of its status as an intergovernmental organisation
66
# nor does it submit to any jurisdiction.
77

8-
__version__ = "0.2.7"
8+
__version__ = "0.2.8"

ai_models/model.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ def write(self, *args, **kwargs):
107107
def collect_archive_requests(self, written):
108108
if self.archive_requests:
109109
handle, path = written
110+
if self.hindcast_reference_date:
111+
# The clone is necessary because the handle
112+
# does not return always return recently set keys
113+
handle = handle.clone()
114+
110115
self.archiving[path].add(handle.as_mars())
111116

112117
def finalise(self):

0 commit comments

Comments
 (0)