conda-forge / netcdf4-feedstock

A conda-smithy repository for netcdf4.
BSD 3-Clause "New" or "Revised" License
3 stars 25 forks source link

Update to 1.4.0 #49

Closed ocefpaf closed 6 years ago

ocefpaf commented 6 years ago

I switched to GitHub tarball b/c the PyPI release is pending due to an issue with building wheels. See https://github.com/Unidata/netcdf4-python/issues/798

Note that this version is using cftime instead of the netcdftime!

Full changelog

 * fixed bug in detection of CDF5 library support in setup.py (pull request
   #736, issue #713).
 * fixed reading of variables with zero-length dimensions in NETCDF3_CLASSIC
   files (issue #743).
 * allow integer-like objects in VLEN slices (not just python ints, issue
   #526, pull request #757).
 * treating _FillValue as a valid_min/valid_max was too surprising, despite
   the fact the thet netcdf docs 'attribute best practices' suggests that
   clients should to this.  Revert this change from issue #576 (issue #761).
 * remove netcdftime, since it is now a separate package. date2num, num2date
   and date2index still importable from netCDF4.
 * fix 'Unreachable code' cython warning (issue #767).
 * Change behavior of string attributes so that nc.stringatt = ['foo','bar']
   produces an vlen string array attribute in NETCDF4, instead of concatenating
   into a single string ('foobar').  In NETCDF3/NETCDF4_CLASSIC, an IOError
   is now raised, instead of writing 'foobar'. Issue #770.
 * 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 
   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 
   masked values (too surprising to get ndarray or MaskedArray depending
   on slice, issue #785).
 * treat valid_min/valid_max/_FillValue/missing_value as unsigned
   integers if _Unsigned is set (to mimic behaviour of netcdf-java).
   Conversion to unsigned type now occurs before masking and scale/offset
   operation. Issue #794.
conda-forge-linter commented 6 years ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.