You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/metpy/testing.py:127: in wrapped
return test_func(*args, **kwargs)
tests/plots/test_declarative.py:852: in test_latlon
pc.draw()
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/metpy/plots/declarative.py:187: in draw
panel.draw()
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/metpy/plots/declarative.py:511: in draw
p.draw()
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/metpy/plots/declarative.py:891: in draw
self._build()
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/metpy/plots/declarative.py:1020: in _build
self.handle = self.parent.ax.imshow(imdata, **kwargs)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/cartopy/mpl/geoaxes.py:307: in wrapper
return func(self, *args, **kwargs)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/cartopy/mpl/geoaxes.py:1314: in imshow
img, extent = warp_array(img,
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/cartopy/img_transform.py:182: in warp_array
source_native_xy = mesh_projection(source_proj, nx, ny,
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/cartopy/img_transform.py:79: in mesh_projection
y, ystep = np.linspace(y_lower, y_upper, ny, retstep=True,
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/numpy/_core/function_base.py:189: in linspace
y = conv.wrap(y.astype(dtype, copy=False))
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/xarray/core/dataarray.py:4704: in array_wrap
new_var = self.variable.array_wrap(obj, context)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/xarray/core/variable.py:2295: in array_wrap
return Variable(self.dims, obj)
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/xarray/core/variable.py:398: in init
super().init(
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/xarray/namedarray/core.py:264: in init
self._dims = self._parse_dimensions(dims)
self = <[AttributeError("'Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7efc2f151f00>
dims = ()
def _parse_dimensions(self, dims: _DimsLike) -> _Dims:
dims = (dims,) if isinstance(dims, str) else tuple(dims)
if len(dims) != self.ndim:
raise ValueError(
f"dimensions {dims} must have the same length as the "
f"number of data dimensions, ndim={self.ndim}"
)
E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1
/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/xarray/namedarray/core.py:508: ValueError
=========================== short test summary info ============================
FAILED tests/plots/test_declarative.py::test_declarative_smooth_field - Failed: Error: Image files did not match.
RMS Value: 0.03295017884191656
Expected:
/home/runner/work/MetPy/MetPy/test_output/test_declarative.test_declarative_smooth_field/baseline.png
Actual:
/home/runner/work/MetPy/MetPy/test_output/test_declarative.test_declarative_smooth_field/result.png
Difference:
/home/runner/work/MetPy/MetPy/test_output/test_declarative.test_declarative_smooth_field/result-failed-diff.png
Tolerance:
0.031
FAILED tests/plots/test_declarative.py::test_declarative_events - ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1
FAILED tests/plots/test_declarative.py::test_latlon - ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1
============ 3 failed, 1528 passed, 3 xfailed in 523.97s (0:08:43) =============
../examples/meteogram_metpy.py unexpectedly failed to execute correctly:
Traceback (most recent call last):
File "/home/runner/work/MetPy/MetPy/examples/meteogram_metpy.py", line 187, in <module>
testdata = np.genfromtxt(get_test_data('timeseries.csv', False), names=True, dtype=None,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/numpy/lib/_npyio_impl.py", line 2243, in genfromtxt
converters[i].update(user_conv, locked=True,
File "/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/numpy/lib/_iotools.py", line 804, in update
tester = func(testing_value or '1')
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/MetPy/MetPy/examples/meteogram_metpy.py", line 184, in parse_date
return dt.datetime.strptime(date.decode('ascii'), '%Y-%m-%d %H:%M:%S')
^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?
make: *** [Makefile:34: html] Error 2
Linkchecker output:
The text was updated successfully, but these errors were encountered:
Just minor differences in the underlying image edges in test_declarative_events with Matplotlib 3.9.0rc2. Diff:
Probably should just regenerate for Matplotlib 3.9, set a higher threshold for older versions. Unfortunately, Matplotlib 3.9 is requiring Numpy >=2.0.0rc1 to build, so we're not getting conda-forge packages any time soon.
The Nightly workflow is failing.
The tests failed.
Log:
Log:
Linkchecker output:
The text was updated successfully, but these errors were encountered: