vapour_geolocation: Retrieve geolocation information for a dataset

View source: R/raster-info.R

vapour_geolocationR Documentation

Retrieve geolocation information for a dataset

Description

Value is a named vector in a list.

Usage

vapour_geolocation(x, sds = NULL)

Arguments

x

data source string (i.e. file name or URL or database connection string)

sds

a subdataset number, if necessary

Details

If no geolocation exist the return value is an empty list.

Value

list with a single character vector

Examples

drivers <- vapour_all_drivers()
ok <- drivers$raster[ drivers$driver == "netCDF"]
if (isTRUE(ok)) {
 vapour_geolocation(system.file("extdata/gdal/geos_rad.nc", package = "vapour"), 0L)
}

vapour documentation built on June 22, 2024, 10:01 a.m.