Skip to content

Commit cd9bfac

Browse files
authored
Merge pull request #932 from NCAS-CMS/copilot/add-filesystem-parameter-cf-read
Add `filesystem` parameter to `cf.read` as pass-through to `cfdm.read`
2 parents bb349b7 + 587ca46 commit cd9bfac

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

Changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Version NEXTVERSION
33

44
**2026-??-??**
55

6+
* New keyword to `cf.read`: ``filesystem``
7+
(https://github.com/NCAS-CMS/cf-python/issues/931)
68
* New keyword parameter to `cf.Data.compute`: ``persist``
79
(https://github.com/NCAS-CMS/cf-python/issues/929)
810
* New function to control the persistence of computed data:

cf/read_write/read.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,10 @@ class read(cfdm.read):
336336
337337
.. versionadded:: 3.19.0
338338
339+
{{read filesystem: optional}}
340+
341+
.. versionadded:: NEXTVERSION
342+
339343
umversion: deprecated at version 3.0.0
340344
Use the *um* parameter instead.
341345
@@ -455,6 +459,7 @@ def __new__(
455459
fmt=None,
456460
file_type=None,
457461
group_dimension_search="closest_ancestor",
462+
filesystem=None,
458463
):
459464
"""Read field or domain constructs from a dataset."""
460465
kwargs = locals()

0 commit comments

Comments
 (0)