Skip to content
17 changes: 14 additions & 3 deletions Changelog.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
Version NEXTVERSION
-------------------

**2025-12-??**
----------------

**2026-01-??**

* New function to control the creation of cached elements during data
display: `cfdm.display_data`
(https://github.com/NCAS-CMS/cfdm/issues/363)
* New methods: `cfdm.Data.get_cached_elements`
`cfdm.Data.cache_elements`
(https://github.com/NCAS-CMS/cfdm/issues/363)
* Set cached elements during `cfdm.Data.__init__`
(https://github.com/NCAS-CMS/cfdm/issues/363)
* Removed the `cfdm.constants.CONSTANTS` dictionary, replacing it
`cfdm.ConstantAccess.constants`
(https://github.com/NCAS-CMS/cfdm/issues/361)
* Reduce the time taken to import `cfdm`
(https://github.com/NCAS-CMS/cfdm/issues/361)

Expand Down
1 change: 1 addition & 0 deletions cfdm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
chunksize,
configuration,
dirname,
display_data,
environment,
integer_dtype,
log_level,
Expand Down
6 changes: 6 additions & 0 deletions cfdm/auxiliarycoordinate.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class AuxiliaryCoordinate(
def dump(
self,
display=True,
data=None,
_omit_properties=None,
_key=None,
_level=0,
Expand All @@ -65,6 +66,10 @@ def dump(

:Parameters:

{{data: `bool` or `None`, optional}}

.. versionadded:: (cfdm) NEXTVERSION

display: `bool`, optional
If False then return the description as a string. By
default the description is printed.
Expand All @@ -78,6 +83,7 @@ def dump(
_title = "Auxiliary coordinate: " + self.identity(default="")

return super().dump(
data=data,
display=display,
_key=_key,
_level=_level,
Expand Down
6 changes: 6 additions & 0 deletions cfdm/bounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class Bounds(

def dump(
self,
data=None,
display=True,
_key=None,
_title=None,
Expand All @@ -66,6 +67,10 @@ def dump(

:Parameters:

{{data: `bool` or `None`, optional}}

.. versionadded:: (cfdm) NEXTVERSION

display: `bool`, optional
If False then return the description as a string. By
default the description is printed.
Expand All @@ -79,6 +84,7 @@ def dump(
_title = "Bounds: " + self.identity(default="")

return super().dump(
data=data,
display=display,
_key=_key,
_omit_properties=_omit_properties,
Expand Down
6 changes: 6 additions & 0 deletions cfdm/cellconnectivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def creation_commands(

def dump(
self,
data=None,
display=True,
_omit_properties=None,
_key=None,
Expand All @@ -144,6 +145,10 @@ def dump(

:Parameters:

{{data: `bool` or `None`, optional}}

.. versionadded:: (cfdm) NEXTVERSION

display: `bool`, optional
If False then return the description as a string. By
default the description is printed.
Expand All @@ -157,6 +162,7 @@ def dump(
_title = "Cell Connectivity: " + self.identity(default="")

return super().dump(
data=data,
display=display,
_key=_key,
_omit_properties=_omit_properties,
Expand Down
6 changes: 6 additions & 0 deletions cfdm/cellmeasure.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def creation_commands(

def dump(
self,
data=None,
display=True,
_omit_properties=None,
_key=None,
Expand All @@ -137,6 +138,10 @@ def dump(

:Parameters:

{{data: `bool` or `None`, optional}}

.. versionadded:: (cfdm) NEXTVERSION

display: `bool`, optional
If False then return the description as a string. By
default the description is printed.
Expand All @@ -161,6 +166,7 @@ def dump(
_title += f" (external variable: {ncvar})"

return super().dump(
data=data,
display=display,
_key=_key,
_omit_properties=_omit_properties,
Expand Down
6 changes: 6 additions & 0 deletions cfdm/count.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class Count(

def dump(
self,
data=None,
display=True,
_key=None,
_title=None,
Expand All @@ -62,6 +63,10 @@ def dump(

:Parameters:

{{data: `bool` or `None`, optional}}

.. versionadded:: (cfdm) NEXTVERSION

display: `bool`, optional
If False then return the description as a string. By
default the description is printed.
Expand All @@ -75,6 +80,7 @@ def dump(
_title = "Count: " + self.identity(default="")

return super().dump(
data=data,
display=display,
_key=_key,
_omit_properties=_omit_properties,
Expand Down
Loading