Package dap :: Module dtypes :: Class ArrayType
[hide private]
[frames] | no frames]

Class ArrayType

source code

object --+    
         |    
  BaseType --+
             |
            ArrayType

An array of BaseType variables.

Although the DAP supports arrays of any DAP variables, pydap can only handle arrays of base types. This makes the ArrayType class very similar to a BaseType, with the difference that it'll hold an array of data in its 'data' attribute.

Array of constructors will not be supported until Python has a native multi-dimensional array type.

Instance Methods [hide private]
  __init__(self, name='', data=None, shape=None, dimensions=None, type=None, attributes=None)
  __len__(self)
  __copy__(self)
  __deepcopy__(self, memo=None, _nil=[])

Inherited from BaseType: __eq__, __ge__, __getattr__, __getitem__, __gt__, __iter__, __le__, __lt__, __setitem__

Inherited from BaseType (private): _get_filters, _get_id, _set_filters, _set_id

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Properties [hide private]

Inherited from BaseType: filters, id

Inherited from object: __class__


Method Details [hide private]

__init__(self, name='', data=None, shape=None, dimensions=None, type=None, attributes=None)
(Constructor)

source code 
None
Overrides: BaseType.__init__

__len__(self)
(Length operator)

source code 
None

__copy__(self)

source code 
None
Overrides: BaseType.__copy__

__deepcopy__(self, memo=None, _nil=[])

source code 
None
Overrides: BaseType.__deepcopy__