Package eoxserver :: Package resources :: Package coverages :: Module rangetype
[hide private]
[frames] | no frames]

Module rangetype

source code

Classes [hide private]
  Band
Band represents a band configuration.
  NilValue
This class represents nil values of a coverage band.
  RangeType
RangeType contains range type information of a coverage.
Functions [hide private]
 
getRangeTypeFromFile(filename)
Get range type from the file given by the ``filename``.
source code
 
getAllRangeTypeNames()
Return a list of identifiers of all registered range-types.
source code
 
isRangeTypeName(name)
Check whether there is (``True``) or is not (``False``) a registered range-type with given identifier``name``.
source code
 
getRangeType(name)
Return ``RangeType`` object for given ``name``.
source code
 
setRangeType(rtype)
Save range-type record to the DB.
source code
Variables [hide private]
  __package__ = 'eoxserver.resources.coverages'
Function Details [hide private]

getRangeType(name)

source code 
Return ``RangeType`` object for given ``name``. The object properties are loaded from the DB. If there is no ``RangeTypeRecord`` corresponding to the given name ``None`` is returned.

setRangeType(rtype)

source code 
Save range-type record to the DB. The range-type record is created from the ``rtype`` which can be either a ``RangeType`` object or parsed JSON dictionary.