palmmeteo.library.InputGatherer(3)

NAME
palmmeteo.library.InputGatherer

SYNOPSIS

  Public Member Functions
__init__ (self, fout, varnames, nt, output_dims, dyn_levels=True, copy_attrs=[])
add_single_lev (self, varname, it, level, data, attrs={})
add_full (self, varname, it, data, attrs={})
finalize (self)

  Public Attributes
fout
nt
varnames
nv
idx_var
output_dims
copy_attrs
dyn_levels
levels
idx_lev
filled
level_dimname
extra_dims

  Protected Member Functions
_get_level (self, level)
_get_var (self, varname, dt, shape, attrs)
_pprint_missing (self, data, axis, axname, keys=None)

Detailed Description

Helps gather input variables for the import step and check for
completeness. Also helps handle list of vertical levels if it is not known
in advance. Only works on identically-shaped data - use more than one
object if you have e.g. 2D + 3D variables.

Constructor & Destructor Documentation

  palmmeteo.library.InputGatherer.__init__ ( self, fout, varnames, nt, output_dims, dyn_levels = True, copy_attrs = [])

Member Function Documentation

  palmmeteo.library.InputGatherer._get_level ( self, level) [protected]

  palmmeteo.library.InputGatherer._get_var ( self, varname, dt, shape, attrs) [protected]

  palmmeteo.library.InputGatherer._pprint_missing ( self, data, axis, axname, keys = None) [protected]

  palmmeteo.library.InputGatherer.add_full ( self, varname, it, data, attrs = {})

  palmmeteo.library.InputGatherer.add_single_lev ( self, varname, it, level, data, attrs = {})

  palmmeteo.library.InputGatherer.finalize ( self)

Member Data Documentation

  palmmeteo.library.InputGatherer.copy_attrs

  palmmeteo.library.InputGatherer.dyn_levels

  palmmeteo.library.InputGatherer.extra_dims

  palmmeteo.library.InputGatherer.filled

  palmmeteo.library.InputGatherer.fout

  palmmeteo.library.InputGatherer.idx_lev

  palmmeteo.library.InputGatherer.idx_var

  palmmeteo.library.InputGatherer.level_dimname

  palmmeteo.library.InputGatherer.levels

  palmmeteo.library.InputGatherer.nt

  palmmeteo.library.InputGatherer.nv

  palmmeteo.library.InputGatherer.output_dims

  palmmeteo.library.InputGatherer.varnames

Author

Generated automatically by Doxygen for PALM-meteo from the source code.