Skip to content

Commit

Permalink
metadata for data-centric api (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
maaikelimper authored Aug 19, 2024
1 parent 4c1cbbf commit f7da8c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions wis2box-management/wis2box/data/bufr4.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def transform(self, input_data: Union[Path, bytes],
payload = {
'inputs': {
'channel': self.topic_hierarchy.replace('origin/a/wis2/', ''),
'metadata_id': self.metadata_id,
'notify': False,
'data': data
}
Expand Down
1 change: 1 addition & 0 deletions wis2box-management/wis2box/data/csv2bufr.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def transform(self, input_data: Union[Path, bytes],
payload = {
'inputs': {
'channel': self.topic_hierarchy.replace('origin/a/wis2/', ''),
'metadata_id': self.metadata_id,
'template': self.template,
'notify': False,
'data': data
Expand Down
1 change: 1 addition & 0 deletions wis2box-management/wis2box/data/synop2bufr.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def transform(self, input_data: Union[Path, bytes],
payload = {
'inputs': {
'channel': self.topic_hierarchy.replace('origin/a/wis2/', ''),
'metadata_id': self.metadata_id,
'year': year,
'month': month,
'notify': False,
Expand Down

0 comments on commit f7da8c0

Please sign in to comment.