Skip to content

Releases: SciTools/cf-units

v2.1.3

Choose a tag to compare

@bjlittle bjlittle released this 02 Aug 07:26
47830e0

This patch release includes the following changes:

  • Unpin numpy<1.17.0 (#154)

v2.1.2

Choose a tag to compare

@bjlittle bjlittle released this 24 Jul 07:33

This patch release includes the following changes:

  • Fix to deal with non-Unit equality (#150, #149)
  • Fixes to setup.py, primarily for correctly setting __NUMPY_SETUP__ on __builtins__ (#153, #152, #151)

v2.1.1

Choose a tag to compare

@pelson pelson released this 02 Feb 18:51
812009c
  • Added a UDUNITS2 -> [La]TeX converter. cf_units.tex.tex(unit_string)

    tex

  • In order to solve the above, a formal UDUNITS2 grammar and a private parser API was added (#140)

  • Support for unicode units (e.g. cf_units.Unit('π m²')) (#135, #137)

  • Replaced use of private _Unit factory function (#131)

  • Improve py38 compatibility (#142)

  • Better UDUNITS2 exception handling for py3 (#136)

  • Allow pip install without needing numpy pre-installed (#145)

v2.1.0

Choose a tag to compare

@pelson pelson released this 02 Feb 18:09
90c705f
Allow setup.py without numpy being pre-installed. (#145)

Fixes issue #144.

v2.0.2

Choose a tag to compare

@pelson pelson released this 02 Jun 07:50
23610d4

cf_units was renamed to cf-units for broader consistency with the scientific python naming practices

v2.0.1

Choose a tag to compare

@pelson pelson released this 21 May 17:22
a9335a8

Fix source tar-ball distribution, which was missing necessary cython files.

v2.0.0

Choose a tag to compare

@pelson pelson released this 21 May 16:26
58f23f3

Technically, this release should have no breaking changes between v1.x and v2.x.

However, the major change in this release is that udunits is now wrapped via cython, not ctypes. This is in response to costly import times being experienced on distributed filesystems such as Lustre (where gcc was being called to identify the libudunits.so path).

This means that the cf_units/site.cfg is now no longer used to identify the location of libudunits, and standard LD library path definitions may be used instead.

v1.2.0

Choose a tag to compare

@pelson pelson released this 04 Jan 15:28
b74f3be
  • Use succinct unit string for str (#79)
  • Handle reference time units of months & years appropriately (#72)

v1.1.3

Choose a tag to compare

@DPeterK DPeterK released this 22 Sep 14:57

Fix for num2date/date2num allowing support for multi-dimensional arrays.

v1.1.2

Choose a tag to compare

@marqh marqh released this 15 Sep 08:20

Bug fix: #66
Ensure dates are rounded to nearest second when using netcdf4-python. The netcdf4-python behaviour changed between v1.1.1 and 1.2.2.
This release is insulated from that change.