[osgeo4w-dev] [osgeo4w] #785: Update python3-netcdf4
OSGeo4W
trac_osgeo4w at osgeo.org
Tue Apr 25 08:17:31 PDT 2023
#785: Update python3-netcdf4
----------------------+---------------------------
Reporter: nicogodet | Owner: osgeo4w-dev@…
Type: defect | Status: new
Priority: normal | Component: Package
Version: | Keywords:
----------------------+---------------------------
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/
--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/785>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
More information about the osgeo4w-dev
mailing list