getFileInfo: List all CMIP5 files in a directory tree

Description Usage Arguments Details Value See Also Examples

Description

List all CMIP5 files in a directory tree, parsing their filenames for information like experiment, model, and variable names.

Usage

1
getFileInfo(path = ".", recursive = TRUE)

Arguments

path

string root of directory tree

recursive

logical. Should the listing recurse into directories?

Details

For more information on CMIP5 filename structure and data description, see http://cmip-pcmdi.llnl.gov/cmip5/data_description.html

Value

data.frame containing the following parsed from file names:

filename

Full filename, including path

variable

File variable

domain

File domain

model

Model that produced this file

experiment

File experiment

ensemble

File ensemble

time

year (and often month) range of file

size

File size, in kilobytes

See Also

checkTimePeriod

Examples

1
2
getFileInfo()
getFileInfo('.', recursive=FALSE)


Search within the RCMIP5 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.