Cut margins of netCDF files

Share:

Description

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

Usage

1
2
3
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

character string: names of the file names after cutting.

Author(s)

Jannis v. Buttlar

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.