Commit 77cd4213 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

tee: added docu.

parent d397adc9
2017-07-27 Uwe Schulzweida
* Using CDI library version 1.9.1
* Version 1.9.1 release
2017-08-30 Uwe Schulzweida
* tee: added docu
2017-08-14 Uwe Schulzweida
* eof, eof3d: set default of env. CDO_WEIGHT_MODE to off
......
......@@ -3,6 +3,8 @@ CDO NEWS
Version 1.9.1 (27 September 2017):
New operators:
* tee - Duplicate a data stream
Changes operators:
* eof, eof3d: set default value of environment variable CDO_WEIGHT_MODE to off
Fixed bugs:
......
......@@ -43,6 +43,7 @@ Operator catalog:
-------------------------------------------------------------
Copy copy Copy datasets
Copy cat Concatenate datasets
Tee tee Duplicate a data stream
Replace replace Replace variables
Duplicate duplicate Duplicates a dataset
Mergegrid mergegrid Merge grid
......
......@@ -5,6 +5,7 @@ Ninfo Information
Showinfo Information
Filedes Information
Copy File operations
Tee File operations
Replace File operations
Duplicate File operations
Mergegrid File operations
......
@BeginModule
@NewPage
@Name = Tee
@Title = Duplicate a data stream
@Section = File operations
@Class = File operation
@Arguments = infile outfile1 outfile2
@Operators = tee
@BeginDescription
@EndDescription
@EndModule
@BeginOperator_tee
@Title = Duplicate a data stream
@BeginDescription
This operator copies the input datasets to @file{outfile1} and @file{outfile2}.
It can be used to store intermediate results to a file.
@EndDescription
@EndOperator
@BeginExample
To compute the daily and monthy average of a dataset use:
@BeginVerbatim
cdo monavg -tee dayavg infile outfile_dayavg outfile_monavg
@EndVerbatim
@EndExample
......@@ -796,6 +796,7 @@ int add_alias(std::string alias, std::string original) {
*/
void init_modules()
{
/* function help function operator names mode number num streams
type in out */
add_module("Adisit" , {Adisit , AdisitHelp , AdisitOperators , 1 , CDI_REAL , 1 , 1 });
......@@ -952,7 +953,7 @@ void init_modules()
add_module("Splittime" , {Splittime , SplittimeHelp , SplittimeOperators , 1 , CDI_BOTH , 1 , -1 });
add_module("Splityear" , {Splityear , SplittimeHelp , SplityearOperators , 1 , CDI_BOTH , 1 , -1 });
add_module("Subtrend" , {Subtrend , SubtrendHelp , SubtrendOperators , 1 , CDI_REAL , 3 , 1 });
add_module("Tee" , {Tee , {} , TeeOperators , 1 , CDI_REAL , 2 , 1 });
add_module("Tee" , {Tee , TeeHelp , TeeOperators , 1 , CDI_REAL , 2 , 1 });
add_module("Template1" , {Template1 , {} , Template1Operators , 0 , CDI_REAL , 1 , 1 });
add_module("Template2" , {Template2 , {} , Template2Operators , 0 , CDI_REAL , 1 , 1 });
add_module("Test" , {Test , {} , TestOperators , 0 , CDI_REAL , 1 , 1 });
......
......@@ -203,6 +203,18 @@ std::vector<std::string> CopyHelp = {
" of outfile. If outfile does not exist it will be created.",
};
std::vector<std::string> TeeHelp = {
"NAME",
" tee - Duplicate a data stream",
"",
"SYNOPSIS",
" tee infile outfile1 outfile2",
"",
"DESCRIPTION",
" This operator copies the input datasets to outfile1 and outfile2.",
" It can be used to store intermediate results to a file.",
};
std::vector<std::string> ReplaceHelp = {
"NAME",
" replace - Replace variables",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment