From d9415222bbb4f80a562fe41d63db1564ea8d9aad Mon Sep 17 00:00:00 2001 From: Jamie Kettleborough Date: Thu, 28 Nov 2013 09:58:41 +0000 Subject: [PATCH] modify documentation of cube constructor to reflect a wider range of data types --- lib/iris/cube.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/iris/cube.py b/lib/iris/cube.py index 67da6df725..9ace516555 100644 --- a/lib/iris/cube.py +++ b/lib/iris/cube.py @@ -492,9 +492,13 @@ def __init__(self, data, standard_name=None, long_name=None, Args: * data - A numpy array containing the phenomenon values or a data manager - object. This object defines the shape of the cube and the value - in each cell. + An object, usually a numpy array, containing the phenomenon + values or a data manager object. This object defines the shape + of the cube and the value in each cell. + + If the object contains phenomenon values it can be a numpy + array, an array subclass or an *array_like* as described in + :func:`numpy.asarray`. See :attr:`Cube.data` and :class:`iris.fileformats.manager.DataManager`