.. currentmodule:: nc_time_axis
nc-time-axis
now requirespython >= 3.9
according to `NEP29`_ (:pull:`128`). By `Ruth Comer`_.nc-time-axis
now requiresnumpy >= 1.21
according to `NEP29`_ (:pull:`129`). By `Bill Little`_.nc-time-axis
now requiresnumpy >= 1.23
according to `NEP29`_ (:pull:`194`). By `Bill Little`_.
nc-time-axis
is now easily citable thanks to the addition of itsCITATION.cff
file (:pull:`129`). Updates to theCITATION.cff
are automatically validated by the newci-citation
GitHub Action. By `Bill Little`_.
- N/A
- Migrated from `cirrus-ci`_ to GitHub Actions (:pull:`129`). By `Bill Little`_.
- Enabled `dependabot`_ to automatically update the versions of all third-party GitHub Actions (:pull:`129`). By `Bill Little`_.
- Enabled the `codespell`_ pre-commit hook to automate spell checking of the codebase and documentation (:pull:`129`). By `Bill Little`_.
- Adopted `PEP621`_ by migrating the
setup.cfg
into thepyproject.toml
(:pull:`129`). By `Bill Little`_. - Moved the codebase under the
src
directory (:pull:`129`). By `Bill Little`_. - Co-located the `conda`_ and `pip`_ dependencies under the
requirements
directory (:pull:`129`). By `Bill Little`_. - The
MANIFEST.in
is now automatically verified by the newci-manifest
GitHub Action (:pull:`129`). By `Bill Little`_. - The
sdist
and binarywheel
ofnc-time-axis
are automatically built, tested and published to `test.pypi`_ and `pypi`_ by the newci-wheels
GitHub Action (:pull:`129`). By `Bill Little`_.
- Populated the
CITATION.cff
with `ORCID`_ details ofnc-time-axis
contributors (:issue:`135`, :pull:`136`). By `Bill Little`_.
- Starting with this release, every new release of
nc-time-axis
will be associated with a Digital Object Identifier (DOI) through `Zenodo`_, making it easier to cite in academic articles (:issue:`104`). By `Spencer Clark`_.
- As of `matplotlib`_ version 3.5, unit converters no longer need to support
passing numeric or iterables of numeric values to their
convert
method. Accordingly, the :py:meth:`matplotlib.units.ConversionInterface.is_numlike` method has been deprecated. For backwards compatibility with older versions of `matplotlib`_, we have vendored this function for the time being, but will remove it once the minimum version of `matplotlib`_ supported bync-time-axis
is at least 3.5 (:issue:`97`, :pull:`106`). By `Spencer Clark`_.
- Update usage of `conda-lock`_ in continuous integration to continue to create lock-files that can be used to create mamba environments (:pull:`107`). By `Spencer Clark`_ and `Ruth Comer`_.
- The :py:class:`CalendarDateTime` class has been deprecated and will be removed
in
nc-time-axis
version 1.5.0. Please switch to plotting instances or subclasses of :py:class:`cftime.datetime` directly (:issue:`62`, :pull:`87`). See the :ref:`examples` for illustration. By `Spencer Clark`_.
- Added a :py:class:`CFTimeFormatter` class to enable custom formatting for :py:class:`cftime.datetime` ticks (:issue:`41`, :pull:`84`). By `Spencer Clark`_.
- Added ability to plot calendar-aware :py:class:`cftime.datetime` objects, e.g.
cftime.datetime(2000, 1, 1, calendar="noleap")
, available as of `cftime`_ version 1.3.0 (:issue:`75`, :pull:`80`). By `Spencer Clark`_.
- Enabled :py:meth:`NetCDFTimeConverter.convert` to take a :py:class:`list` of datetimes as an argument, allowing `matplotlib`_ methods like :py:meth:`matplotlib.axes.Axes.axvspan` and :py:meth:`matplotlib.axes.Axes.fill_between` to work properly with `cftime`_ values (:issue:`47`, :issue:`74`, :pull:`78`). By `Pascal Bourgault`_.
- Fixed a bug that resulted in the resolution of tick labels being inconsistent with the resolution of tick values (:issue:`48`, :pull:`79`). By `Spencer Clark`_.
- Fixed a bug that prevented users from being able to explicitly set the ticks along axes using :py:meth:`matplotlib.axes.Axes.set_xticks` or :py:meth:`matplotlib.axes.Axes.set_yticks` (:issue:`41`, :pull:`84`). By `Spencer Clark`_.
- Added a start on `readthedocs`_ documentation. Added examples, release notes,
and NumPy-style docstrings to
nc-time-axis
classes (:issue:`62`, :pull:`87`). By `Spencer Clark`_. - Added some basic instructions for making a new release (:pull:`94`). By `Spencer Clark`_.
nc-time-axis
now requires `cftime`_ of at least version 1.5 (:discussion:`61`, :pull:`69`). By `Bill Little`_.
- Support for Python 2 was dropped.
- Migrated continuous integration from `travis-ci`_ to `cirrus-ci`_ through GitHub Actions. Added formatting and linting checks. Updated packaging to use setuptools. Added issue and pull request templates. Enabled GitHub discussions. For more details see :issue:`63` and :pull:`66`. By `Bill Little`_.
- Changed the name of the primary branch from
master
tomain
(:pull:`68`). By `Bill Little`_.
- Removed ticks with year zero in calendars without year zero. Previously these would lead to errors in `cftime`_, which would prevent plotting (:issue:`44`, :pull:`50`). By Julius Busecke.
- Removed internal use of the deprecated :py:class:`cftime.utime` class (:pull:`59` through :pull:`66`). By `Pascal Bourgault`_.
- Removed internal use of the deprecated :py:class:`numpy.object` data type (:pull:`56` through :pull:`66`). By Mathias Hauser.
- Updated internals for compatibility with the now calendar-aware :py:class:`cftime.datetime` object (:pull:`51` through :pull:`66`). By Jeff Whitaker.
- Improved handling of scalar values passed to :py:meth:`NetCDFTimeConverter.convert` (:issue:`45`, :pull:`46`). By `Spencer Clark`_.
- Included license in package data (:pull:`37`). By `Filipe Fernandes`_.
- Added ability to directly plot subclasses of :py:class:`cftime.datetime`, e.g. :py:class:`cftime.DatetimeNoLeap`, instead of requiring :py:class:`CalendarDateTime` objects (:pull:`42`). By `Spencer Clark`_.
nc-time-axis
now requires `matplotlib`_ of at least version 2.0 (:issue:`23`, :pull:`34`). By `Filipe Fernandes`_.nc-time-axis
now uses the standalone `cftime`_ package instead of thenetcdftime
module formerly packaged in `netcdf4-python`_ (:pull:`30`, :pull:`32`). By `Filipe Fernandes`_.
- Updated continuous integration tests to be run with both Python 2 and Python 3 (:pull:`33`). By `Filipe Fernandes`_.
- Updated continuous integration to use
install_requires
information to install dependencies ofnc-time-axis
instead of a requirements file (:issue:`27`, :pull:`28`). By `Phil Elson`_. - Added installation and test requirements to
setup.py
(:pull:`26`). By Luke Carroll.
- Added installation instructions and a usage example to the
README
for display on GitHub (:pull:`24`, :pull:`25`). By @mbeedie.
nc-time-axis
now requires `matplotlib`_ less than version 2.0 (:pull:`22`). By `Mark Hedley`_.
- Fixed a bug in comparing calendars (:pull:`22`). By `Mark Hedley`_.
- Fixed a bug the prevented converting `numpy`_ arrays of datetime objects. This
enables making Hovmoller diagrams using
nc-time-axis
. By `Peter Killick`_.
This is the initial release of the nc-time-axis
package. It is based on a
prototype written by `Phil Elson`_, which was made production-ready by
`Laura Dreyer`_.
- Added the fundamental objects of
nc-time-axis
, i.e. :py:class:`NetCDFTimeDateLocator`, :py:class:`NetCDFTimeDateFormatter`, and :py:class:`NetCDFTimeConverter` (:pull:`2`). By `Laura Dreyer`_ and `Phil Elson`_. - Added unit and integration tests (:pull:`3`, :pull:`13`). By `Laura Dreyer`_.
- Added a
__version__
attribute tonc-time-axis
(:pull:`9`). By `Laura Dreyer`_. - Added the :py:class:`CalendarDateTime` class (:pull:`12`, :pull:`15`). By `Laura Dreyer`_.
- Added initial packaging infrastructure (:pull:`4`). By `Laura Dreyer`_.
- Configured continuous integration to be run using `travis-ci`_ (:pull:`6`). By `Laura Dreyer`_.
- Added test coverage computation and reporting (:pull:`17`, :pull:`19`). By `Laura Dreyer`_.
- Added a Travis CI badge to the
README
and convert to reStructuredText format (:pull:`11`). By `Laura Dreyer`_. - Added basic description to the
README
(:pull:`5`). By `Peter Killick`_. - Added contributing guidelines to the repository (:pull:`1`). By `Laura Dreyer`_.