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

level 1c runner crashes when wrong formated platform name arrives. Bug or feature? #37

Open
TAlonglong opened this issue Nov 26, 2021 · 0 comments

Comments

@TAlonglong
Copy link
Collaborator

level 1c runner crashes when wrong formated platform name arrives.
Bug or feature?

Traceback (most recent call last):
  File "/software/miniconda/envs/ppsv2021/bin/level1c_runner.py", line 4, in <module>
    __import__('pkg_resources').run_script('nwcsafpps-runner==0.2.2.dev92+ga744cb8.d20211125', 'level1c_runner.py')
  File "/software/miniconda/envs/ppsv2021/lib/python3.7/site-packages/pkg_resources/__init__.py", line 656, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/software/miniconda/envs/ppsv2021/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1453, in run_script
    exec(code, namespace, namespace)
  File "/data/software/miniconda/envs/ppsv2021/lib/python3.7/site-packages/nwcsafpps_runner-0.2.2.dev92+ga744cb8.d20211125-py3.7.egg/EGG-INFO/scripts/level1c_runner.py", line 136, in <module>
    l1c_runner(CONFIG_FILENAME, SERVICE_NAME)
  File "/data/software/miniconda/envs/ppsv2021/lib/python3.7/site-packages/nwcsafpps_runner-0.2.2.dev92+ga744cb8.d20211125-py3.7.egg/EGG-INFO/scripts/level1c_runner.py", line 88, in l1c_runner
    _run_subscribe_publisher(l1c_proc, service_name, sub, pub)
  File "/data/software/miniconda/envs/ppsv2021/lib/python3.7/site-packages/nwcsafpps_runner-0.2.2.dev92+ga744cb8.d20211125-py3.7.egg/EGG-INFO/scripts/level1c_runner.py", line 61, in _run_subscribe_publish
er
    l1c_proc.run(msg)
  File "/data/software/miniconda/envs/ppsv2021/lib/python3.7/site-packages/nwcsafpps_runner-0.2.2.dev92+ga744cb8.d20211125-py3.7.egg/nwcsafpps_runner/l1c_processing.py", line 120, in run
    self.check_platform_name_consistent_with_service()
  File "/data/software/miniconda/envs/ppsv2021/lib/python3.7/site-packages/nwcsafpps_runner-0.2.2.dev92+ga744cb8.d20211125-py3.7.egg/nwcsafpps_runner/l1c_processing.py", line 159, in check_platform_name_c
onsistent_with_service
    raise PlatformNameInconsistentWithService(errmsg)
nwcsafpps_runner.l1c_processing.PlatformNameInconsistentWithService: ('%s: Platform name not supported for this service: %s', 'metop01', 'avhrr-l1c')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant