output {rcdo} | R Documentation |
Formatted output
Description
This module prints all values of all input datasets to standard output. All input fields need to have the same horizontal grid. All input files need to have the same structure with the same variables. The format of the output depends on the chosen operator.
Usage
cdo_output(ifiles, format = NULL, nelem = NULL)
cdo_outputext(ifiles, format = NULL, nelem = NULL)
cdo_outputf(ifiles, format = NULL, nelem = NULL)
cdo_outputint(ifiles, format = NULL, nelem = NULL)
cdo_outputsrv(ifiles, format = NULL, nelem = NULL)
Arguments
ifiles |
Character vector with the path to the input files. |
format |
STRING - C-style format for one element (e.g. %13.6g) |
nelem |
INTEGER - Number of elements for each row (default: nelem = 1) |
Details
output ASCII output Prints all values to standard output. Each row has 6 elements with the C-style format \"%13.6g\". outputf Formatted output Prints all values to standard output. The format and number of elements for each row have to be specified by the parameters format and nelem. The default for nelem is 1. outputint Integer output Prints all values rounded to the nearest integer to standard output. outputsrv SERVICE ASCII output Prints all values to standard output. Each field with a header of 8 integers (SERVICE likely). outputext EXTRA ASCII output Prints all values to standard output. Each field with a header of 4 integers (EXTRA likely).
Value
Operators that output one or more files return a character vector to the output files.
Operators that output an indefinite number of files return a string with the basename of the files.
Operatos that don't return filenames return a character vector with the string output.
[Package rcdo version 0.3.0 Index]