Module das
source code
DAS DAP response.
This module implements the DAS DAP response, building it dynamically
from datasets objects.
|
build(self,
constraints=None)
|
|
_recursive_build(attr,
values,
level=0)
Recursive function to build the DAS.
|
|
_dispatch(dapvar,
level=0)
|
|
_dataset(dapvar,
level=0)
|
|
_structure(dapvar,
level=0)
|
|
_sequence(dapvar,
level=0)
|
|
_grid(dapvar,
level=0)
|
|
_array(dapvar,
level=0)
|
|
_base(dapvar,
level=0)
|
|
_test()
|
|
__author__ = 'Roberto De Almeida <rob@pydap.org>'
|
|
typeconvert = {<type 'basestring'>: 'String', <type 'str'>: 'Strin...
|
Imports:
lib.INDENT,
lib.__dap__,
lib.encode_atom,
dtypes.Float16,
dtypes.ArrayType,
dtypes.Float32,
dtypes.GridType,
dtypes.Int32,
dtypes.Int16,
dtypes.String,
dtypes.BaseType,
dtypes.UInt16,
dtypes.Int0,
dtypes.Byte,
dtypes.DatasetType,
dtypes.Int8,
dtypes.StructureType,
dtypes.Float64,
dtypes.Url,
dtypes.SequenceType,
dtypes.Int64,
dtypes.UInt64,
dtypes.Int,
dtypes.Float,
dtypes.UInt32,
dtypes.Float8,
dtypes.Float0,
dtypes._basetypes
|
Recursive function to build the DAS.
This function checks for attribute nodes that do not belong to any
variable, and append them as metadata.
-
|
__author__
None
-
- Value:
'Roberto De Almeida <rob@pydap.org>'
|
|
typeconvert
None
-
- Value:
{<type 'float'>: 'Float32',
<type 'int'>: 'Int32',
<type 'long'>: 'Float64',
<type 'str'>: 'String',
<type 'basestring'>: 'String'}
|
|