| Home | Trees | Indices | Help |
|
|---|
|
|
ASCII DAP response.
This module implements the ASCII DAP response, building it dynamically from datasets objects.
|
|||
|
n_iterate(t) Iterator over n-tuple. |
||
| build(self, constraints=None) | ||
| _dispatch(dapvar, printname=True) | ||
| _dataset(dapvar, printname) | ||
| _structure(dapvar, printname) | ||
| _grid(dapvar, printname) | ||
| _sequence(dapvar, printname) | ||
| _array(dapvar, printname) | ||
| _base(dapvar, printname) | ||
| _test() | ||
|
|||
|
__author__ = 'Roberto De Almeida <rob@pydap.org>'
|
||
Imports: itertools, lib.INDENT, lib.__dap__, lib.encode_atom, lib.isiterable, 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
|
|||
Iterator over n-tuple. This function is used when representing data in the ASCII response. It iterates over a n-dimensional tuple/list, yielding all indexes in order.>>> for l in n_iterate([1,2,3]): ... print l [0, 0, 0] [0, 0, 1] [0, 0, 2] [0, 1, 0] [0, 1, 1] [0, 1, 2] |
|
|
|
|
|
|
|
|
|
|
|||
__author__None
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0alpha3 on Mon Nov 13 21:49:06 2006 | http://epydoc.sourceforge.net |