import xarray as xr
xr.open_dataset(path_netcdf, chunks={'time': 10})
flow_data = hndl_tran['val']
new_arr = flow_data * vba
I get this error:
*** ValueError: total size of new array must be unchanged
Here are the shapes of the 2 arrays:
flow_data.shape
(1165, 720, 1440)
vba.shape
(720L, 1440L)
How can I fix this error?