We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
copy
cc @benbovy
xref #7730
import numpy as np import xarray as xr arr = np.random.randn(10, 10, 365*30) time = xr.date_range("2000", periods=30*365, calendar="noleap") da = xr.DataArray(arr, dims=("y", "x", "time"), coords={"time": time}) year = da["time.year"]
xr.align(da, year, join="outer", copy=False)
This should result in no copies, but does
I think we need to check aligner.copy and/or aligner.reindex (maybe?) before copying here
aligner.copy
aligner.reindex
xarray/xarray/core/dataset.py
Lines 2805 to 2818 in f8127fc
No response
The text was updated successfully, but these errors were encountered:
@dcherian is it solved by #7736?
Sorry, something went wrong.
I think I fixed it only for exact joins
No branches or pull requests
Is your feature request related to a problem?
cc @benbovy
xref #7730
This should result in no copies, but does
Describe the solution you'd like
I think we need to check
aligner.copy
and/oraligner.reindex
(maybe?) before copying herexarray/xarray/core/dataset.py
Lines 2805 to 2818 in f8127fc
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: