Convert NetCDF to COG modifies the Corner Coordinates #272
-
Hi, I am using rio-cogeo to translate a netcdf file to COG. I am working with global maps of ERA5 products, which have the following bounds: -180.0, 90.0, 179.75, -90.0 When I convert the data to COG, the Corner Coordinates I see inspecting the file (
Why is the origin in (-180.125, 90.125) and bounding box (-180.125, -90.125, 179.875, 90.125)? Any help would be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
@TheRed86 can you run |
Beta Was this translation helpful? Give feedback.
👀
The way rio-xarray / xarray and gdal calculate the bounds is slightly different corteva/rioxarray#645