Skip to content

Commit b0c5c38

Browse files
20% nans in nwp is ok (#260)
1 parent c3ddf5c commit b0c5c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nwp_consumer/internal/entities/tensorstore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def write_to_region(
325325
@staticmethod
326326
def _has_nans(store_da: xr.DataArray) -> ResultE[bool]:
327327
"""Check the store for NaN values."""
328-
nans_in_image_threshold: float = 0.1
328+
nans_in_image_threshold: float = 0.2
329329
images_failing_nan_check_threshold: float = 0.0
330330
def _calc_null_percentage(data: np.typing.NDArray[np.float32]) -> float:
331331
nulls = np.isnan(data)

0 commit comments

Comments
 (0)