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

Traceback in ropo_realtime when quantity is missing #2

Open
andershenja opened this issue Sep 16, 2021 · 6 comments
Open

Traceback in ropo_realtime when quantity is missing #2

andershenja opened this issue Sep 16, 2021 · 6 comments

Comments

@andershenja
Copy link
Contributor

Jul 21 12:29:30 co-0181 PGF[rave.baltrad.eu]: ERROR Failure during processing#012Traceback (most recent call last):#012 File "/opt/baltrad/bropo/share/bropo/pyropo/ropo_quality_plugin.py", line 53, in process#012 obj = ropo_realtime.generate(obj, reprocess_quality_flag, quality_control_mode)#012 File "/opt/baltrad/bropo/share/bropo/pyropo/ropo_realtime.py", line 237, in generate#012 ret = process_pvol(inobj, options, quality_control_mode)#012 File "/opt/baltrad/bropo/share/bropo/pyropo/ropo_realtime.py", line 208, in process_pvol#012 scan = process_scan(scan, options, quality_control_mode)#012 File "/opt/baltrad/bropo/share/bropo/pyropo/ropo_realtime.py", line 146, in process_scan#012 newscan, gates = PadNrays?(scan, options)#012 File "/opt/baltrad/bropo/share/bropo/pyropo/ropo_realtime.py", line 267, in PadNrays?#012 dbzh = scan.getParameter("DBZH").clone()#012AttributeError: 'NoneType?' object has no attribute 'clone'

@MilkaRadojevic
Copy link

Hi @andershenja,
At Météo France, our IT service shared with us the same type of error written in /var/log/messages. This error message is not visible in execution logs of odc_toolbox.

 Apr  2 15:52:17 sotrtm28-sine PGF[rave.baltrad.eu]: ERROR    Failure during processing#012Traceback (most recent call last):#012  File "/SOPRANO/dso/cirrus_modules/toolbox3/share/bropo/pyropo/ropo_quality_plugin.py", line 52, in process#012    import ropo_realtime#012  File "/SOPRANO/dso/cirrus_modules/toolbox3/share/bropo/pyropo/ropo_realtime.py", line 29, in <module>#012    import _fmiimage#012SystemError: offset() method: bad call flags

Can you please solve this issue.
Thanks!

@andershenja
Copy link
Contributor Author

andershenja commented Apr 10, 2024 via email

@MilkaRadojevic
Copy link

MilkaRadojevic commented Apr 10, 2024

Excellent. The corrected version were tested, right?

I forgot to mention that the error messages is related to the bropo-build-21, the version available at the time of building Cirrus composite production on Rocky Linux.

Should I clone the latest bropo?

@andershenja
Copy link
Contributor Author

andershenja commented Apr 10, 2024 via email

@MilkaRadojevic
Copy link

MilkaRadojevic commented Apr 10, 2024

Thanks for running the test.
We run Python 3.9.

Only changes I can see is that ropo_options has been updated.

Indeed, I could see difference when comparing the two builds 21 and 55.
The config file ropo_options.xml only includes Finish and Swedish radars. Is there a default rule for other radars?

@MilkaRadojevic
Copy link

MilkaRadojevic commented Apr 10, 2024

I got answer to my question. There is default threshold= defined within the config file.

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

2 participants