landlab

landlab.io.vtk package

Submodules

landlab.io.vtk.encoders module

class AsciiEncoder[source]

Bases: object

encode(array)[source]
class Base64Encoder[source]

Bases: object

decode(array)[source]
encode(array)[source]
exception EncoderError[source]

Bases: exceptions.Exception

class EncoderInterface[source]

Bases: object

encode(array)[source]
class RawEncoder[source]

Bases: object

encode(array)[source]
exception UnknownEncoderError(name)[source]

Bases: landlab.io.vtk.encoders.EncoderError

decode(array, encoding='raw')[source]
encode(array, encoding='ascii')[source]

landlab.io.vtk.vti module

class VtkUniformRectilinearWriter(**kwds)[source]

Bases: landlab.io.vtk.writer.VtkWriter

construct_field_elements(field)[source]

landlab.io.vtk.vtktypes module

class VtkCellType(name, id)[source]

Bases: object

class VtkEndian(endian)[source]

Bases: object

class VtkGridType(name)[source]

Bases: object

class VtkType(name, size)[source]

Bases: object

landlab.io.vtk.vtkxml module

class VtkAppendedDataElement(data, **kwargs)[source]

Bases: landlab.io.vtk.vtkxml.VtkElement

addData(data)[source]
offset()[source]
class VtkCellDataElement(values, **kwargs)[source]

Bases: landlab.io.vtk.vtkxml.VtkDataElement

class VtkCellsElement(connectivity, offset, types, **kwargs)[source]

Bases: landlab.io.vtk.vtkxml.VtkDataElement

class VtkCoordinatesElement(xyz, **kwargs)[source]

Bases: landlab.io.vtk.vtkxml.VtkDataElement

class VtkDataArrayElement(array, **kwargs)[source]

Bases: landlab.io.vtk.vtkxml.VtkElement

addData(data_string)[source]
class VtkDataElement(name, **kwargs)[source]

Bases: landlab.io.vtk.vtkxml.VtkElement

addData(data, name, append=None, encoding='ascii', **kwargs)[source]
format = 'ascii'
class VtkElement(name, **kwargs)[source]

Bases: xml.dom.minidom.Element

getAttributes(names=None)[source]
setAttributes(**kwargs)[source]
class VtkExtent(shape)[source]

Bases: object

class VtkGridElement(name, **kwargs)[source]

Bases: landlab.io.vtk.vtkxml.VtkElement

class VtkOrigin(origin, spacing)[source]

Bases: object

class VtkPieceElement(**kwargs)[source]

Bases: landlab.io.vtk.vtkxml.VtkElement

class VtkPointDataElement(values, **kwargs)[source]

Bases: landlab.io.vtk.vtkxml.VtkDataElement

class VtkPointsElement(coords, **kwargs)[source]

Bases: landlab.io.vtk.vtkxml.VtkDataElement

class VtkRootElement(type)[source]

Bases: landlab.io.vtk.vtkxml.VtkElement

class VtkSpacing(spacing)[source]

Bases: object

class VtkTextElement(text)[source]

Bases: xml.dom.minidom.Text

landlab.io.vtk.writer module

exception InvalidEncodingError(encoding)[source]

Bases: landlab.io.vtk.writer.VtkError

exception InvalidFormatError(format)[source]

Bases: landlab.io.vtk.writer.VtkError

class VTKDatabase(**kwds)[source]

Bases: landlab.io.vtk.writer.VtkWriter

write(path, **kwargs)[source]
exception VtkError[source]

Bases: exceptions.Exception

class VtkWriter(**kwds)[source]

Bases: xml.dom.minidom.Document

construct_field_elements(field)[source]
data
encoding
format
to_xml(path)[source]
write(path, field)[source]
assemble_vtk_document(element)[source]
assemble_vtk_elements(element)[source]
assert_encoding_is_valid(encoding_string)[source]
assert_format_is_valid(format_string)[source]

Module contents