semantique.mapping.Mapping#
- class semantique.mapping.Mapping(rules=None)[source]#
Base class for mapping configurations.
- Parameters:
rules (
dict) – Dictionary containing the names of semantic concepts as keys and the rules that map them to data in an EO data cube as values. May have a nested structure formalizing a categorization of semantic concepts. IfNone, an empty mapping instance is constructed.
Methods
__init__([rules])lookup(*reference)Lookup the mapping rules of a referenced semantic concept.
translate(*reference[, property, eval_obj])Abstract method for the translator function.