============================= test session starts ==============================
platform linux -- Python 3.10.10, pytest-7.2.1, pluggy-1.0.0
Matplotlib: 3.7.0
Freetype: 2.6.1
Dep Versions: Matplotlib 3.7.0, NumPy 1.24.2, Pandas 2.0.0rc0, Pint 0.20.2.dev37+g5314065, Pooch v1.7.0
PyProj 3.4.1, SciPy 1.10.1, Traitlets 5.9.0, Xarray 2023.2.1.dev13+g6531b57f
rootdir: /home/runner/work/MetPy/MetPy, configfile: setup.cfg
plugins: mpl-0.16.1
collected 1451 items
tests/test_cbook.py .. [ 0%]
tests/test_deprecation.py . [ 0%]
tests/test_packaging.py . [ 0%]
tests/test_testing.py .... [ 0%]
tests/test_xarray.py ................................................... [ 4%]
........................................................................ [ 9%]
........................................................................ [ 13%]
.................... [ 15%]
tests/calc/test_basic.py ............................................... [ 18%]
........................................................................ [ 23%]
....................... [ 25%]
tests/calc/test_calc_tools.py .......................................... [ 28%]
........................................................................ [ 33%]
.......................................... [ 35%]
tests/calc/test_cross_sections.py ............. [ 36%]
tests/calc/test_indices.py .........x............ [ 38%]
tests/calc/test_kinematics.py .......................................... [ 41%]
...................................... [ 43%]
tests/calc/test_thermo.py .............................................. [ 47%]
........................................................................ [ 51%]
........................................................................ [ 56%]
. [ 56%]
tests/calc/test_turbulence.py ........................... [ 58%]
tests/interpolate/test_geometry.py ............. [ 59%]
tests/interpolate/test_grid.py ...................................... [ 62%]
tests/interpolate/test_interpolate_tools.py ....... [ 62%]
tests/interpolate/test_one_dimension.py .................. [ 64%]
tests/interpolate/test_points.py ........................ [ 65%]
tests/interpolate/test_slices.py ....... [ 66%]
tests/io/test_gempak.py ........................ [ 67%]
tests/io/test_gini.py .................. [ 69%]
tests/io/test_metar.py ....................................... [ 71%]
tests/io/test_nexrad.py ................................................ [ 75%]
........................................................................ [ 80%]
..................................................... [ 83%]
tests/io/test_station_data.py ...... [ 84%]
tests/io/test_tools.py .. [ 84%]
tests/plots/test_cartopy_utils.py ....... [ 84%]
tests/plots/test_ctables.py .......... [ 85%]
tests/plots/test_declarative.py ........................................ [ 88%]
................................. [ 90%]
tests/plots/test_mapping.py ...................... [ 92%]
tests/plots/test_mpl.py . [ 92%]
tests/plots/test_skewt.py ..........F...................... [ 94%]
tests/plots/test_station_plot.py ......................... [ 96%]
tests/plots/test_util.py .............. [ 97%]
tests/plots/test_wx_symbols.py .... [ 97%]
tests/units/test_units.py .....................................x. [100%]
=================================== FAILURES ===================================
_______________________________ test_skewt_units _______________________________
Error: Image files did not match.
RMS Value: 5.830265013141066
Expected:
/home/runner/work/MetPy/MetPy/test_output/test_skewt.test_skewt_units/baseline.png
Actual:
/home/runner/work/MetPy/MetPy/test_output/test_skewt.test_skewt_units/result.png
Difference:
/home/runner/work/MetPy/MetPy/test_output/test_skewt.test_skewt_units/result-failed-diff.png
Tolerance:
0.0198
=============================== warnings summary ===============================
tests/test_xarray.py::test_projection
:241: RuntimeWarning: numpy.ndarray size changed, may indicate binary incompatibility. Expected 16 from C header, got 96 from PyObject
tests/test_xarray.py::test_quantify
tests/test_xarray.py::test_dataset_quantify
tests/calc/test_calc_tools.py::test_parse_angle_invalid_arr
tests/calc/test_calc_tools.py::test_gradient_2d
tests/calc/test_calc_tools.py::test_gradient_4d
tests/calc/test_calc_tools.py::test_gradient_restricted_axes
tests/calc/test_calc_tools.py::test_3d_gradient_3d_data_no_axes
tests/calc/test_calc_tools.py::test_2d_gradient_4d_data_2_axes_3_deltas
tests/calc/test_calc_tools.py::test_2d_gradient_4d_data_2_axes_2_deltas
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/numpy/testing/_private/utils.py:714: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
x = np.asanyarray(x)
tests/test_xarray.py::test_quantify
tests/test_xarray.py::test_dataset_quantify
tests/calc/test_calc_tools.py::test_find_intersections[all-expected0]
tests/calc/test_calc_tools.py::test_find_intersections[increasing-expected1]
tests/calc/test_calc_tools.py::test_find_intersections[decreasing-expected2]
tests/calc/test_calc_tools.py::test_find_intersections_no_intersections
tests/calc/test_calc_tools.py::test_find_intersections_intersections_in_data_at_ends[all-expected0]
tests/calc/test_calc_tools.py::test_find_intersections_intersections_in_data_at_ends[increasing-expected1]
tests/calc/test_calc_tools.py::test_find_intersections_intersections_in_data_at_ends[decreasing-expected2]
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/numpy/testing/_private/utils.py:715: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
y = np.asanyarray(y)
tests/test_xarray.py: 1 warning
tests/calc/test_cross_sections.py: 8 warnings
tests/plots/test_declarative.py: 4 warnings
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/xarray/core/variable.py:304: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
data = np.asarray(data)
tests/test_xarray.py::test_preprocess_and_wrap_with_variable
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/metpy/xarray.py:1305: UserWarning: Argument b given as xarray Variable...casting to its data. xarray DataArrays are recommended instead.
warnings.warn(
tests/test_xarray.py::test_preprocess_and_wrap_with_variable
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/metpy/xarray.py:1305: UserWarning: Argument a given as xarray Variable...casting to its data. xarray DataArrays are recommended instead.
warnings.warn(
tests/test_xarray.py::test_grid_deltas_from_dataarray_xy
tests/test_xarray.py::test_grid_deltas_from_dataarray_actual_xy
tests/test_xarray.py::test_grid_deltas_from_dataarray_invalid_kind
tests/calc/test_calc_tools.py::test_first_derivative_xarray_time_and_default_axis
tests/calc/test_calc_tools.py::test_gradient_xarray
tests/calc/test_calc_tools.py::test_gradient_xarray_implicit_axes
tests/calc/test_calc_tools.py::test_gradient_xarray_pint_conversion
tests/calc/test_calc_tools.py::test_parse_grid_arguments_cartesian[False]
tests/calc/test_calc_tools.py::test_parse_grid_arguments_cartesian[True]
/home/runner/work/MetPy/MetPy/conftest.py:113: UserWarning: Converting non-nanosecond precision datetime values to nanosecond precision. This behavior can eventually be relaxed in xarray, as it is an artifact from pandas which is now beginning to support non-nanosecond precision values. This warning is caused by passing non-nanosecond np.datetime64 or np.timedelta64 values to the DataArray or Variable constructor; it can be silenced by converting the values to nanosecond precision ahead of time.
'time': xarray.DataArray(
tests/calc/test_basic.py: 20 warnings
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/numpy/ma/core.py:2820: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
_data = np.array(data, dtype=dtype, copy=copy,
tests/calc/test_basic.py::test_apparent_temperature_scalar
tests/calc/test_basic.py::test_apparent_temperature_windchill
tests/calc/test_thermo.py::test_saturation_equivalent_potential_temperature_masked
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/numpy/ma/core.py:716: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
data = np.array(a, copy=False, subok=subok)
tests/calc/test_basic.py::test_altimeter_to_sea_level_pressure_hpa[masked]
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/pint/facets/numpy/numpy_func.py:307: RuntimeWarning: overflow encountered in exp
result_magnitude = func(*stripped_args, **stripped_kwargs)
tests/calc/test_calc_tools.py::test_find_intersections[all-expected0]
tests/calc/test_calc_tools.py::test_find_intersections[increasing-expected1]
tests/calc/test_calc_tools.py::test_find_intersections[decreasing-expected2]
tests/calc/test_calc_tools.py::test_find_intersections_no_intersections
tests/calc/test_calc_tools.py::test_find_intersections_intersections_in_data_at_ends[all-expected0]
tests/calc/test_calc_tools.py::test_find_intersections_intersections_in_data_at_ends[increasing-expected1]
tests/calc/test_calc_tools.py::test_find_intersections_intersections_in_data_at_ends[decreasing-expected2]
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/metpy/testing.py:156: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
desired_mask = getattr(desired, 'mask', np.full(np.asarray(desired).shape, False))
tests/calc/test_calc_tools.py: 9 warnings
tests/calc/test_indices.py: 17 warnings
tests/calc/test_kinematics.py: 6 warnings
tests/calc/test_thermo.py: 64 warnings
tests/interpolate/test_one_dimension.py: 3 warnings
tests/plots/test_skewt.py: 3 warnings
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/metpy/interpolate/one_dimension.py:112: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
final_shape = np.broadcast(xp, *args).shape
tests/calc/test_calc_tools.py::test_parse_angle_abbrieviated
tests/calc/test_calc_tools.py::test_parse_angle_ext
tests/calc/test_calc_tools.py::test_parse_angle_mix_multiple
tests/calc/test_calc_tools.py::test_parse_angle_mix_multiple_arr
tests/calc/test_calc_tools.py::test_parse_angles_array
tests/calc/test_calc_tools.py::test_parse_angles_series
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/pint/compat.py:58: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
return np.asarray(value)
tests/calc/test_calc_tools.py::test_parse_angle_invalid_arr
tests/calc/test_calc_tools.py::test_gradient_2d
tests/calc/test_calc_tools.py::test_gradient_4d
tests/calc/test_calc_tools.py::test_gradient_restricted_axes
tests/calc/test_calc_tools.py::test_3d_gradient_3d_data_no_axes
tests/calc/test_calc_tools.py::test_2d_gradient_4d_data_2_axes_3_deltas
tests/calc/test_calc_tools.py::test_2d_gradient_4d_data_2_axes_2_deltas
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/metpy/testing.py:155: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
actual_mask = getattr(actual, 'mask', np.full(np.asarray(actual).shape, False))
tests/calc/test_calc_tools.py: 11 warnings
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/pint/facets/numpy/quantity.py:249: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
self._magnitude[key] = value
tests/calc/test_calc_tools.py::test_angle_to_direction_invalid_scalar
tests/calc/test_calc_tools.py::test_angle_to_direction_invalid_arr
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/metpy/calc/tools.py:1852: RuntimeWarning: invalid value encountered in cast
normalizer = np.array(input_angle.m / MAX_DEGREE_ANGLE.m, dtype=int)
tests/calc/test_calc_tools.py::test_first_derivative_xarray_time_subsecond_precision
/home/runner/work/MetPy/MetPy/tests/calc/test_calc_tools.py:1104: UserWarning: Converting non-nanosecond precision datetime values to nanosecond precision. This behavior can eventually be relaxed in xarray, as it is an artifact from pandas which is now beginning to support non-nanosecond precision values. This warning is caused by passing non-nanosecond np.datetime64 or np.timedelta64 values to the DataArray or Variable constructor; it can be silenced by converting the values to nanosecond precision ahead of time.
test_da = xr.DataArray([299.5, 300, 300.5],
tests/calc/test_calc_tools.py::test_parse_grid_arguments_xarray[NAM_test.nc-False-False-False-False]
tests/calc/test_calc_tools.py::test_parse_grid_arguments_xarray[NAM_test.nc-False-False-False-True]
tests/calc/test_kinematics.py::test_vorticity_grid_pole
tests/plots/test_declarative.py::test_declarative_smooth_contour_calculation
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/metpy/xarray.py:460: UserWarning: Latitude and longitude computed on-demand, which may be an expensive operation. To avoid repeating this computation, assign these coordinates ahead of time with .metpy.assign_latitude_longitude().
warnings.warn(
tests/calc/test_calc_tools.py::test_parse_grid_arguments_missing_coords
tests/calc/test_kinematics.py::test_advection_1d_vertical
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/metpy/calc/tools.py:1050: UserWarning: Horizontal dimension numbers not found. Defaulting to (..., Y, X) order.
warnings.warn('Horizontal dimension numbers not found. Defaulting to '
tests/calc/test_cross_sections.py::test_distances_from_cross_section_given_xy
tests/calc/test_cross_sections.py::test_distances_from_cross_section_given_bad_coords
tests/calc/test_cross_sections.py::test_latitude_from_cross_section_given_y
tests/calc/test_cross_sections.py::test_unit_vectors_from_cross_section_given_xy
tests/calc/test_cross_sections.py::test_tangential_component
tests/calc/test_cross_sections.py::test_normal_component
tests/calc/test_cross_sections.py::test_absolute_momentum_given_xy
/home/runner/work/MetPy/MetPy/tests/calc/test_cross_sections.py:69: UserWarning: Converting non-nanosecond precision datetime values to nanosecond precision. This behavior can eventually be relaxed in xarray, as it is an artifact from pandas which is now beginning to support non-nanosecond precision values. This warning is caused by passing non-nanosecond np.datetime64 or np.timedelta64 values to the DataArray or Variable constructor; it can be silenced by converting the values to nanosecond precision ahead of time.
'time': xr.DataArray(
tests/calc/test_cross_sections.py: 14 warnings
tests/interpolate/test_slices.py: 2 warnings
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/scipy/interpolate/_rgi.py:418: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
term = np.asarray(self.values[edge_indices]) * weight[vslice]
tests/calc/test_indices.py::test_precipitable_water_xarray
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/xarray/core/indexes.py:172: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
index = pd.Index(np.asarray(array), **kwargs)
tests/calc/test_kinematics.py::test_advection_xarray
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/metpy/calc/tools.py:1064: UserWarning: Vertical dimension number not found. Defaulting to (..., Z, Y, X) order.
warnings.warn(
tests/calc/test_thermo.py::test_parcel_profile_with_lcl_as_dataset_duplicates
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/metpy/calc/thermo.py:1194: UserWarning: Duplicate pressure(s) [27.7] hPa provided. Output profile includes duplicate temperatures as a result.
warnings.warn(f'Duplicate pressure(s) {unique[counts > 1]:~P} provided. '
tests/interpolate/test_grid.py::test_interpolate_to_grid[boundary_coords0-natural_neighbor-None]
tests/interpolate/test_grid.py::test_interpolate_to_grid[boundary_coords0-natural_neighbor-mbar]
tests/interpolate/test_grid.py::test_interpolate_to_grid[None-natural_neighbor-None]
tests/interpolate/test_grid.py::test_interpolate_to_grid[None-natural_neighbor-mbar]
tests/interpolate/test_points.py::test_interpolate_to_points[natural_neighbor-None]
tests/interpolate/test_points.py::test_interpolate_to_points[natural_neighbor-mbar]
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/metpy/interpolate/points.py:156: DeprecationWarning: Please use `QhullError` from the `scipy.spatial` namespace, the `scipy.spatial.qhull` namespace is deprecated.
except (ZeroDivisionError, qhull.QhullError) as e:
tests/interpolate/test_slices.py::test_geodesic
tests/interpolate/test_slices.py::test_cross_section_dataarray_and_linear_interp
tests/interpolate/test_slices.py::test_cross_section_dataarray_projection_noop
/home/runner/work/MetPy/MetPy/tests/interpolate/test_slices.py:59: UserWarning: Converting non-nanosecond precision datetime values to nanosecond precision. This behavior can eventually be relaxed in xarray, as it is an artifact from pandas which is now beginning to support non-nanosecond precision values. This warning is caused by passing non-nanosecond np.datetime64 or np.timedelta64 values to the DataArray or Variable constructor; it can be silenced by converting the values to nanosecond precision ahead of time.
'time': xr.DataArray(
tests/io/test_gempak.py::test_standard_surface
/home/runner/work/MetPy/MetPy/tests/io/test_gempak.py:170: FutureWarning: The argument 'date_parser' is deprecated and will be removed in a future version. Please use 'date_format' instead, or read your data in as 'object' dtype and then call 'to_datetime'.
gempak = pd.read_csv(get_test_data('gem_std.csv'),
tests/io/test_gempak.py::test_ship_surface
/home/runner/work/MetPy/MetPy/tests/io/test_gempak.py:194: FutureWarning: The argument 'date_parser' is deprecated and will be removed in a future version. Please use 'date_format' instead, or read your data in as 'object' dtype and then call 'to_datetime'.
gempak = pd.read_csv(get_test_data('gem_ship.csv'),
tests/plots/test_cartopy_utils.py: 8 warnings
tests/plots/test_declarative.py: 1758 warnings
tests/plots/test_station_plot.py: 22 warnings
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/cartopy/crs.py:814: DeprecationWarning: The 'geom_factory' function is deprecated in Shapely 2.0, and will be removed in a future version
return cartopy.trace.project_linear(geometry, src_crs, self)
tests/plots/test_cartopy_utils.py: 365 warnings
tests/plots/test_declarative.py: 8013 warnings
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/cartopy/crs.py:827: DeprecationWarning: The 'geom_factory' function is deprecated in Shapely 2.0, and will be removed in a future version
multi_line_string = cartopy.trace.project_linear(linear_ring,
tests/plots/test_declarative.py::test_declarative_smooth_contour_calculation
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/scipy/ndimage/_interpolation.py:767: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
input = numpy.asarray(input)
tests/plots/test_declarative.py::test_declarative_barb_options
/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/cartopy/io/__init__.py:241: DownloadWarning: Downloading: https://naturalearth.s3.amazonaws.com/110m_physical/ne_110m_lakes.zip
warnings.warn(f'Downloading: {url}', DownloadWarning)
tests/plots/test_declarative.py::test_plotobs_units_with_formatter
/home/runner/work/MetPy/MetPy/tests/plots/test_declarative.py:1168: FutureWarning: The argument
The documentation build failed.
Log:
python override_check.py
Override check successful.
Running Sphinx v4.5.0
making output directory... done
[autosummary] generating autosummary for: api/index.rst, api/references.rst, devel/CONTRIBUTING.md, devel/index.rst, devel/infrastructureguide.rst, devel/roadmap.rst, index.rst, userguide/SUPPORT.md, userguide/apichange.rst, userguide/citing.rst, userguide/gempak.rst, userguide/index.rst, userguide/installguide.rst, userguide/media.rst, userguide/startingguide.rst, userguide/upgradeguide.rst
[autosummary] generating autosummary for: /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.calc.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.constants.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.interpolate.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.io.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.plots.ctables.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.plots.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.units.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.xarray.rst
[autosummary] generating autosummary for: /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.calc.absolute_momentum.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.calc.absolute_vorticity.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.calc.add_height_to_pressure.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.calc.add_pressure_to_height.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.calc.advection.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.calc.ageostrophic_wind.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.calc.altimeter_to_sea_level_pressure.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.calc.altimeter_to_station_pressure.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.calc.angle_to_direction.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.calc.apparent_temperature.rst, ..., /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.plots.read_colortable.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.plots.wx_code_to_numeric.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.units.check_units.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.units.concatenate.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.units.is_quantity.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.units.masked_array.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.units.pandas_dataframe_to_unit_arrays.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.units.process_units.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.units.setup_registry.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.xarray.grid_deltas_from_dataarray.rst
loading intersphinx inventory from https://scitools.org.uk/cartopy/docs/latest/objects.inv...
loading intersphinx inventory from https://matplotlib.org/stable/objects.inv...
loading intersphinx inventory from https://numpy.org/doc/stable/objects.inv...
loading intersphinx inventory from https://pandas.pydata.org/docs/objects.inv...
loading intersphinx inventory from https://pint.readthedocs.io/en/stable/objects.inv...
loading intersphinx inventory from https://pyproj4.github.io/pyproj/stable/objects.inv...
loading intersphinx inventory from https://docs.python.org/3/objects.inv...
loading intersphinx inventory from https://docs.scipy.org/doc/scipy/objects.inv...
loading intersphinx inventory from https://docs.xarray.dev/en/stable/objects.inv...
generating gallery...
Using Sphinx-Gallery to convert rst text blocks to markdown for .ipynb files.
generating gallery for examples... [ 14%] XArray_Projections.py
generating gallery for examples... [ 28%] sigma_to_pressure_interpolation.py
generating gallery for examples... [ 42%] Advanced_Sounding.py
generating gallery for examples... [ 57%] cross_section.py
generating gallery for examples... [ 71%] Four_Panel_Map.py
generating gallery for examples... [ 85%] isentropic_example.py
generating gallery for examples... [100%] meteogram_metpy.py
Warning, treated as error:
/home/runner/work/MetPy/MetPy/examples/meteogram_metpy.py failed to execute correctly: Traceback (most recent call last):
File "/home/runner/work/MetPy/MetPy/examples/meteogram_metpy.py", line 215, in
meteogram.plot_winds(data['wind_speed'], data['wind_direction'], data['wind_speed_max'])
File "/home/runner/work/MetPy/MetPy/examples/meteogram_metpy.py", line 75, in plot_winds
self.ax1.grid(b=True, which='major', axis='y', color='k', linestyle='--',
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/matplotlib/axes/_base.py", line 3198, in grid
self.yaxis.grid(visible, which=which, **kwargs)
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/matplotlib/axis.py", line 1655, in grid
self.set_tick_params(which='major', **gridkw)
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/matplotlib/axis.py", line 927, in set_tick_params
kwtrans = self._translate_tick_params(kwargs)
File "/opt/hostedtoolcache/Python/3.10.10/x64/lib/python3.10/site-packages/matplotlib/axis.py", line 1071, in _translate_tick_params
raise ValueError(
ValueError: keyword grid_b is not recognized; valid keywords are ['size', 'width', 'color', 'tickdir', 'pad', 'labelsize', 'labelcolor', 'zorder', 'gridOn', 'tick1On', 'tick2On', 'label1On', 'label2On', 'length', 'direction', 'left', 'bottom', 'right', 'top', 'labelleft', 'labelbottom', 'labelright', 'labeltop', 'labelrotation', 'grid_agg_filter', 'grid_alpha', 'grid_animated', 'grid_antialiased', 'grid_clip_box', 'grid_clip_on', 'grid_clip_path', 'grid_color', 'grid_dash_capstyle', 'grid_dash_joinstyle', 'grid_dashes', 'grid_data', 'grid_drawstyle', 'grid_figure', 'grid_fillstyle', 'grid_gapcolor', 'grid_gid', 'grid_in_layout', 'grid_label', 'grid_linestyle', 'grid_linewidth', 'grid_marker', 'grid_markeredgecolor', 'grid_markeredgewidth', 'grid_markerfacecolor', 'grid_markerfacecoloralt', 'grid_markersize', 'grid_markevery', 'grid_mouseover', 'grid_path_effects', 'grid_picker', 'grid_pickradius', 'grid_rasterized', 'grid_sketch_params', 'grid_snap', 'grid_solid_capstyle', 'grid_solid_joinstyle', 'grid_transform', 'grid_url', 'grid_visible', 'grid_xdata', 'grid_ydata', 'grid_zorder', 'grid_aa', 'grid_c', 'grid_ds', 'grid_ls', 'grid_lw', 'grid_mec', 'grid_mew', 'grid_mfc', 'grid_mfcalt', 'grid_ms']
make: *** [Makefile:33: html] Error 2
Looks like some legitimate failures caused by Matplotlib 3.7.0rc1. I'm currently working on getting packages for that up on conda-forge. conda-forge/matplotlib-feedstock#342
The Nightly workflow is failing. The tests failed. Log: