Skip to content

Commit

Permalink
UGRIDVER -> 3.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhassell committed Nov 14, 2023
1 parent 6c18b1e commit 4b87c22
Show file tree
Hide file tree
Showing 16 changed files with 55 additions and 55 deletions.
12 changes: 6 additions & 6 deletions cf/aggregate.py
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ def canonical_cell_methods(self, rtol=None, atol=None):
def has_cell(self, topology):
"""Whether a domain topology construct has a connectivity type.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
:Parameters:
Expand Down Expand Up @@ -1452,7 +1452,7 @@ def has_cell(self, topology):
def has_connectivity(self, connectivity):
"""Whether a cell connectivity construct has a connectivity type.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
:Parameters:
Expand Down Expand Up @@ -1480,7 +1480,7 @@ def has_connectivity(self, connectivity):
def has_measure(self, msr):
"""Whether a cell measure construct has a measure.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
:Parameters:
Expand Down Expand Up @@ -1508,7 +1508,7 @@ def has_measure(self, msr):
def has_units(self, construct):
"""Whether a construct has units.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
:Parameters:
Expand Down Expand Up @@ -1582,7 +1582,7 @@ def coord_has_identity_and_data(self, coord, axes=None):
def has_data(self, construct):
"""Whether a construct has data.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
:Parameters:
Expand Down Expand Up @@ -1649,7 +1649,7 @@ def coordinate_reference_signatures(self, refs):
def get_identity(self, construct, identity=None):
"""Return a construct's identity if it has one.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
:Parameters:
Expand Down
6 changes: 3 additions & 3 deletions cf/cellconnectivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class CellConnectivity(mixin.PropertiesData, cfdm.CellConnectivity):
{{netCDF variable}}
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
"""

Expand All @@ -65,7 +65,7 @@ def connectivity(self):
{{cell connectivity type}}
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
.. seealso:: `del_connectivity`, `get_connectivity`,
`has_connectivity`, `set_connectivity`
Expand Down Expand Up @@ -100,7 +100,7 @@ def identity(
* The netCDF variable name, preceded by ``'ncvar%'``.
* The value of the *default* parameter.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
.. seealso:: `id`, `identities`, `long_name`, `connectivity`,
`nc_get_variable`, `standard_name`
Expand Down
2 changes: 1 addition & 1 deletion cf/data/array/boundsfromnodesarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ class BoundsFromNodesArray(
mapping from from each cell boundary vertex to its corresponding
coordinate value.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
"""
2 changes: 1 addition & 1 deletion cf/data/array/cellconnectivityarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ class CellConnectivityArray(
UGRID variable. The extra column, in the first position, contains
the identifier for each cell.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
"""
2 changes: 1 addition & 1 deletion cf/data/array/mixin/compressedarraymixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _lock_file_read(self, array):
def to_dask_array(self, chunks="auto"):
"""Convert the data to a `dask` array.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
:Parameters:
Expand Down
2 changes: 1 addition & 1 deletion cf/data/array/pointtopologyarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ class PointTopologyArray(
UGRID "edge_node_connectivity" or UGRID "face_node_connectivity"
array.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
"""
6 changes: 3 additions & 3 deletions cf/data/collapse/dask_collapse.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def sum_weights_chunk(
If True, the default, then check that all weights are
positive.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
:Returns:
Expand Down Expand Up @@ -246,7 +246,7 @@ def cf_mean_chunk(
check_weights: `bool`, optional
If True then check that all weights are positive.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
See `dask.array.reductions` for details of the other
parameters.
Expand Down Expand Up @@ -933,7 +933,7 @@ def cf_sum_chunk(
If True, the default, then check that all weights are
positive.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
See `dask.array.reductions` for details of the other
parameters.
Expand Down
8 changes: 4 additions & 4 deletions cf/data/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def __init__(
Mask *array* where it is equal to *mask_value*, using
numerically tolerant floating point equality.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
{{init source: optional}}
Expand Down Expand Up @@ -7388,7 +7388,7 @@ def arctan2(cls, x1, x2):
Note that ``+0`` and ``-0`` are distinct floating point
numbers, as are ``+inf`` and ``-inf``.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
.. seealso:: `arctan`, `tan`
Expand Down Expand Up @@ -7889,7 +7889,7 @@ def sparse_array(self):
computed. The returned sparse array is a deep copy of that
returned by created `compute`.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
.. seealso:: `array`
Expand Down Expand Up @@ -10029,7 +10029,7 @@ def masked_values(self, value, rtol=None, atol=None, inplace=False):
Masks the data where elements are approximately equal to the
given value. For integer types, exact equality is used.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
.. seealso:: `mask`
Expand Down
2 changes: 1 addition & 1 deletion cf/data/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ def normalize_chunks(chunks, shape=None, dtype=None):
identical to `dask.array.core.normalize_chunks`. If it does, then
the output chunks for each such axis will be ``(nan,)``.
.. versionadded UGRIDVER
.. versionadded 3.16.0
:Parameters:
Expand Down
6 changes: 3 additions & 3 deletions cf/domaintopology.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class DomainTopology(mixin.PropertiesData, cfdm.DomainTopology):
be accessed with the `nc_set_variable`, `nc_get_variable`,
`nc_del_variable`, and `nc_has_variable` methods.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
"""

Expand All @@ -116,7 +116,7 @@ def cell(self):
{{cell type}}
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
.. seealso:: `del_cell`, `get_cell`, `has_cell`, `set_cell`
Expand Down Expand Up @@ -150,7 +150,7 @@ def identity(
* The netCDF variable name, preceded by ``'ncvar%'``.
* The value of the *default* parameter.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
.. seealso:: `id`, `identities`, `long_name`, `cell`,
`nc_get_variable`, `standard_name`
Expand Down
2 changes: 1 addition & 1 deletion cf/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -13367,7 +13367,7 @@ def regrids(

{{verbose: `int` or `str` or `None`, optional}}

.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0

{{inplace: `bool`, optional}}

Expand Down
2 changes: 1 addition & 1 deletion cf/mixin2/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __repr__(self):
x.__repr__() <==> repr(x)
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
"""
return super().__repr__().replace("<", "<CF ", 1)
Expand Down
2 changes: 1 addition & 1 deletion cf/mixin_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __repr__(self):
x.__repr__() <==> repr(x)
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
"""
return super().__repr__().replace("<", "<CF ", 1)
Expand Down
10 changes: 5 additions & 5 deletions cf/regrid/regrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -1646,7 +1646,7 @@ def create_esmpy_grid(grid, mask=None):
def create_esmpy_mesh(grid, mask=None):
"""Create an `esmpy.Mesh`.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
.. seealso:: `create_esmpy_grid`
Expand Down Expand Up @@ -2079,7 +2079,7 @@ def get_bounds(method, coords, mesh_location):
(e.g. ``'face'``). An empty string should be used for a
non-UGRID source grid.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
:Returns:
Expand Down Expand Up @@ -2395,7 +2395,7 @@ def update_non_coordinates(src, dst, src_grid, dst_grid, regrid_operator):
def update_data(src, regridded_data, src_grid):
"""Insert the regridded field data.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
.. seealso: `update_coordinates`, `update_non_coordinates`
Expand Down Expand Up @@ -2436,7 +2436,7 @@ def update_data(src, regridded_data, src_grid):
def get_mesh(f):
"""Get domain topology mesh information.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
:Parameters:
Expand Down Expand Up @@ -2470,7 +2470,7 @@ def get_mesh(f):
def has_coordinate_arrays(grid):
"""Whether all grid coordinates have representative arrays.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
:Parameters:
Expand Down
4 changes: 2 additions & 2 deletions cf/regrid/regridoperator.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def __init__(
(e.g. ``'face'``). An empty string should be used for
a non-UGRID source grid.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
"""
super().__init__()
Expand Down Expand Up @@ -326,7 +326,7 @@ def src_mask(self):
def src_mesh_location(self):
"""The UGRID mesh element of the source grid.
.. versionadded:: UGRIDVER
.. versionadded:: 3.16.0
"""
return self._get_component("src_mesh_location")
Expand Down
Loading

0 comments on commit 4b87c22

Please sign in to comment.