File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Documentation for all versions of cf.
16
16
**CF-1.12 **
17
17
-----------
18
18
19
- * `Version 3.17.0 <https://ncas-cms.github.io/cf-python-docs/3.17.0 >`_ (2025-03-?? )
19
+ * `Version 3.17.0 <https://ncas-cms.github.io/cf-python-docs/3.17.0 >`_ (2025-03-24 )
20
20
21
21
**CF-1.11 **
22
22
-----------
Original file line number Diff line number Diff line change @@ -188,11 +188,12 @@ cards). Shell environment variables are also permitted.
188
188
>> > len (z)
189
189
3
190
190
191
- All of the datasets in one more directories may also be read by
191
+ All of the datasets in one or more directories may also be read by
192
192
replacing any file name with a directory name. An attempt will be made
193
193
to read all files in the directory, which will result in an error if
194
194
any have a non-supported format. Non-supported files may be ignored
195
- with the *ignore_read_error * keyword.
195
+ by being more specific about the file type intended for reading in
196
+ using the *file_type * keyword:
196
197
197
198
.. code-block :: python
198
199
:caption: * Read all of the files in the current working directory.*
@@ -201,7 +202,7 @@ with the *ignore_read_error* keyword.
201
202
Traceback (most recent call last):
202
203
...
203
204
Exception : Can' t determine format of file cf_tutorial_files.zip
204
- >> > y = cf.read(' $PWD' , ignore_read_error = True )
205
+ >> > y = cf.read(' $PWD' , file_type = ' netCDF ' )
205
206
>> > len (y)
206
207
15
207
208
You can’t perform that action at this time.
0 commit comments