Skip to content

Commit 1aacdaf

Browse files
committed
Fix dim of data for preprocc
1 parent d2f5517 commit 1aacdaf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bris/model/brispredictor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ def set_static_forcings(
160160
dtype=data.dtype,
161161
device=data.device,
162162
)
163+
data_input = data_input[None, None, None, ...] # Add bs, time, ens dims needed by imputer
163164
data_input[..., self.indices[ds]["prognostic_input"]] = data[
164165
..., self.indices[ds]["prognostic_dataset"]
165166
]

0 commit comments

Comments
 (0)