- update to 1.7.3:
* Python 3.14 wheels (issue #1432)
* support os.PathLike arguments for `Dataset.fromcdl` and raise
a `FileNotFoundError` if the cdl is missing and a
`FileExistsError` if the nc file already exists (PR #1387)
* raise more informative error when trying to iterate or
perform a membership operation on a Dataset (issue #1383)
* fix type hint for createEnumType (issue #1378)
* add python 3.13 to windows wheel builds (PR #1377)
* allow slicing of vlen and string variables with non-unitary
strides (issue #1408).
OBS-URL: https://build.opensuse.org/request/show/1318333
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-netCDF4?expand=0&rev=26
* Python 3.14 wheels (issue #1432)
* support os.PathLike arguments for `Dataset.fromcdl` and raise
a `FileNotFoundError` if the cdl is missing and a
`FileExistsError` if the nc file already exists (PR #1387)
* raise more informative error when trying to iterate or
perform a membership operation on a Dataset (issue #1383)
* fix type hint for createEnumType (issue #1378)
* add python 3.13 to windows wheel builds (PR #1377)
* allow slicing of vlen and string variables with non-unitary
strides (issue #1408).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-netCDF4?expand=0&rev=51
* ci fixes
* make sure arrays are masked that are not filled when auto_fill is off
* automatically create views of compound types with character arrays as
* always return masked array by default, even if there are no
* always search for HDF5 headers when building, even when nc-config is used
encodings (such as cp1252 on windows) can be handled in Dataset
such as var[:,::2,::2,::2])), so a variable method use_nc_get_vars was added.
segfaults can occur. Fix required raising them minimum numpy requirement
data. When writing the data, stringtochar is used to convert a numpy
* fix some test failures on big endian PPC64 that were due to
* raise warning for HDF5 1.10.x (issue #549), since backwards
fails. raise IOError instead of RuntimeError when nc_create or
(pull request #543).
mysterious segfaults on CentOS6 (issue #506). Segfaults
* Potential memory leaks fixed by freeing string pointers internally allocated
* invoke str on filename argument to Dataset constructor, so pathlib
* dates do not have to be contiguous, i.e. can be before and after the
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-netCDF4?expand=0&rev=45
- Update to 1.7.1.post1:
* include nc_complex source code from v0.2.0 tag
* add aarch64 wheels
* add support for complex numbers via `auto_complex` keyword to `Dataset`
* fix for deprecated Cython `DEF` and `IF` statements using compatibility
header with shims for unavailable functionality
* add support for MS-MPI `MPI_Message` detection
* fix surprising result when indexing vlen str with non-contiguous
indices.
* Fix bug in set_collective
- Remove upper bound on Cython.
- Restrict numpy to < 2.
- Drop patch 1322.patch, included upstream.
OBS-URL: https://build.opensuse.org/request/show/1186092
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-netCDF4?expand=0&rev=20
* include nc_complex source code from v0.2.0 tag
* add aarch64 wheels
* add support for complex numbers via `auto_complex` keyword to `Dataset`
* fix for deprecated Cython `DEF` and `IF` statements using compatibility
header with shims for unavailable functionality
* add support for MS-MPI `MPI_Message` detection
* fix surprising result when indexing vlen str with non-contiguous
indices.
* Fix bug in set_collective
- Remove upper bound on Cython.
- Restrict numpy to < 2.
- Drop patch 1322.patch, included upstream.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-netCDF4?expand=0&rev=39
- Update to 1.6.4
* set path to SSL certificates internally, so https DAP URLs work
with wheels (issue #1246, requires nc_rc_set function available
starting with netcdf-c 4.9.1, plus bugfix in netcdf-c PR #2690).
* Added certifi as a dependency.
* Added `isopen` method to `MFDataset` object to check if
underlying files are open.
- Version 1.6.3
* Use ``nc_put_vars`` for strided writes for netcdf-c >= 4.6.2
(issue #1222).
* _Unsigned="false" should be same as not having _Unsigned set
(issue #1232). _Unsigned now must be set to "true" or "True" for
variable to be interpreted as unsigned, instead of just having
_Unsigned be set (to anything).
OBS-URL: https://build.opensuse.org/request/show/1110158
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-netCDF4?expand=0&rev=28
* Added ``netCDF4.__has_set_alignment__`` property to help identify if the
underlying netcdf4 supports setting the HDF5 alignment.
* Slicing multi-dimensional variables with an all False boolean index array
now returns an empty numpy array (instead of raising an exception - issue #1197).
Behavior now consistent with numpy slicing.
* fix problem with compiling using netcdf-c < 4.9.0 (issue #1209)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-netCDF4?expand=0&rev=26
- Update to 1.5.6
* change numpy.bool to numpy.bool_ and numpy.float to
numpy.float_ (float and bool are deprecated in numpy 1.20,
issue #1065)
* clean up docstrings so that they work with latest pdoc.
* update cython numpy API to remove deprecation warnings.
* Add "fromcdl" and "tocdl" Dataset methods for import/export of
CDLvia ncdump/ncgen called externally via the subprocess module
(issue #1078).
* remove python 2.7 support.
* broadcast data (if possible) to conform to variable shape when
writing to a slice (issue #1083).
- Release 1.5.5
* have setup.py always try use nc-config first to find paths to
netcdf and hdf5 libraries and headers. Don't use pkg-config to
find HDF5 if HDF5 env vars are set (or read from setup.cfg).
* Change MIT license text to standard OSI wording (PR #1046).
- Skip python36 build: With NumPy 1.20, python36-numpy is no
longer available in Tumbleweed (NEP 29)
OBS-URL: https://build.opensuse.org/request/show/874186
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-netCDF4?expand=0&rev=19
- Update to 1.5.2:
* fix for scaling bug when _Unsigned attribute is set and byteorder of data
does not match native byteorder (issue #930).
* revise documentation for Python 3 (issue #946).
* establish support for Python 2.7, 3.5, 3.6 and 3.7 (issue #948).
* use dict built-in instead of OrderedDict for Python 3.7+
(pull request #955).
* remove underline ANSI in Dataset string representation (pull request #956).
* remove newlines from string representation (pull request #960).
* fix for issue #957 (size of scalar var is a float since numpy.prod(())=1.0).
* make sure Variable.setncattr fails to set _FillValue (issue #959).
* fix detection of parallel HDF5 support with netcdf-c 4.6.1 (issue #964).
- Remove not needed netcdf-disable-broken-test.patch as the bug was
fixed in netcdf itself
OBS-URL: https://build.opensuse.org/request/show/736040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-netCDF4?expand=0&rev=5
* fix for scaling bug when _Unsigned attribute is set and byteorder of data
does not match native byteorder (issue #930).
* revise documentation for Python 3 (issue #946).
* establish support for Python 2.7, 3.5, 3.6 and 3.7 (issue #948).
* use dict built-in instead of OrderedDict for Python 3.7+
(pull request #955).
* remove underline ANSI in Dataset string representation (pull request #956).
* remove newlines from string representation (pull request #960).
* fix for issue #957 (size of scalar var is a float since numpy.prod(())=1.0).
* make sure Variable.setncattr fails to set _FillValue (issue #959).
* fix detection of parallel HDF5 support with netcdf-c 4.6.1 (issue #964).
- Remove not needed netcdf-disable-broken-test.patch as the bug was
fixed in netcdf itself
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-netCDF4?expand=0&rev=7
- Update to 1.5.1.2
* fix for issue #919 (assigning 2d array to 3d variable with singleton
first dimension with v[:] = a).
* minimum numpy changed from 1.9.0 to 1.10.0.
* fix issue #908 by adding workaround for incorrect value returned
by nc_inq_var_fill for netcdf-c < 4.5.1.
* fix bug writing slice to unlimited dimension that is not the first
(leftmost). Issue #906.
* make sure data gets converted to type of scale_factor when add_offset=0
and scale_factor=1 (issue #913).
* fix for reading empty (NIL) string attributes (issue #915).
* add read-shared mode (mode='rs'). Significantly speeds up reads of NETCDF3
files (pull request #902).
* added support for parallel IO in the classic netcdf-3 formats through the
pnetcdf library (pull request #897).
OBS-URL: https://build.opensuse.org/request/show/707466
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-netCDF4?expand=0&rev=5