Learn R Programming

vapour (version 0.10.0)

vapour_geolocation: Retrieve geolocation information for a dataset

Description

Value is a named vector in a list.

Usage

vapour_geolocation(x, sds = NULL)

Value

list with a single character vector

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.

Examples

Run this code
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)
}

Run the code above in your browser using DataLab