Data mappingsΒΆ
Once a topic hierarchy is defined, it needs to be included in the wis2box data mappings configuration. wis2box provides a default data mapping:
data:
data.core.observations-surface-land.mw.FWCL.landFixed: wis2box.data.observations.ObservationData
The format of the data
property is key: value
, where:
key
: the topic hierarchy defined in the systemvalue
: the codepath that implements the relevant data processing
The default data mapping can be overriden by user-defined data mappings with the following steps:
create a YAML file similar to the above to include your topic hierarchy
set the
WIS2BOX_DATA_MAPPINGS
environment variable to point to the new file of definitionsrestart wis2box
See Extending wis2box for more information on adding your own data processing pipeline.