Skip to content

Commit 38d82e9

Browse files
authored
Update tutorial.rst
'FieldList' object has no attribute 'properties' so I changed t = cf.read('file.nc') to t = cf.read('file.nc')[1]
1 parent 81c415e commit 38d82e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ retrieved with the `~Field.properties` method:
621621
.. code-block:: python
622622
:caption: *Retrieve all of the descriptive properties*
623623
624-
>>> q, t = cf.read('file.nc')
624+
>>> q, t = cf.read('file.nc')[1]
625625
>>> t.properties()
626626
{'Conventions': 'CF-1.11',
627627
'project': 'research',

0 commit comments

Comments
 (0)