regionmask icon indicating copy to clipboard operation
regionmask copied to clipboard

create masks of geospatial regions for arbitrary grids

Results 78 regionmask issues
Sort by recently updated
recently updated
newest added

See figure: ![offset_test](https://user-images.githubusercontent.com/10194086/127169404-a8c59f13-4c71-4fe4-bad8-1923d6843ac8.png) The API would probably be something along the lines ```python ar6.plot(offsets={"MDG": (-0.75, 0), ...}) ``` (and _not_ how it's shown below). Difficulty: what to do about `label_multipolygon="all"`...

plot

- [x] Tests added - [x] Passes `isort . && black . && flake8` - [ ] Fully documented, including `whats-new.rst` WIP for compatibility with shapely 2 that is merged...

Currently - if the coordinates are not named `"lat"` and `"lon"` we need to pass them manually, e.g.: ```python import regionmask import xarray as xr rasm = xr.tutorial.load_dataset("rasm") regionmask.defined_regions.srex.mask(rasm.xc, rasm.yc)...

enhancement
mask
API design
dependencies

If the coords are named `"lon"` and `"lat"` we can do the following: ```python region.mask(ds) ``` If they are named `"longitude"` and `"latitude"` we have two possibilities: ```python region.mask(ds, lon_name="longitude",...

API design

- [x] Closes #346 - [x] Tests added - [x] Passes `isort . && black . && flake8` - [x] Fully documented, including `whats-new.rst` A WIP to add cf-compliant flags....

See top left corner of the regions. Definitely not terrible but could be better ;-) ![image](https://user-images.githubusercontent.com/10194086/151347379-c5e29f4f-22a6-4b32-bbe9-c4dccbae37aa.png)

Is done by the general stack by now. Only after ~0.9~ 0.10 I'd say.

Selecting the `method` in `mask` does not actually change what's happening - both `"rasterize"` and `"shapely"` lead to the same mask - so `method` is actually misleading, `backend` would be...

doc
mask
API design

Not sure if necessary - maybe do #356 first to see the differences.

Natural earth data is more active (which is good) but this raises the question if there are differences between the versions that are relevant for regionmask? I should write a...