Alan D. Snow

Results 545 comments of Alan D. Snow

From https://github.com/OSGeo/gdal/issues/1620#issuecomment-499453424 > When using a non-nearest resampling kernel, the resampler must take into account the ratio of number_of_target_pixels / number_of_souce_pixels to appropriately take into account the weight of source...

This would be a good home for it: https://github.com/pyproj4/pyproj/blob/main/pyproj/database.pyx

I tried to re-produce the error and couldn't with https://github.com/pyproj4/pyproj/compare/main...snowman2:pyproj:docker . To debug, I suggest modifying the CI tests to specifically run the test that fails and trying these configurations:...

Also, it may not hurt to rebase this PR against the latest version.

I see this error: ``` The workflow is not valid. .github/workflows/tests.yaml (Line: 127, Col: 17): Unexpected value '' ```

I was able to re-produce this with PROJ 9.3 (both docker & conda envs) and I did not encounter any errors with PROJ 9.4 on the docker image (https://github.com/pyproj4/pyproj/pull/1390#issuecomment-2065691985): ```...

I missed your question about why the compiling error. It requires cython 3+. Can you verify that you are using cython 3+?

Closing due to no response. Feel free to comment of you tried the suggestion above.

Difference from #38 released in v0.1.2. Specifically this commit [16714c29](https://github.com/opendatacube/odc-geo/commit/16714c29aa88402eea93aae0565929688fe27338) according to git bisect: ``` commit 16714c29aa88402eea93aae0565929688fe27338 Author: Kirill Kouzoubov Date: Fri Apr 22 20:59:55 2022 +1000 Replace alignment with...

```python from odc.geo.math import snap_grid bbox = geom.to_crs(dst_crs).boundingbox tol = 0.01 offx, nx = snap_grid(bbox.left, bbox.right, rx, None, tol=tol) offy, ny = snap_grid(bbox.bottom, bbox.top, ry, None, tol=tol) (ny, nx), (offx,...