@Test
    public void testTimeStep_ANNUAL_MEAN_YAMPA_OCT() throws Exception {
        printDebug("----------------------------");
        printDebug("Annual Mean with Period Yampa starting in Oct: " + this.toString());
        printDebug("----------------------------");
        CSTable t = DataIO.table(r2, "obs");
        Assert.assertNotNull(t);

        Date start = Conversions.convert("1996-10-1", Date.class);
        Date end = Conversions.convert("2000-09-30", Date.class);


        //System.out.println("Start = " + start.toString() + "; End = " + end.toString());
        // 9,8 used for oct-sep since base-0
        boolean[] pmask = {false, 
                           true, true, true, true, true, true, 
                           false, false, false, false, false};
        double[] mean = DataIO.getColumnDoubleValuesInterval(start, end, t, "runoff", DataIO.ANNUAL_MEAN, Oct ,pmask, null);

        double[] goldenMean = new double[4];
   
        goldenMean[0] = 1220.0; 
        goldenMean[1] = 857.1767955801105;
        goldenMean[2] = 739.4751381215469;
        goldenMean[3] = 744.6868131868132;
      
        for (int i = 0; i < mean.length; i++) {
            printDebug("AnnualMean_Period[" + i + "] = " + mean[i] + ";\tGolden AnnualMean[" + i + "] = " + goldenMean[i]);

        }

        Assert.assertArrayEquals(goldenMean, mean, 0);
    }