|
|
|
@@ -1,3 +1,25 @@
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Mon May 5 20:59:04 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
|
|
|
|
|
|
|
|
|
- update to 1.7.2:
|
|
|
|
|
* add static type hints (PRs #1302, #1349)
|
|
|
|
|
* Expose nc_rc_set, nc_rc_get (via rc_set, rc_get module
|
|
|
|
|
functions). (PR #1348)
|
|
|
|
|
* Add Variable.get_fill_value and allow `fill_value='default'`
|
|
|
|
|
to set `_FillValue` attribute using default fill values.
|
|
|
|
|
* Fix NETCDF3 endian error (issue #1373, PR #1355).
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Tue Apr 22 01:40:01 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
|
|
|
|
|
|
|
|
|
- Support both lowercased and unnormalized metadata directory names.
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Mon Sep 30 13:10:26 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
|
|
|
|
|
|
|
|
- update to 1.7.1.post2:
|
|
|
|
|
* ci fixes
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
Sat Aug 17 14:42:24 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
|
|
|
|
|
|
|
|
@@ -218,7 +240,7 @@ Thu May 21 10:56:35 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
|
|
|
|
Tue Nov 19 20:48:10 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
|
|
|
|
|
|
|
|
|
- Update to 1.5.3:
|
|
|
|
|
* make sure arrays are masked that are not filled when auto_fill is off
|
|
|
|
|
* make sure arrays are masked that are not filled when auto_fill is off
|
|
|
|
|
* python 3.8 binary wheels.
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
@@ -328,13 +350,13 @@ Thu May 17 09:57:50 UTC 2018 - tchvatal@suse.com
|
|
|
|
|
* fix loading of enum type names (issue #775).
|
|
|
|
|
* make sure missing_value applies only to scaled short integers if
|
|
|
|
|
auto-scaling is on (issue #777).
|
|
|
|
|
* automatically create views of compound types with character arrays as
|
|
|
|
|
* automatically create views of compound types with character arrays as
|
|
|
|
|
numpy strings (issue #773). Can be disabled using
|
|
|
|
|
'set_auto_chartostring(False)'. Numpy structured
|
|
|
|
|
array dtypes with 'SN' string subtypes can now be used to
|
|
|
|
|
define netcdf compound types (they get converted to ('S1',N)
|
|
|
|
|
character array types automatically).
|
|
|
|
|
* always return masked array by default, even if there are no
|
|
|
|
|
* always return masked array by default, even if there are no
|
|
|
|
|
masked values (too surprising to get ndarray or MaskedArray depending
|
|
|
|
|
on slice, issue #785).
|
|
|
|
|
* treat valid_min/valid_max/_FillValue/missing_value as unsigned
|
|
|
|
@@ -359,20 +381,20 @@ Thu Mar 1 22:03:20 UTC 2018 - sebix+novell.com@sebix.at
|
|
|
|
|
a `ValueError` otherwise.
|
|
|
|
|
* Allow _FillValue to be set for vlen string variables (issue #730).
|
|
|
|
|
- update to version 1.3.0:
|
|
|
|
|
* always search for HDF5 headers when building, even when nc-config is used
|
|
|
|
|
* always search for HDF5 headers when building, even when nc-config is used
|
|
|
|
|
(since nc-config does not always include the path to the HDF5 headers).
|
|
|
|
|
Also use H5get_libversion to obtain HDF5 version info instead of
|
|
|
|
|
H5public.h. Fixes issue #677.
|
|
|
|
|
* encoding kwarg added to Dataset.__init__ and Dataset.filepath (default
|
|
|
|
|
is to use sys.getfilesystemencoding()) so that oddball
|
|
|
|
|
encodings (such as cp1252 on windows) can be handled in Dataset
|
|
|
|
|
encodings (such as cp1252 on windows) can be handled in Dataset
|
|
|
|
|
filepaths (issue #686).
|
|
|
|
|
* Calls to nc_get_vars are avoided, since nc_get_vars is very slow (issue
|
|
|
|
|
#680). Strided slices are now converted to multiple calls to
|
|
|
|
|
nc_get_vara. This speeds up strided slice reads by a factor of 10-100
|
|
|
|
|
(especially for NETCDF4/HDF5 files) in most cases. In some cases, strided reads
|
|
|
|
|
using nc_get_vars are faster (e.g. strided reads over many dimensions
|
|
|
|
|
such as var[:,::2,::2,::2])), so a variable method use_nc_get_vars was added.
|
|
|
|
|
such as var[:,::2,::2,::2])), so a variable method use_nc_get_vars was added.
|
|
|
|
|
var.use_nc_get_vars(True) will tell the library to use nc_get_vars instead
|
|
|
|
|
of multiple calls to nc_get_vara, which was the default behaviour previous
|
|
|
|
|
to this change.
|
|
|
|
@@ -382,7 +404,7 @@ Thu Mar 1 22:03:20 UTC 2018 - sebix+novell.com@sebix.at
|
|
|
|
|
* Improve timezone format parsing in netcdftime
|
|
|
|
|
* make sure numpy datatypes used to define CompoundTypes have
|
|
|
|
|
isalignedstruct flag set to True (issue #705), otherwise.
|
|
|
|
|
segfaults can occur. Fix required raising them minimum numpy requirement
|
|
|
|
|
segfaults can occur. Fix required raising them minimum numpy requirement
|
|
|
|
|
from 1.7.0 to 1.9.0.
|
|
|
|
|
* ignore missing_value, _FillValue, valid_range, valid_min and valid_max
|
|
|
|
|
when creating masked arrays if attribute cannot be safely
|
|
|
|
@@ -416,7 +438,7 @@ Sun Jun 11 06:11:32 UTC 2017 - toddrme2178@gmail.com
|
|
|
|
|
the chartostring utility function is used to convert the array of
|
|
|
|
|
characters to an array of strings with one less dimension (the last
|
|
|
|
|
dimension is interpreted as the length of each string) when reading the
|
|
|
|
|
data. When writing the data, stringtochar is used to convert a numpy
|
|
|
|
|
data. When writing the data, stringtochar is used to convert a numpy
|
|
|
|
|
array of fixed length strings to an array of characters with one more
|
|
|
|
|
dimension. chartostring and stringtochar now also have an 'encoding' kwarg.
|
|
|
|
|
Automatic conversion to/from character to string arrays can be turned off
|
|
|
|
@@ -433,7 +455,7 @@ Sun Jun 11 06:11:32 UTC 2017 - toddrme2178@gmail.com
|
|
|
|
|
issue #626). Test with python 3.6 using travis CI.
|
|
|
|
|
|
|
|
|
|
- Update to version 1.2.6
|
|
|
|
|
* fix some test failures on big endian PPC64 that were due to
|
|
|
|
|
* fix some test failures on big endian PPC64 that were due to
|
|
|
|
|
errors in byte-swapping logic. Also fixed bug in enum
|
|
|
|
|
code exposed on PPC64 (issue #608).
|
|
|
|
|
* remove support for python 2.6 (it probably still will work for a while
|
|
|
|
@@ -476,13 +498,13 @@ Sun Jun 11 06:11:32 UTC 2017 - toddrme2178@gmail.com
|
|
|
|
|
byte order before passing to netcdf-c library. Data read from variable
|
|
|
|
|
with non-native byte order is also byte-swapped, so that dtype remains
|
|
|
|
|
consistent with netcdf variable. Behavior now consistent with h5py.
|
|
|
|
|
* raise warning for HDF5 1.10.x (issue #549), since backwards
|
|
|
|
|
* raise warning for HDF5 1.10.x (issue #549), since backwards
|
|
|
|
|
incompatible files may be created.
|
|
|
|
|
* raise AttributeError instead of RuntimeError when attribute operation
|
|
|
|
|
fails. raise IOError instead of RuntimeError when nc_create or
|
|
|
|
|
fails. raise IOError instead of RuntimeError when nc_create or
|
|
|
|
|
nc_open fails (issue #546).
|
|
|
|
|
* Use NamedTemporaryFile instead of deprecated mktemp in tests
|
|
|
|
|
(pull request #543).
|
|
|
|
|
(pull request #543).
|
|
|
|
|
* add AppVeyor automated windows tests (pull request #540).
|
|
|
|
|
- Update to version 1.2.3.1
|
|
|
|
|
* fix bug in setup.py (pull request #539, introduced in issue #518).
|
|
|
|
@@ -503,15 +525,15 @@ Sun Jun 11 06:11:32 UTC 2017 - toddrme2178@gmail.com
|
|
|
|
|
NETCDF3_64BIT_DATA format and filepath Dataset method).
|
|
|
|
|
* expose netcdftime.__version__ (issue #504).
|
|
|
|
|
* fix potential memory leak in Dataset.filepath in attempt to fix
|
|
|
|
|
mysterious segfaults on CentOS6 (issue #506). Segfaults
|
|
|
|
|
mysterious segfaults on CentOS6 (issue #506). Segfaults
|
|
|
|
|
can apparently still occur on systems like CentOS6 with old versions of glibc.
|
|
|
|
|
- Update to version 1.2.2
|
|
|
|
|
* fix failing tests on python 2.6 (issue #497). Change minimum required
|
|
|
|
|
python from 2.5 to 2.6.
|
|
|
|
|
* Potential memory leaks fixed by freeing string pointers internally allocated
|
|
|
|
|
* Potential memory leaks fixed by freeing string pointers internally allocated
|
|
|
|
|
in netcdf-c using nc_free_string. Also use nc_free_vlens to free space allocated
|
|
|
|
|
for vlens inside netcdf-c (issue #495).
|
|
|
|
|
* invoke str on filename argument to Dataset constructor, so pathlib
|
|
|
|
|
* invoke str on filename argument to Dataset constructor, so pathlib
|
|
|
|
|
instances can be used (issue #489).
|
|
|
|
|
* don't use hardwired NC_MAX_DIMS or NC_MAX_VARS internally to allocate space
|
|
|
|
|
for dimension or variable ids. Instead, find out the number of dims
|
|
|
|
@@ -530,7 +552,7 @@ Sun Jun 11 06:11:32 UTC 2017 - toddrme2178@gmail.com
|
|
|
|
|
* add 'size' attribute to Dimension (same as len(d), where
|
|
|
|
|
d is a Dimension instance, issue #477).
|
|
|
|
|
* fix bug in nc3tonc4 with --unpackshort=1 (issue #474).
|
|
|
|
|
* dates do not have to be contiguous, i.e. can be before and after the
|
|
|
|
|
* dates do not have to be contiguous, i.e. can be before and after the
|
|
|
|
|
missing dates in Gregorian calendar (pull request #476).
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|