Skip to content

Commit f180f9e

Browse files
committed
Remove dtype arg
It is an invalid argumnet to the rand() function
1 parent f1b0964 commit f180f9e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

parcels/_datasets/structured/circulation_models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def _NEMO_MOI_U():
166166
{
167167
"vozocrtx": (
168168
["deptht", "y", "x"],
169-
np.random.rand(Z, Y, X, dtype="float64"),
169+
np.random.rand(Z, Y, X),
170170
{
171171
"units": "m s-1",
172172
"valid_min": -10.0,
@@ -183,7 +183,7 @@ def _NEMO_MOI_U():
183183
),
184184
"sotkeavmu1": (
185185
["y", "x"],
186-
np.random.rand(Y, X, dtype="float64"),
186+
np.random.rand(Y, X),
187187
{
188188
"units": "m2 s-1",
189189
"valid_min": 0.0,
@@ -274,7 +274,7 @@ def _NEMO_MOI_V():
274274
{
275275
"vomecrty": (
276276
["deptht", "y", "x"],
277-
np.random.rand(Z, Y, X, dtype="float64"),
277+
np.random.rand(Z, Y, X),
278278
{
279279
"units": "m s-1",
280280
"valid_min": -10.0,

0 commit comments

Comments
 (0)