Closed
Description
Is your feature request related to a problem?
I've been using DataArrayWeighted
and DatasetWeighted
for typing purposes. A recent refactor moved these objects from xarray.core.weighted
to xarray.computation.weighted
, which broke my downstream code. Technically, I guess this is not a breaking change, but those classes are exposed in the documentation (e.g., DataArrayWeighted)
Would it be possible to import these objects at the top level in __init__.py
? If not, what would you recommend for downstream packages? Should they just avoid relying on these classes?
Describe the solution you'd like
from xarray import DataArrayWeighted, DatasetWeighted
Describe alternatives you've considered
No response
Additional context
No response