#785 closed defect (fixed)

Update python3-netcdf4

Reported by: nicogodet Owned by: osgeo4w-dev@…
Priority: normal Component: Package
Version: Keywords:
Cc:

Description

Shipped version of python3-netcdf4 is outdated and not compatible with Numpy.

Using netcdf4 in python results in many python error caused by newer numpy version

>>> nc['RR'][:]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "netCDF4\_netCDF4.pyx", line 4493, in netCDF4._netCDF4.Variable.__getitem__
  File "netCDF4\_netCDF4.pyx", line 4560, in netCDF4._netCDF4.Variable._toma
  File "C:\OSGeo4W\apps\Python39\lib\site-packages\numpy\__init__.py", line 284, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'bool'
>>> netCDF4.__version__
'1.5.4'

Latest version is netCDF4 1.6.3 https://pypi.org/project/netCDF4/

Change History (2)

comment:2 by jef, 20 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.