Justus Magin

Results 244 comments of Justus Magin

> Are there lazy array implementations other than dask in xarray? No, sorry, I mistyped. What I was referring to is the lazy loading mechanism that will load the data...

note that the implementation of `compute` is currently: ```python def compute(self, **kwargs): new = self.copy(deep=False) return new.load(**kwargs) ``` which means that the inplace vs. "pure function" is literally the only...

I'm not sure about this, but I think the reason is that we're using `bottleneck` to speed up the computation, which returns a python `float` object for scalars. To be...

> What does this mean? You can't have units in a IndexVariable? yes, we had that discussion from https://github.com/pydata/xarray/issues/525#issuecomment-514452182 on. Short version: `pd.Index` converts using `np.asarray` and support for units...

I think issues related to `DataArray` + `pint` should be in #3643, for everything else you can use this issue or new issues / pull requests. If you want to,...

so, except from the major issues mentioned above which we won't be able to fix in the near future (but there will probably be workarounds in `pint-xarray`) we only have...

#6873 might fix the `nanprod` issue, and we have a separate issue for the last big change left (#3950, which is not really limited to quantities) so I agree that...

~can you try if setting `keep_attrs=True` helps?~ That's wrong, I can reproduce the side-effects. Not sure where that's coming from, though. And interestingly, only the first operand is mutated, `da_withoutunits...

bisecting tells me this is a regression introduced by #6389. Looking at the code, this happens because copying the variables with `variables.copy()` makes a shallow copy of the dictionary (and...

Not sure, but maybe `cupy.round` is not supposed to be called on anything other than `cupy` (or `numpy.ndarray`)? If I understand correctly, it is converting everything to `cupy` (or `numpy`)...