nc_to_raster: Reads a netCDF file and returns a raster

View source: R/nc_to_raster.R

nc_to_rasterR Documentation

Reads a netCDF file and returns a raster

Description

Reads a netCDF file and returns a raster

Usage

nc_to_raster(filepath, bbox = c(-15, 10, 45, 62))

Arguments

filepath

A character string for the filename

bbox

(optional) A vector in the format Xmin, Xmax, Ymin, Ymax for plotting.

Value

A raster object

Examples

r <- nc_to_raster(filepath="/ncdata.ncf",bbox=c(-15,10,45,62))


HiDef-Aerial-Surveying/HDsst documentation built on March 10, 2023, 10:33 a.m.