Alan D. Snow

Results 441 comments of Alan D. Snow

Found a better way - just attach the context manager to each object that uses it. Then, once all references to the object are removed, it deletes the context. This...

https://github.com/cython/cython/issues/4310#issuecomment-1245862843 > The current situation is something like "Cython core developers don't like this feature and would like to replace it with a better alternative". It's a statement of intent...

With pyproj installed the man pages look correct ` man ./pyproj.1`: ``` PYPROJ(1) pyproj PYPROJ(1) NAME pyproj - pyproj CLI pyproj version: 3.4.1.dev0 [PROJ version: 9.1.0] usage: pyproj [-h] [-v]...

> I guess, are which "conventions" to use for representing those geometries within the xarray data model, and what are the advantages of using xarray instead of, e.g., geopandas for...

Note: This requires Python 3.7+ and xarray 0.17+

The only change is to store `grid_mapping` in encoding instead of attrs. ```python rds.encoding["grid_mapping"] = "spatial_ref" ```

This PR is how rioxarray handled it: https://github.com/corteva/rioxarray/pull/284