Skip to content

Commit

Permalink
Update tutorial.rst
Browse files Browse the repository at this point in the history
'FieldList' object has no attribute 'properties' so I changed t = cf.read('file.nc') to t = cf.read('file.nc')[1]
  • Loading branch information
Sharar-A authored Aug 21, 2024
1 parent 81c415e commit 38d82e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ retrieved with the `~Field.properties` method:
.. code-block:: python
:caption: *Retrieve all of the descriptive properties*
>>> q, t = cf.read('file.nc')
>>> q, t = cf.read('file.nc')[1]
>>> t.properties()
{'Conventions': 'CF-1.11',
'project': 'research',
Expand Down

0 comments on commit 38d82e9

Please sign in to comment.