Module netCDF4 :: Class VLType

Class VLType

object --+
         |
        VLType

A VLType instance is used to describe a variable length (VLEN) data type.

Constructor: VLType(group, datatype, datatype_name)

VLType instances should be created using the createVLType method of a Dataset or Group instance, not using this class directly.

Parameters:

group - Group instance to associate with the VLEN datatype.

datatype - An numpy dtype object describing a the component type for the variable length array.

datatype_name - a Python string containing a description of the VLEN data type.

Returns:

a VLType instance, which can be passed to the createVariable method of a Dataset or Group instance.

The instance variables dtype and name should not be modified by the user.

Instance Methods
 
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__str__(x)
str(x)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Instance Variables
  dtype
An object describing the VLEN type.
  name
A python string describing the VLEN type.
Properties

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__str__(x)
(Informal representation operator)

 

str(x)

Overrides: object.__str__