problem using contour command on Debian bookworm machine

6 views
Skip to first unread message

Stacy Brodzik

unread,
Nov 18, 2025, 5:45:20 PM (6 days ago) Nov 18
to wrfpython-talk
I currently upgraded from Debian 11.11 (bullseye) and wrf-python 1.3.4.1 to Debian 12.12 (bookworm) and wrf-python 1.4.1.  Since then I am having problems using the contour and contourf commands.   I could run the attached code on the Debian 11 setup but get errors on the contour and contourf commands (lines 43-46) when I try the same code on the upgraded machine.  The error messages on the upgraded machine end with this:

AttributeError: 'QuadContourSet' object has no attribute 'collections'

Any thoughts about how to fix this?

Stacy



Stacy Brodzik

unread,
Nov 18, 2025, 5:59:23 PM (6 days ago) Nov 18
to wrfpython-talk
I forgot to attach the code.  Here it is.

--
You received this message because you are subscribed to a topic in the Google Groups "wrfpython-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/a/ucar.edu/d/topic/wrfpython-talk/Xz8NGmJfWzc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wrfpython-tal...@ucar.edu.
To view this discussion visit https://groups.google.com/a/ucar.edu/d/msgid/wrfpython-talk/2fa272fb-40a5-40fe-ab35-a3a11f828f53n%40ucar.edu.
plot_2d_field.py3

Stacy Brodzik

unread,
Nov 18, 2025, 5:59:51 PM (6 days ago) Nov 18
to wrfpython-talk, Stacy Brodzik
Here's the code.
plot_2d_field.py3

Will H

unread,
Nov 20, 2025, 10:06:09 AM (4 days ago) Nov 20
to Stacy Brodzik, wrfpython-talk
So WRF-Python is extremely buggy to run outside of a Conda Envrionment due to it not being updated in years.  So modern NETCDF4 and pytyhon modules have advanced and the wrf python modules have not.

I have attached a .yaml script for a conda environment that is stable and will work for WRF python.



--
You received this message because you are subscribed to the Google Groups "wrfpython-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wrfpython-tal...@ucar.edu.
To view this discussion visit https://groups.google.com/a/ucar.edu/d/msgid/wrfpython-talk/6b4fa6b8-c26b-4179-96de-2295cf964e03n%40ucar.edu.
wrf-python-stable.yml
Reply all
Reply to author
Forward
0 new messages