opendatacube / odc-geo

GeoBox and geometry utilities extracted from datacube-core
https://odc-geo.readthedocs.io/en/latest/
Apache License 2.0
83 stars 15 forks source link

Fail in passing kwargs into gdal in reproject with dask #89

Closed emmaai closed 1 year ago

emmaai commented 1 year ago

Issue: _dask_rio_reproject stopped passing **kwargs into rasterio.warp and hence gdal, which would cause problem when extra options required for gdal to be working as expected, specially the transform path between lat/lon (epsg:4326) and Australian Albers (epsg:3577). Since GDA2020 was introduced, the transform path is not unique and the default option has been changing arbitrarily when upgrade on either proj or gdal happened.

Expected behaviour: Be able to pass **kwargs into rasterio.warp

Kirill888 commented 1 year ago

Also resampling= argument gets lost