Learn R Programming

ncdf.tools (version 0.7.1.295)

transNcdfCutFiles: Cut margins of netCDF files

Description

Convenience wrapper around cdo to cut outer (time) margins of NetCDF files.

Usage

transNcdfCutFiles(file.names, time.range.out = c(), time.range.file = c(), fun.start = c(), fun.end = c(), format = "", convert = function(x) chron(paste(x, "15", sep = ""), format = "ymd", out.format = "d-m-y"))

Arguments

file.names
vector of character stings: file names to process.
time.range.out
time.range.file
POSIXct vector of length two or 'auto': time range of the original files. If not supplied, this is determined automatically from the file name via convertFilename2Date and fun.start/fun.end.
fun.start
see time.range.file
fun.end
see time.range.file
format
convert

Value