Mathias Hauser

Results 175 comments of Mathias Hauser

I add an example to construct the EUR-28 regions this is done outside of regionmask. ```python import regionmask from cartopy.io import shapereader import geopandas from shapely.geometry import box # read...

regionmask cannot aggregate Polygons - the only way would be to combine the mask e.g. ```python da.where(mask == 2 | mask == 3) ``` thus depends a bit on what...

basemap does not wrap around gracefully (e.g. https://github.com/matplotlib/basemap/issues/410)

Yes, this is currently not possible. There is a draft/ proof of concept of this in #87 but I haven't followed up on this since.

I am happy to include them, if allowed by the copyright. For regionmask I need the outline of the regions - do you have a shapefile of the regions somewhere?...

Maybe it is fine to combine all shapes with the same `val` to a `MultiPolygon`. ``` python f, ax = plt.subplots() x = 0 for coord, val in res: if...

There is a PR (#94) to add them. However, there are a lot of duplicate names & I am not so sure what to do about those - so the...

Dear @pablosebastiasaez, thank you very much for your interest and the contribution. I fear that we will not be able to use your contribution as is (it's too big, not...

I don't think I will ever include something like this but let's add this here for reference: ```python import geopandas as gp import pandas as pd import regionmask import shapely...

One thing that was stopping me from doing this was that I allow mixed indexing, i.e. `region[[2, "AK", "Kentucky"]]` - turns out I just don't know pandas well enough as...