Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
2de2ed8f
Commit
2de2ed8f
authored
May 30, 2017
by
Uwe Schulzweida
Browse files
Added test for timselrange.
parent
4aecbc8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Timselstat.cc
View file @
2de2ed8f
...
...
@@ -18,16 +18,16 @@
/*
This module contains the following operators:
Timselstat timselrange Time
range
range
Timselstat timselmin Time
range
minimum
Timselstat timselmax Time
range
maximum
Timselstat timselsum Time
range
sum
Timselstat timselmean Time
range
mean
Timselstat timselavg Time
range
average
Timselstat timselvar Time
range
variance
Timselstat timselvar1 Time
range
variance [Normalize by (n-1)]
Timselstat timselstd Time
range
standard deviation
Timselstat timselstd1 Time
range
standard deviation [Normalize by (n-1)]
Timselstat timselrange Time
selection
range
Timselstat timselmin Time
selection
minimum
Timselstat timselmax Time
selection
maximum
Timselstat timselsum Time
selection
sum
Timselstat timselmean Time
selection
mean
Timselstat timselavg Time
selection
average
Timselstat timselvar Time
selection
variance
Timselstat timselvar1 Time
selection
variance [Normalize by (n-1)]
Timselstat timselstd Time
selection
standard deviation
Timselstat timselstd1 Time
selection
standard deviation [Normalize by (n-1)]
*/
...
...
test/Timselstat.test.in
View file @
2de2ed8f
#! @BASH@
echo 1..
9
# Number of tests to be executed.
echo 1..
10
# Number of tests to be executed.
#
test -n "$CDO" || CDO=cdo
test -n "$DATAPATH" || DATAPATH=./data
...
...
@@ -7,7 +7,7 @@ test -n "$DATAPATH" || DATAPATH=./data
CDOOUT=cout$$
CDOERR=cerr$$
TYPE=timsel
STATS="min max sum avg mean std std1 var var1"
STATS="min max
range
sum avg mean std std1 var var1"
NTEST=1
#
IFILE=$DATAPATH/ts_mm_5years
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment