Skip to content

Commit 8fe305c

Browse files
avalentinounidata-pr-helper[bot]
authored andcommitted
Silence FututreWarning raised by xarray v2025.08.0
See pydata/xarray@d237a71. Closes: #3870 (cherry picked from commit 4629573)
1 parent 5553734 commit 8fe305c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/metpy/xarray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ def parse_cf(self, varname=None, coordinates=None):
810810
if np.iterable(varname) and not isinstance(varname, str):
811811
# If non-string iterable is given, apply recursively across the varnames
812812
subset = xr.merge([self.parse_cf(single_varname, coordinates=coordinates)
813-
for single_varname in varname])
813+
for single_varname in varname], compat='no_conflicts')
814814
subset.attrs = self._dataset.attrs
815815
return subset
816816

0 commit comments

Comments
 (0)