Re: [R-sig-Geo] NASA's Black Marble monthly data: Reprojection isn't accurate

2023-09-10 Thread Barry Rowlingson
My gdal 3.4.1 doesn't get the extent. I answered this (badly) on gis.stackexchange - its a 10degree tile where the origin is related to the h and v elements of the path (and also stored as attributes in the netcdf structure). I think I messed up the vertical offset, which was because I only

Re: [R-sig-Geo] NASA's Black Marble monthly data: Reprojection isn't accurate

2023-09-09 Thread Michael Sumner
The extent of this one is 70, 80, 10, 20 Later versions of GDAL determine this automatically (I'm not sure when) rast("VNP46A3.A2018091.h25v07.001.2021125122857.h5") class : SpatRaster dimensions : 2400, 2400, 26 (nrow, ncol, nlyr) resolution : 0.00417, 0.00417 (x, y) extent