Mathias Hauser

Results 218 comments of Mathias Hauser

`mask_3d` has the option `drop=False` so you will end up with a mask with shape `(177, 180, 360)`. However, this may not be what you want - the 4 additional...

Hi Folmer, I am not opposed to it but that will introduce some complications. 1. `all_touched` will only work for `rasterize` (not when using shapely (i.e. for irregular grids) -...

Just to mention - you can currently achieve this manually: ```python regions = regionmask.defined_regions.srex regionmask.core.mask._mask_rasterize( lon, lat, regions.polygons, regions.numbers, all_touched=True, as_3D=True ) ``` (but this skips some tests, e.g. the...

Updated two of my comments to be up-to-date with regionmask v0.9.

Of course even better would be a automatic solution but that is generally super hard...

This is now easy with the new `from_geopandas` method.

FYI: - I recently merged a PR with overlapping regions (#282): we just added some warnings [see (docs)](https://regionmask.readthedocs.io/en/latest/defined_scientific.html#prudence-regions). - I might also do #265 before the next release (probably not...

Good question. If you are patient you can wait until #228 is implemented. (I don't have a timeline for this but would like to do it as one of the...

I started working on #228 (#318) we can merge this afterwards. Can you answer the inline comments and confirm that NAO, AO and PNA have the same coords? I can...

Gentle ping @ahuang11