From 38d82e9d90f7a758706293511a5ea3257f4b5b37 Mon Sep 17 00:00:00 2001 From: Sharar-A Date: Wed, 21 Aug 2024 15:40:42 +0100 Subject: [PATCH] Update tutorial.rst 'FieldList' object has no attribute 'properties' so I changed t = cf.read('file.nc') to t = cf.read('file.nc')[1] --- docs/source/tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/tutorial.rst b/docs/source/tutorial.rst index 98f00bf9fc..54467d81df 100644 --- a/docs/source/tutorial.rst +++ b/docs/source/tutorial.rst @@ -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',