f <- system.file("extdata/gdal", "sds.nc", package = "vapour")
## protect from error with netcdf problems
result <- try(vapour_sds_names(f), silent = TRUE)
if (!inherits(result, "try-error")) {
print(result)
}
vapour_sds_names(system.file("extdata", "sst.tif", package = "vapour"))
Run the code above in your browser using DataLab