Commit 6b43d6d
committed
Issue #354: avoid numpy arrays from DriverVectorCube.to_internal_json
Note that `DataArray.to_dict()` only supports `data="list"` from
xarray>=2023.05. In python 3.8 environments (still default at moment),
highest xarray version is 2023.01, where `data` argument is expected to
be bool. However, in those situations `data="list"` will be interpreted
as True, which is actually fine.
So this fix is backward compatible (somewhat accidentally)1 parent b26527c commit 6b43d6d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
559 | | - | |
| 559 | + | |
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
| |||
0 commit comments