|
8 | 8 | ## News
|
9 | 9 | For the latest updates, see the [Changelog](https://github.com/Unidata/netcdf4-python/blob/master/Changelog).
|
10 | 10 |
|
| 11 | +6/1/2017: Version [1.2.8](https://github.com/Unidata/netcdf4-python/archive/v1.2.8rel.tar.gz) released. From Changelog: |
| 12 | + * recognize `_Unsigned` attribute used by [netcdf-java](http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/) |
| 13 | + to designate unsigned integer data stored with a signed integer type in netcdf-3 |
| 14 | + [issue #656](https://github.com/Unidata/netcdf4-python/issues/656). |
| 15 | + * add Dataset init memory parameter to allow loading a file from memory |
| 16 | + [pull request #652](https://github.com/Unidata/netcdf4-python/pull/652), |
| 17 | + [issue #406](https://github.com/Unidata/netcdf4-python/issues/406) and |
| 18 | + [issue #295](https://github.com/Unidata/netcdf4-python/issues/295). |
| 19 | + * fix for negative times in num2date [issue #659](https://github.com/Unidata/netcdf4-python/pull/659). |
| 20 | + * fix for failing tests in numpy 1.13 due to changes in `numpy.ma` |
| 21 | + [issue #662](https://github.com/Unidata/netcdf4-python/issues/662). |
| 22 | + * Checking for `_Encoding` attribute for `NC_STRING` variables, otherwise use |
| 23 | + 'utf-8'. 'utf-8' is used everywhere else, 'default_encoding' global module |
| 24 | + variable is no longer used. getncattr method now takes optional kwarg |
| 25 | + 'encoding' (default 'utf-8') so encoding of attributes can be specified |
| 26 | + if desired. If `_Encoding` is specified for an `NC_CHAR` (`'S1'`) variable, |
| 27 | + the chartostring utility function is used to convert the array of |
| 28 | + characters to an array of strings with one less dimension (the last |
| 29 | + dimension is interpreted as the length of each string) when reading the |
| 30 | + data. When writing the data, stringtochar is used to convert a numpy |
| 31 | + array of fixed length strings to an array of characters with one more |
| 32 | + dimension. chartostring and stringtochar now also have an 'encoding' kwarg. |
| 33 | + Automatic conversion to/from character to string arrays can be turned off |
| 34 | + via a new `set_auto_chartostring` Dataset and Variable method (default |
| 35 | + is `True`). Addresses [issue #654](https://github.com/Unidata/netcdf4-python/issues/654) |
| 36 | + * [Cython](http://cython.org) >= 0.19 now required, `_netCDF4.c` and `_netcdftime.c` removed from |
| 37 | + repository. |
| 38 | + |
11 | 39 | 1/8/2017: Version [1.2.7](https://pypi.python.org/pypi/netCDF4/1.2.7) released.
|
12 | 40 | Python 3.6 compatibility, and fix for vector missing_values.
|
13 | 41 |
|
|
0 commit comments