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

raise AttributeError('Unknown property %s' % k) #54

Open
alexandrefierro opened this issue Feb 14, 2023 · 0 comments
Open

raise AttributeError('Unknown property %s' % k) #54

alexandrefierro opened this issue Feb 14, 2023 · 0 comments

Comments

@alexandrefierro
Copy link

Can't get past this error [whatever it means], regardless of the matplotlib version used. Any ideas on how to fix this?. Thanks!

pyMeteo(1234)>bin/skewt wrf wrf-skewt.pdf --lat 17.0 --lon -17.0 -f ./wrfout_d02_2017-08-28_03:00:00
17.0 N, 17.0 W 0.0 2017-08-28_03:00:00 300.3474 -0.15690103 -3.7380385 101148.8 0.020877775
Traceback (most recent call last):
File "bin/skewt", line 4, in
import('pkg_resources').run_script('pymeteo==1.0.3', 'skewt')
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/pkg_resources/init.py", line 650, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/pkg_resources/init.py", line 1446, in run_script
exec(code, namespace, namespace)
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/pymeteo-1.0.3-py3.5.egg/EGG-INFO/scripts/skewt", line 160, in
main()
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/pymeteo-1.0.3-py3.5.egg/EGG-INFO/scripts/skewt", line 99, in main
skewt.plot_wrf(args.f, args.lat, args.lon, args.t, args.output)
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/pymeteo-1.0.3-py3.5.egg/pymeteo/skewt.py", line 404, in plot_wrf
plot(x, z, th, p, qv, u, v, output, t, title)
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/pymeteo-1.0.3-py3.5.egg/pymeteo/skewt.py", line 690, in plot
plot_sounding_axes(ax1)
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/pymeteo-1.0.3-py3.5.egg/pymeteo/skewt.py", line 726, in plot_sounding_axes
draw_isotherms(axes)
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/pymeteo-1.0.3-py3.5.egg/pymeteo/skewt.py", line 1142, in draw_isotherms
axes.semilogy(T + skew(plevs_plot), plevs_plot, base=math.e, color = lc_major, linewidth= lw_major)
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/matplotlib/axes/_axes.py", line 1844, in semilogy
l = self.plot(*args, **kwargs)
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/matplotlib/init.py", line 1810, in inner
return func(ax, *args, **kwargs)
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/matplotlib/axes/_axes.py", line 1611, in plot
for line in self._get_lines(*args, **kwargs):
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 393, in _grab_next_args
yield from self._plot_args(this, kwargs)
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 383, in _plot_args
seg = func(x[:, j % ncx], y[:, j % ncy], kw, kwargs)
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/matplotlib/axes/_base.py", line 288, in _makeline
seg = mlines.Line2D(x, y, **kw)
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/matplotlib/lines.py", line 410, in init
self.update(kwargs)
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/matplotlib/artist.py", line 916, in update
ret = [_update_property(self, k, v) for k, v in props.items()]
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/matplotlib/artist.py", line 916, in
ret = [_update_property(self, k, v) for k, v in props.items()]
File "/lustre01/vol0/1163ow/pyMeteo/lib/python3.5/site-packages/matplotlib/artist.py", line 912, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property base

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