You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/terminology.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Terminology
15
15
16
16
----
17
17
18
-
**Variable:** A `NetCDF-like variable <https://www.unidata.ucar.edu/software/netcdf/netcdf/Variables.html>`_ consisting of dimensions, data, and attributes which describe a single array. The main functional difference between variables and numpy arrays is that numerical operations on variables implement array broadcasting by dimension name. Each ``DataArray`` has an underlying variable that can be accessed via ``arr.variable``. However, a variable is not fully described outside of either a ``Dataset`` or a ``DataArray``.
18
+
**Variable:** A `NetCDF-like variable <https://www.unidata.ucar.edu/software/netcdf/docs/netcdf_data_set_components.html#variables>`_ consisting of dimensions, data, and attributes which describe a single array. The main functional difference between variables and numpy arrays is that numerical operations on variables implement array broadcasting by dimension name. Each ``DataArray`` has an underlying variable that can be accessed via ``arr.variable``. However, a variable is not fully described outside of either a ``Dataset`` or a ``DataArray``.
19
19
20
20
.. note::
21
21
@@ -39,4 +39,4 @@ Terminology
39
39
40
40
----
41
41
42
-
**Index:** An *index* is a data structure optimized for efficient selecting and slicing of an associated array. Xarray creates indexes for dimension coordinates so that operations along dimensions are fast, while non-dimension coordinates are not indexed. Under the hood, indexes are implemented as :py:class:`pandas.Index` objects. The index associated with dimension name ``x`` can be retrieved by ``arr.indexes[x]``. By construction, ``len(arr.dims) == len(arr.indexes)``
42
+
**Index:** An *index* is a data structure optimized for efficient selecting and slicing of an associated array. Xarray creates indexes for dimension coordinates so that operations along dimensions are fast, while non-dimension coordinates are not indexed. Under the hood, indexes are implemented as :py:class:`pandas.Index` objects. The index associated with dimension name ``x`` can be retrieved by ``arr.indexes[x]``. By construction, ``len(arr.dims) == len(arr.indexes)``
- Fix leap year condition in example (http://xarray.pydata.org/en/stable/examples/monthly-means.html) by `Mickaël Lalande <https://github.com/mickaellalande>`_.
77
85
- Fix the documentation of :py:meth:`DataArray.resample` and
78
86
:py:meth:`Dataset.resample` and explicitly state that a
79
87
datetime-like dimension is required. (:pull:`3400`)
80
88
By `Justus Magin <https://github.com/keewis>`_.
81
89
- Update the terminology page to address multidimensional coordinates. (:pull:`3410`)
82
90
By `Jon Thielen <https://github.com/jthielen>`_.
91
+
- Fix the documentation of :py:meth:`Dataset.integrate` and
92
+
:py:meth:`DataArray.integrate` and add an example to
93
+
:py:meth:`Dataset.integrate`. (:pull:`3469`)
94
+
By `Justus Magin <https://github.com/keewis>`_.
83
95
84
96
Internal Changes
85
97
~~~~~~~~~~~~~~~~
86
98
99
+
- Added integration tests against `pint <https://pint.readthedocs.io/>`_.
100
+
(:pull:`3238`) by `Justus Magin <https://github.com/keewis>`_.
101
+
102
+
.. note::
103
+
104
+
At the moment of writing, these tests *as well as the ability to use pint in general*
105
+
require `a highly experimental version of pint
106
+
<https://github.com/andrewgsavage/pint/pull/6>`_ (install with
0 commit comments