Skip to content

Commit 538c79e

Browse files
committed
mypy
1 parent 8d7d333 commit 538c79e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nwp_consumer/internal/repositories/raw_repositories/ecmwf_realtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def _convert(path: pathlib.Path) -> ResultE[list[xr.DataArray]]:
276276
for i, ds in enumerate(dss):
277277
# ECMWF Realtime provides all regions in one set of datasets,
278278
# so distinguish via their coordinates
279-
step = np.timedelta64(ds.coords["step"].values, "h").astype(int)
279+
step:int = np.timedelta64(ds.coords["step"].values, "h").astype(int)
280280
is_relevant_dataset_predicate: bool = (
281281
(expected_lons is not None and expected_lats is not None)
282282
and (expected_lons[0] <= max(ds.coords["longitude"].values) <= expected_lons[-1])

0 commit comments

Comments
 (0)