I am trying to work with cordex climatic data (curvelinear and rotated data) in the stars package, and I am having a lot of issues, so decided to simply reproduce online example, and I fail reading in data with the command read_stars.
I am trying reproduce in this post https://github.com/r-spatial/stars/issues/52#issuecomment-430753055 by using the provided data here https://github.com/r-spatial/stars/issues/52#issuecomment-430548580
library(stars)
f = "1-RawData/example_ob_tran.nc" #path to the downloaded file
(r = read_stars(f))
When I do this I am getting
Error in CPL_read_gdal(as.character(x), as.character(options), as.character(driver), : file not found
while the file the following command works
(r = read_ncdf(f))
suggesting that the file exist.
This seems very basic, but I am unable to sort this myself. Does anyone see what I am doing wrong?