Benoit Bovy
Benoit Bovy
Not really a generic and parallel execution back-end, but [Open-EO](https://openeo.org/) looks like an interesting use case too (it is a framework for managing remote execution of processing tasks on multiple...
Somewhat related to this issue, I have implemented in xarray-simlab some logic to validate `xarray.Variable` objects (dimensions, dtype, etc.). See [this base class](https://github.com/benbovy/xarray-simlab/blob/master/xsimlab/variable/base.py#L35) and some sub-classes [here](https://github.com/benbovy/xarray-simlab/blob/master/xsimlab/variable/custom.py). I use that...
@maxim-lian you're right. In this case `xsimlab.Variable` is a different concept than `xarray.Variable`, despite that they both have the same name. The former is tight to the modelling framework while...
Hi @v-liuwei, thanks for the report. The issues that your are pointing are part of #6293. There has been many internal changes (+ some subtle public-facing changes) regarding indexes in...
Yes, performing selection using coordinate labels (i.e., `.sel()`) is only possible for coordinates that have an index. It has always been the case and it will always be. Before v2022.6.0,...
> This turns up in staggered grid calculations with xgcm where it is easy to mistakenly construct very high-dimensional arrays because of automatic broadcasting. Do you have an example that...
Ah ok I see, thanks! Yes I agree this may be useful.
Hi @covertg, as soon as there is public API for setting non-dimension or custom indexes it should be ready. See #6849, which is actually already implemented in the `scipy22` branch...
With the last release v2022.09.0, this is now possible via `.set_xindex()`: ```python a = a.set_xindex("currency") a.sel(currency="EUR") # # array([20, 30]) # Coordinates: # * country (country)
> In any case I just updated and tried without doing anything new and it didn't work Yes it is not yet implemented, still on the todo list (see 2nd...