Skip to content

Commit 96356fb

Browse files
committed
Remove np.float_ as a fill option
Running with NumPy 2.2.2 produces the following error: AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead. This removes the unsupported type.
1 parent eec6637 commit 96356fb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/wrf/constants.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ class ProjectionTypes(object):
5959
np.dtype(np.uint32): 4294967295,
6060
np.dtype(np.int64): Constants.DEFAULT_FILL_INT64,
6161
np.dtype(np.uint64): 18446744073709551614,
62-
np.dtype(np.float_): Constants.DEFAULT_FILL_DOUBLE,
6362
np.dtype(np.float32): Constants.DEFAULT_FILL_FLOAT,
6463
np.dtype(np.float64): Constants.DEFAULT_FILL_DOUBLE
6564
}

0 commit comments

Comments
 (0)