Hi, i try to export data from files .he5 for Tif.
At the end of the process I get an error: In .gd_SetProject(object, ...) : NOT UPDATED FOR PROJ >= 6
I use the
library (sp)
library (raster)
library (gdalUtils)
the scrip I use is this:
file <- "OMUVBd_20110929.he5"
sds <- get_subdatasets(file)
r <- raster(sds[9])
extent(r) <- c(-180, 180,-90,90)
crs(r) <- "+proj=longlat +datum=WGS84"
r <- flip(r, direction='y')
writeRaster(r, "example.tif")
Appreciate very much who can help!