Accepting request 988326 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/988326 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-netCDF4?expand=0&rev=13
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ca3d468f4812c0999df86e3f428851fb0c17ac34ce0827115c246b0b690e4e84
|
||||
size 767013
|
3
netCDF4-1.6.0.tar.gz
Normal file
3
netCDF4-1.6.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:95efa373d9a3e1cd0df7193e76e6680d9eca28e60097ca8139afea8a4346ba63
|
||||
size 774199
|
@@ -1,3 +1,39 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 11 03:01:26 UTC 2022 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
- specfile:
|
||||
* require python >= 3.7 (remove skip python 2 and 3.6 and replace with base >= 3.7)
|
||||
|
||||
- update to version 1.6.0:
|
||||
* add support for new quantization functionality in netcdf-c 4.9.0 via "signficant_digits"
|
||||
and "quantize_mode" kwargs in Dataset.createVariable. Default quantization_mode is "BitGroom",
|
||||
but alternate methods "BitRound" and GranularBitRound" also supported.
|
||||
* opening a Dataset in append mode (mode = 'a' or 'r+') creates a Dataset
|
||||
if one does not already exist (similar to python open builtin). Issue #1144.
|
||||
Added a mode='x' option (as in python open) which is the same as mode='w' with
|
||||
clobber=False.
|
||||
* allow createVariable to accept either Dimension instances or Dimension
|
||||
names in "dimensions" tuple kwarg (issue #1145).
|
||||
* remove all vestiges of python 2 in _netCDF4.pyx and set cython language_level
|
||||
directive to 3 in setup.py.
|
||||
* add 'compression' kwarg to createVariable to enable new compression
|
||||
functionality in netcdf-c 4.9.0. 'None','zlib','szip','zstd','bzip2'
|
||||
'blosc_lz','blosc_lz4','blosc_lz4hc','blosc_zlib' and 'blosc_zstd'
|
||||
are currently supported. 'blosc_shuffle',
|
||||
'szip_mask' and 'szip_pixels_per_block' kwargs also added.
|
||||
compression='zlib' is equivalent to (the now deprecated) zlib=True.
|
||||
If the environment variable NETCDF_PLUGIN_DIR is set to point to the
|
||||
directory with the compression plugin lib__nc* files, then the compression plugins will
|
||||
be installed within the package and be automatically available (the binary
|
||||
wheels have this). Otherwise, the environment variable HDF5_PLUGIN_PATH
|
||||
needs to be set at runtime to point to plugins in order to use the new compression
|
||||
options.
|
||||
* MFDataset did not aggregate 'name' variable attribute (issue #1153).
|
||||
* issue warning instead of raising an exception if missing_value or
|
||||
_FillValue can't be cast to the variable type when creating a
|
||||
masked array (issue #1152).
|
||||
* Define MPI_Session for compatibility with current mpi4py (PR #1156).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 10 04:21:12 UTC 2022 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
|
@@ -17,16 +17,15 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
Name: python-netCDF4
|
||||
Version: 1.5.8
|
||||
Version: 1.6.0
|
||||
Release: 0
|
||||
Summary: Python interface to netCDF 3 and 4
|
||||
License: HPND AND MIT
|
||||
URL: https://github.com/Unidata/netcdf4-python
|
||||
Source: https://files.pythonhosted.org/packages/source/n/netCDF4/netCDF4-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Cython >= 0.21}
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module cftime}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module numpy-devel >= 1.10.0}
|
||||
|
Reference in New Issue
Block a user