brick_nc: Converts a NetCDF file to a RasterBrick

View source: R/new_functions.R

brick_ncR Documentation

Converts a NetCDF file to a RasterBrick

Description

Takes NetCDF files from the Climatology Lab and converts them into a RasterBrick object

Usage

brick_nc(file, layername = NULL)

Arguments

file

a path to a NetCDF (ext = .nc) file

layername

a string indicating the name of the layer if different from the filename

Value

a RasterBrick object


elizagrames/climetric documentation built on Nov. 1, 2022, 6:26 a.m.