From 31c484455b4c389fe83b75baaed26445d4486965 Mon Sep 17 00:00:00 2001 From: Florian Deconinck Date: Wed, 23 Aug 2023 13:12:52 -0400 Subject: [PATCH] Missed commit --- stencils/pace/stencils/testing/grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stencils/pace/stencils/testing/grid.py b/stencils/pace/stencils/testing/grid.py index 65ad8870..4cf623b1 100644 --- a/stencils/pace/stencils/testing/grid.py +++ b/stencils/pace/stencils/testing/grid.py @@ -504,7 +504,7 @@ def grid_data(self) -> "GridData": data = getattr(self, name) assert data is not None - quantity = self.quantity_factory.empty(dims=dims, units=units) + quantity = self.quantity_factory.zeros(dims=dims, units=units) if len(quantity.shape) == 3: quantity.data[:] = data[:, :, : quantity.shape[2]] elif len(quantity.shape) == 2: