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
=================================== FAILURES ===================================
____________________________ test_skewt_tight_bbox _____________________________
Error: Image dimensions did not match.
Expected shape: (742, 832)
/home/runner/work/MetPy/MetPy/test_output/test_skewt.test_skewt_tight_bbox/baseline.png
Actual shape: (742, 1139)
/home/runner/work/MetPy/MetPy/test_output/test_skewt.test_skewt_tight_bbox/result.png
=============================== warnings summary ===============================
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.6/x64/lib/python3.10/site-packages/numpy/testing/_private/utils.py:706: 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.6/x64/lib/python3.10/site-packages/numpy/testing/_private/utils.py:707: 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.6/x64/lib/python3.10/site-packages/xarray/core/variable.py:264: 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.6/x64/lib/python3.10/site-packages/metpy/xarray.py:1227: 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.6/x64/lib/python3.10/site-packages/metpy/xarray.py:1227: UserWarning: Argument a given as xarray Variable...casting to its data. xarray DataArrays are recommended instead.
warnings.warn(
tests/calc/test_basic.py: 20 warnings
/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/numpy/ma/core.py:2826: 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.6/x64/lib/python3.10/site-packages/numpy/ma/core.py:709: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
data = np.array(a, copy=False, subok=subok)
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.6/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::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.6/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.6/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.6/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_cross_sections.py: 14 warnings
tests/interpolate/test_slices.py: 2 warnings
/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/scipy/interpolate/_rgi.py:358: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
values += np.asarray(self.values[edge_indices]) * weight[vslice]
tests/calc/test_indices.py::test_precipitable_water_xarray
/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/xarray/core/utils.py:139: 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.6/x64/lib/python3.10/site-packages/metpy/xarray.py:1489: 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.6/x64/lib/python3.10/site-packages/metpy/calc/thermo.py:1091: 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.6/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/io/test_metar.py: 7 warnings
tests/plots/test_declarative.py: 3 warnings
/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/metpy/io/metar.py:448: FutureWarning: The 'inplace' keyword in DataFrame.set_index is deprecated and will be removed in a future version. Use df = df.set_index(..., copy=False) instead.
df.set_index('station_id', inplace=True, drop=False)
tests/plots/test_declarative.py::test_declarative_smooth_contour_calculation
/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/scipy/ndimage/_interpolation.py:764: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
input = numpy.asarray(input)
tests/plots/test_declarative.py::test_plotobs_units_with_formatter
/home/runner/work/MetPy/MetPy/tests/plots/test_declarative.py:1140: UserWarning: Pandas doesn't allow columns to be created via a new attribute name - see https://pandas.pydata.org/pandas-docs/stable/indexing.html#attribute-access
df.units = {'alti': 'inHg'}
tests/plots/test_declarative.py::test_declarative_upa_obs_convert_barb_units
tests/plots/test_declarative.py::test_declarative_upa_obs_convert_barb_units
tests/plots/test_station_plot.py::test_barb_projection_list
tests/plots/test_station_plot.py::test_arrow_projection_list
tests/plots/test_station_plot.py::test_barb_unit_conversion
tests/plots/test_station_plot.py::test_arrow_unit_conversion
tests/plots/test_station_plot.py::test_barb_no_default_unit_conversion
/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/metpy/plots/station_plot.py:340: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
u = np.array(u)
tests/plots/test_declarative.py::test_declarative_upa_obs_convert_barb_units
tests/plots/test_declarative.py::test_declarative_upa_obs_convert_barb_units
tests/plots/test_station_plot.py::test_barb_projection_list
tests/plots/test_station_plot.py::test_arrow_projection_list
tests/plots/test_station_plot.py::test_barb_unit_conversion
tests/plots/test_station_plot.py::test_arrow_unit_conversion
tests/plots/test_station_plot.py::test_barb_no_default_unit_conversion
/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/metpy/plots/station_plot.py:341: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
v = np.array(v)
tests/plots/test_declarative.py::test_declarative_plot_geometry_polygons
tests/plots/test_declarative.py::test_declarative_plot_geometry_lines
/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/metpy/plots/declarative.py:2189: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the geoms property to access the constituent parts of a multi-part geometry.
geo_obj = max(geo_obj, key=lambda x: x.length)
tests/plots/test_declarative.py::test_declarative_plot_geometry_points
/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/metpy/plots/declarative.py:2268: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the geoms property to access the constituent parts of a multi-part geometry.
for point in geo_obj:
tests/plots/test_declarative.py::test_declarative_plot_geometry_points
/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/metpy/plots/declarative.py:2191: ShapelyDeprecationWarning: len for multi-part geometries is deprecated and will be removed in Shapely 2.0. Check the length of the geoms property instead to get the number of parts of a multi-part geometry.
geo_obj = geo_obj[label_hash % len(geo_obj)]
tests/plots/test_declarative.py::test_declarative_plot_geometry_points
/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/metpy/plots/declarative.py:2191: ShapelyDeprecationWarning: getitem for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the geoms property to access the constituent parts of a multi-part geometry.
geo_obj = geo_obj[label_hash % len(geo_obj)]
tests/plots/test_skewt.py::test_skewt_api_units
tests/plots/test_skewt.py::test_skewt_barb_unit_conversion
tests/plots/test_skewt.py::test_skewt_barb_no_default_unit_conversion
/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/numpy/ma/core.py:2358: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.
a = np.array(a, copy=copy, subok=True)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/plots/test_skewt.py::test_skewt_tight_bbox
===== 1 failed, 1367 passed, 1 xfailed, 147 warnings in 412.24s (0:06:52) ======
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.ctables.convert_gempak_table.rst, /home/runner/work/MetPy/MetPy/docs/api/generated/metpy.plots.ctables.read_colortable.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.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.xarray.grid_deltas_from_dataarray.rst
loading intersphinx inventory from https://pint.readthedocs.io/en/stable/objects.inv...
loading intersphinx inventory from https://matplotlib.org/stable/objects.inv...
loading intersphinx inventory from https://docs.python.org/3/objects.inv...
loading intersphinx inventory from https://numpy.org/doc/stable/objects.inv...
loading intersphinx inventory from https://docs.scipy.org/doc/scipy/reference/objects.inv...
loading intersphinx inventory from https://docs.xarray.dev/en/stable/objects.inv...
intersphinx inventory has moved: https://docs.scipy.org/doc/scipy/reference/objects.inv -> https://docs.scipy.org/doc/scipy/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
generating gallery for examples/calculations... [ 20%] Parse_Angles.py
generating gallery for examples/calculations... [ 40%] Dewpoint_and_Mixing_Ratio.py
generating gallery for examples/calculations... [ 60%] Angle_to_Direction.py
generating gallery for examples/calculations... [ 80%] Gradient.py
generating gallery for examples/calculations... [100%] Smoothing.py
generating gallery for examples/formats... [ 33%] GINI_Water_Vapor.py
generating gallery for examples/formats... [ 66%] NEXRAD_Level_3_File.py
generating gallery for examples/formats... [100%] NEXRAD_Level_2_File.py
generating gallery for examples/gridding... [ 20%] Find_Natural_Neighbors_Verification.py
generating gallery for examples/gridding... [ 40%] Wind_SLP_Interpolation.py
generating gallery for examples/gridding... [ 60%] Point_Interpolation.py
generating gallery for examples/gridding... [ 80%] Inverse_Distance_Verification.py
generating gallery for examples/gridding... [100%] Natural_Neighbor_Verification.py
generating gallery for examples/plots... [ 7%] Simplified_Image_Plot.py
generating gallery for examples/plots... [ 14%] US_Counties.py
generating gallery for examples/plots... [ 21%] raster_declarative.py
generating gallery for examples/plots... [ 28%] spc_convective_outlook.py
generating gallery for examples/plots... [ 35%] Combined_plotting.py
generating gallery for examples/plots... [ 42%] surface_declarative.py
generating gallery for examples/plots... [ 50%] upperair_declarative.py
generating gallery for examples/plots... [ 57%] nhc_wind_probabilities.py
generating gallery for examples/plots... [ 64%] Skew-T_Layout.py
generating gallery for examples/plots... [ 71%] Hodograph_Inset.py
generating gallery for examples/plots... [ 78%] Simple_Sounding.py
generating gallery for examples/plots... [ 85%] Mesonet_Stationplot.py
generating gallery for examples/plots... [ 92%] Station_Plot.py
generating gallery for examples/plots... [100%] Station_Plot_with_Layout.py
generating gallery for tutorials... [ 25%] unit_tutorial.py
generating gallery for tutorials... [ 50%] upperair_soundings.py
generating gallery for tutorials... [ 75%] xarray_tutorial.py
generating gallery for tutorials... [100%] declarative_tutorial.py
The Nightly workflow is failing.
The tests failed.
Log:
Log:
Linkchecker output:
The text was updated successfully, but these errors were encountered: