Benoit Bovy

Results 452 comments of Benoit Bovy

👍 thanks for the reviews @jorisvandenbossche !

In #51 both closing vs. non-closing are supported, although this is fragile as it relies on strict equality of the 1st and last computed vertices (S2Point). We'll certainly need to...

> I also assume that it will require numpy>=2? Not sure about that, the commit I linked above is from 6 years ago. I also don't really know whether there...

Thanks for the feedback @mdsumner. Yes the idea is to have something very generic in Xarray such that we can build domain-specific applications on top of it. It is very...

For completeness, here is an implementation of the 1-dimensional "range index" discussed in https://github.com/pydata/xarray/discussions/8955. The coordinate transform subclass: ```python class Range1DCoordinateTransform(xr.CoordinateTransform): """Simple bounded interval 1-d coordinate transform.""" left: float right:...

Thanks for the feedback @astrofrog! I'll look into the `__repr__` issue. Could you provide a minimal reproducible example or a link where I can download the FITS file used in...

Ah thanks. The `__repr__` issue should now be fixed in [09667c5](https://github.com/pydata/xarray/pull/9543/commits/09667c5da4e2de2f1db6896e3acce0205e3608e3).

> both approaches could be replaced with only a single CoordinateTransform with some refactoring. Hmm do you have an idea on how this refactoring would look like? I've tried implementing...

> My use case for this is I'd like to avoid reprojection and have a single xarray.DataArray representing rasters spread over global extents. And I'd like to be able to...