Skip to content
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

Not compatible with numpy 1.7.x #65

Closed
kwilcox opened this issue Oct 23, 2013 · 1 comment
Closed

Not compatible with numpy 1.7.x #65

kwilcox opened this issue Oct 23, 2013 · 1 comment

Comments

@kwilcox
Copy link
Contributor

kwilcox commented Oct 23, 2013

two issues I came across:

['Traceback (most recent call last):\n', ' File "/home/dev/Development/paegan/paegan/cdm/dataset.py", line 769, in get_values\n    data = self._get_data(var, indices, use_local)\n', '  File "/home/dev/Development/paegan/paegan/cdm/grids/r_grid.py", line 78, in _get_data\n    indarray[3]]\n', '  File "netCDF4.pyx", line 2613, in netCDF4.Variable.__getitem__ (netCDF4.c:29667)\n', '  File "/home/dev/.virtualenvs/larva273/lib/python2.7/site-packages/netCDF4_utils.py", line 141, in _StartCountStride\n    raise IndexError("Index cannot be multidimensional.")\n', 'IndexError: Index cannot be multidimensional.\n']
['Traceback (most recent call last):\n', '  File "/home/dev/Development/paegan/paegan/cdm/dataset.py", line 768, in get_values\n    if np.all([i.size >0 for i in indices]):\n', "AttributeError: 'list' object has no attribute 'size'\n"]
@kwilcox
Copy link
Contributor Author

kwilcox commented Jan 29, 2014

All tests passing with:

Fiona           - 0.8          - active 
GDAL            - 1.9.1        - active 
Python          - 2.7.6        - active development (/opt/python-2.7.6/lib/python2.7/lib-dynload)
Shapely         - 1.3.0        - active 
basemap         - 1.0.7        - active 
distribute      - 0.6.49       - active development (/home/kwilcox/.venvburrito/lib/python/distribute-0.6.49-py2.7.egg)
matplotlib      - 1.1.0        - active 
netCDF4         - 1.0.7        - active 
numpy           - 1.8.0        - active 
paegan-transport - 0.3-dev      - active development (/home/kwilcox/Development/paegan-transport)
paegan-viz      - 0.3.0        - active development (/home/kwilcox/Development/paegan-viz)
paegan          - 1.0-dev      - active development (/home/kwilcox/Development/paegan)
python-dateutil - 2.2          - active 
pytz            - 2013.9       - active 
requests        - 1.2.3        - active 
scipy           - 0.13.2       - active 

I'm not sure the tests even touch the get_values function. Will investigate...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant