get_vari: Extract variables from NetCDF file

Description Usage Arguments Value

View source: R/get_vari.R

Description

Extracts a selected parameter from the netCDF file and formats it into a dataframe.

Usage

1
get_vari(ncdf, var, print = T)

Arguments

ncdf

filepath; Name of the netCDF file to extract variable

var

character; Name of the variable to be extracted. Must match short name in netCDF file

print

logical; Print the name and units of the variable extracted, defaults to TRUE

Value

dataframe in the same format as the observation file with the surface in the top column and the bottom in the last column.


tadhg-moore/gotmtools documentation built on Oct. 9, 2019, 2:48 p.m.