New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: cannot reshape array of size 1 into shape (7,) #58
Comments
Have you made sure you're running the latest libnetcdf? |
Can you provide a sscce to help us debug this? Also, it does not look like an issue with packaging. Please take a look at the issue tracker upstream for similar problems and check the package changelog. |
I do look also upstream, this example shows what happens The problem seemingly occurs, when a masked array is supplied that uses only a single boolean (np.ma.nomask) instead of a full boolean array.
see also Unidata/netcdf4-python#847 |
Can you do |
@dopplershift |
reshape array of size 1 into shape (7,) needs cftime >=1.0.1, fixes #58
Issue:
conda install -c conda-forge netcdf4 Solving environment: done
Package Plan
environment location: /home/user/miniconda3/envs/mssenv3
added / updated specs:
- netcdf4
The following packages will be downloaded:
The following packages will be UPDATED:
Details about
conda
and system (conda info
):I had run in the problem that 1.4.0 works but 1.4.1 of netcdf4 doesn't
https://bitbucket.org/wxmetvis/mss/issues/366/demodata-mswms-problem
currently a downgrade to 1.4.0 solves it for me.
The text was updated successfully, but these errors were encountered: