Monpctl 1.85 KB
 Uwe Schulzweida committed Nov 06, 2006 1 2 3 4 5 @BeginModule @Name = Monpctl @Title = Monthly percentile values @Section = Statistical values @Class = Statistic  Uwe Schulzweida committed Jan 23, 2017 6 @Arguments = infile1 infile2 infile3 outfile  Uwe Schulzweida committed Nov 06, 2006 7 8 9 @Operators = monpctl @BeginDescription  Uwe Schulzweida committed Jan 23, 2017 10 11 12 This operator computes percentiles over all timesteps of the same month in @file{infile1}. The algorithm uses histograms with minimum and maximum bounds given in @file{infile2} and @file{infile3}, respectively. The default number of histogram bins is 101.  Uwe Schulzweida committed Jan 20, 2017 13 The default can be overridden by defining the environment variable @env{CDO_PCTL_NBINS}.  Uwe Schulzweida committed Jan 23, 2017 14 The files @file{infile2} and @file{infile3} should be the result of corresponding @mod{monmin}  Uwe Schulzweida committed Jan 20, 2017 15 and @mod{monmax} operations, respectively.  Uwe Schulzweida committed Jan 23, 2017 16 The time of @file{outfile} is determined by the time in the middle of all contributing timesteps of @file{infile1}.  Uwe Schulzweida committed Nov 06, 2006 17 18 19 20 21 22 23 24 25 26 @EndDescription @EndModule @BeginOperator_monpctl @Title = Monthly percentiles @Parameter = p @BeginDescription @IfMan  Uwe Schulzweida committed Jan 16, 2012 27 For every adjacent sequence t_1, ...,t_n of timesteps of the same month it is:  Uwe Schulzweida committed Nov 06, 2006 28 29 30 31  o(t,x) = pth percentile {i(t',x), t_1