Mathias Hauser

Results 96 issues of Mathias Hauser

I used ghdiff in an project of mine and it was very helpful! So I thought I could spend a bit of time to modernize it (update the build system,...

Consider calculating exact overlaps using shapely/ geopandas. I am opening a new issue because I now have a PR that will close #38. I was always of the opinion that...

- [x] Closes #225 - [x] Relevant for #304 - [ ] Tests added - [ ] Passes `isort . && black . && flake8` - [ ] Fully documented,...

- [x] Closes #447 - [ ] Tests added - [ ] Passes `isort . && black . && flake8` - [ ] Fully documented, including `whats-new.rst` This tries pip...

With the ongoing xarray index refactor we can now promote the "abbrevs" and "names" to indexes, which can then be selected directly (instead of needing to go via the numbers)....

enhancement
maintenance

In #318 I renamed the mask from `region` to `mask`- this was only a good idea for 3D mask. However, for 2D mask it does not make sense. Consider the...

`_OneRegion` is a data container for a single (Multi)Polygon and associated attributes. https://github.com/regionmask/regionmask/blob/ff5d5c5a340e5e9c6e1d1dde3f5294d34e70ed55/regionmask/core/regions.py#L538 After #478 and once #277 is done, there is not much reason to keep it around (the...

maintenance

Dropping pygeos and shapely 1.8 will allow considerable internal cleanups - looking forward to this. Upstream packages may move faster here (e.g. geopandas) but I'll probably wait until it's "allowed...

maintenance
dependencies

Not that it means anything but regionmask is close and it should be feasible...

maintenance

avoid using internal xarray method: https://github.com/regionmask/regionmask/blob/a89f6ba7651c5fc8788d3fa6b78b1dfe5efb25ee/regionmask/core/mask.py#L525 I should get some warning now that there are upstream tests, but the NamedArray project will restructure xarray internals so better to be sure....