nc_dir: search netcdf files in folder and list variables in each file

Description Usage Arguments Value

View source: R/nc_dir.R

Description

This function will list the netcdf files in a directory that contain a specified variable

Usage

1
nc_dir(directory = getwd(), recurse = TRUE, print = FALSE)

Arguments

directory

This is the directory to check.

recurse

Do you want to recursive look through a directory?

print

Do you want to print the name of files as you check them?

Value

data frame. First column is the file name. Remaining column are the variables, with TRUE signifying the variable is available in the file on that row.


r4ecology/rcdo documentation built on July 21, 2019, 9 p.m.