import xarray as xr
xr.open_dataset(path_netcdf, chunks={'time': 10})
flow_data = hndl_tran['val']
new_arr = flow_data * vba
我收到此错误:
*** ValueError: total size of new array must be unchanged
以下是 2 个数组的形状:
flow_data.shape
(1165, 720, 1440)
vba.shape
(720L, 1440L)
我该如何解决这个错误?