Commit 3f5d866
Fix DataArray validation for upstream compatibility
- Skip coord validation for DataArray inputs in arithmetic contexts
(allow_extra_dims=True) to preserve xarray's native alignment
- Add allow_extra_dims=True to comparison operator and quadratic dot
as_dataarray calls for consistent broadcasting
- Handle MultiIndex levels in expand_dims guard
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent be93663 commit 3f5d866
2 files changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
175 | 178 | | |
176 | 179 | | |
177 | 180 | | |
| |||
240 | 243 | | |
241 | 244 | | |
242 | 245 | | |
243 | | - | |
244 | 246 | | |
245 | 247 | | |
246 | 248 | | |
| |||
341 | 343 | | |
342 | 344 | | |
343 | 345 | | |
344 | | - | |
| 346 | + | |
345 | 347 | | |
346 | 348 | | |
347 | 349 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1146 | 1146 | | |
1147 | 1147 | | |
1148 | 1148 | | |
1149 | | - | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
1150 | 1152 | | |
1151 | 1153 | | |
1152 | 1154 | | |
| |||
2197 | 2199 | | |
2198 | 2200 | | |
2199 | 2201 | | |
2200 | | - | |
| 2202 | + | |
| 2203 | + | |
| 2204 | + | |
2201 | 2205 | | |
2202 | 2206 | | |
2203 | 2207 | | |
| |||
0 commit comments