We were missing variant in output messages. This is now fixed.
Also all metadata (except description) in the hook is now being added as a dict, like this example (pps_hooks.yaml):
pps_hook:
post_hook: !!python/object:nwcsafpps_runner.pps_posttroll_hook.PPSMessage
description: "This is a pps post hook for PostTroll messaging"
metadata:
posttroll_topic: "PPSv2018"
station: "norrkoping"
output_format: "CF"
level: "2"
variant: DR
This means it is easier to add new metadata to the message if needed.
We were missing
variant
in output messages. This is now fixed. Also all metadata (exceptdescription
) in the hook is now being added as a dict, like this example (pps_hooks.yaml
):This means it is easier to add new metadata to the message if needed.
Also fixing a couple of bugs from previous PR #13