Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdal.warp clipping the extent of a raster #1437

Open
mluck opened this issue Feb 21, 2025 · 0 comments
Open

gdal.warp clipping the extent of a raster #1437

mluck opened this issue Feb 21, 2025 · 0 comments

Comments

@mluck
Copy link
Contributor

mluck commented Feb 21, 2025

When replacing rasterio with gdal, gdal.warp() seems to be producing a raster that is clipped on one of the edges. I've tried a number of parameters including outputBounds with no success.

For example, comparing the previous BLE benchmark inundation raster for 12040101 (left) with the new raw BLE depth raster (middle) and the GDAL transformed (using gdal.warp() overlaid on the first image) shows that the bottom of the grayscale image is missing ((right).
Image

This issue might be ignored. It will mean that create_ble_benchmark.py will import both rasterio and gdal, but there do not appear to be any conflicts and this is a seldom-used script that doesn't impact FIM pipeline at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant