Skip to content
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

PPS runner requires data_processing_level in uppercase but level1c-runner publish in lowercase #39

Open
TAlonglong opened this issue Nov 26, 2021 · 1 comment
Assignees
Labels

Comments

@TAlonglong
Copy link
Collaborator

TAlonglong commented Nov 26, 2021

PPS runner requires data_processing_level in uppercast, but level1c-runner publish in lowercase.

Message from level 1c runner:

[INFO: 2021-11-26 15:54:05 : nwcsafpps_runner.utils] Got message: pytroll://segment/SDR/1C file ubuntu@pps-v2021-a 2021-11-26T15:54:05.660349 v1.01 application/json {"orig_platform_name": "j01", "start_ti
me": "2021-11-26T15:39:29", "start_decimal": 4, "end_time": "1900-01-01T15:40:53", "end_decimal": 9, "orbit_number": 0, "proctime": "20211126154829000765", "stream": "eumetcast", "variant": "EARS", "forma
t": "PPS-L1C", "type": "NETCDF", "data_processing_level": "1c", "platform_name": "NOAA-20", "tle_platform_name": "NOAA 20", "antenna": "ears", "origin": "157.249.16.188:9228", "sensor": "viirs", "orig_orb
it_number": 20846, "uri": "ssh://pps-v2021-a/data/pytroll/nwcsaf/import/IMAGER_data/S_NWC_viirs_noaa20_00000_20211126T1539294Z_20211126T1540539Z.nc", "uid": "S_NWC_viirs_noaa20_00000_20211126T1539294Z_202
11126T1540539Z.nc"}

https://github.com/pytroll/pytroll-pps-runner/blob/main/nwcsafpps_runner/utils.py#L315-L316

@TAlonglong
Copy link
Collaborator Author

This is as such no bug.

But the user of the output is the pps_runner whcih requires this to be uppercase.

Either we relax the requirement in pps_runner or we have to change this.

I need some opinion where I fix this.

Please let me know @adybbroe or one of your colleagues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants