transNcdfSubset: transNcdfSubset

Description Usage Arguments Details Value Author(s)

View source: R/transNcdfSubset.R

Description

cut subset out of ncdf file

Usage

1
2
3
4
transNcdfSubset(file.name, dim.values = list(latitudes = c(), 
    longitudes = c(), timesteps = c()), values.type = c("range", 
    "indices", "values")[2], filename.new = sub("[.]nc", 
    "_subs.nc", file.name))

Arguments

file.name

character string: name of the file to create.

dim.values
values.type

character string: type of the dim.values supplied. 'range' means that the lower an upper border are supplied, 'indices' means that 1:n indices are supplied, 'values' means actual coordinate values.

filename.new

character string: name of the results file.

Details

This function reads a subset of lat/lon/time values out of a ncdf file and creates a target ncdf file with the results. ToDo facilitated other scenarios than lat/lon/time TODO merge with transNcdfCutTimes

Value

character string: name of the file created.

Author(s)

Jannis v. Buttlar, Thomas Wutzler


bgctw/ncdfTools documentation built on Jan. 29, 2020, 1:16 p.m.