-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Message type needs to be dataset when message contains dataset in posttroll-hook #44
Comments
OK this is maybe to as as easy. Why is it necessary to use dataset? If this message is to be send to move-it-server it will fail. I there for suggest to not use dataset at all, but make individual messages for each file in the dataset and this avoid the dataset problem The code to make the mesage is about here: I suggest we loop over the dataset and generate a message for each file. |
It look to me that the hook can produce both messages with file and dataset.
But the message type is hardcoded to file.
https://github.com/pytroll/pytroll-pps-runner/blob/main/nwcsafpps_runner/pps_posttroll_hook.py#L274
I think this needs to be fixed
The text was updated successfully, but these errors were encountered: