Alan D. Snow
Alan D. Snow
This is definitely an interesting use case. I am curious why you need to use `windowed=True`. Does the default method use too much memory? I think in your scenario, being...
Thanks for the update, your reasoning makes sense. I could be wrong, but don't think that the COG driver works for windowed #410. For writing multiple files, #433 is relevant....
> im guessing the cog overview creation is only triggered when the file is first populated not on subsequent modification when opened as r+ https://gdal.org/drivers/raster/cog.html I am wondering if it...
That makes sense to me as a solution for writing dask chunks to disk when processing using multiple machines that don't share the same file system. I think this would...
Here are some helpful references for updating your CRS documentation: - https://pyproj4.github.io/pyproj/stable/examples.html#using-crs - https://rasterio.readthedocs.io/en/latest/api/rasterio.crs.html - https://proj.org/faq.html#what-is-the-best-format-for-describing-coordinate-reference-systems - https://geopandas.readthedocs.io/en/latest/docs/user_guide/projections.html
This is currently how xarray handles the optional dask dependency as well: - [xarray/backends/rasterio_.py](https://github.com/pydata/xarray/blob/f9a535c130615fe81379d785dffcc6c814fc1126/xarray/backends/rasterio_.py#L383) - [xarray/backends/api.py](https://github.com/pydata/xarray/blob/f9a535c130615fe81379d785dffcc6c814fc1126/xarray/backends/api.py#L280) It would be good to keep this consistent. What do you propose?
Sounds like a good idea. A MR adding support for dask-geopandas is welcome.
> I'm wondering whether there's anything formally within rioxarray to deal with this. Unfortunately, we don't currently support that as far as I am aware. Side note, I would recommend...
Sounds useful. I have had to do this I in the past. Here it is for reference: https://github.com/snowman2/pangaea/blob/a304e9a489cfc0bc1c74e7cb50c3335a4f3d596f/pangaea/xlsm.py#L297-L298 If you would like to submit a PR, I think it would...
I have seen other issues where this would be useful: - https://gis.stackexchange.com/questions/357246/clip-global-data-by-polygon-using-rioxarray-fails-off-by-180-longitude - https://gis.stackexchange.com/questions/37790/how-to-reproject-raster-from-0-360-to-180-180-with-cutting-180-meridian - https://gis.stackexchange.com/questions/348172/changing-projection-from-0-360-to-180-180-for-a-simple-raster