@Test
    public void testTimeStep_MEAN_MONTHLY_2year() throws Exception {
        printDebug("----------------------------");
        printDebug("MEAN_MONTHLY 2 year: " + this.toString());
        printDebug("----------------------------");
        CSTable t = DataIO.table(r, "obs");
        Assert.assertNotNull(t);

        // 1 YEAR
        Date start = Conversions.convert("1981-1-01", Date.class);
        Date end = Conversions.convert("1982-12-31", Date.class);

        //System.out.println("Start = " + start.toString() + "; End = " + end.toString());
        double[] obsval = DataIO.getColumnDoubleValuesInterval(start, end, t, "runoff[0]", DataIO.MEAN_MONTHLY);
        //System.out.println("# values = " + obsval.length);
        Assert.assertTrue(obsval.length == 12);

        //Values computed directly from .csv file
        double[] goldenVal = new double[12];
        goldenVal[0] = (2430 + 6923) / 62.0;
        goldenVal[1] = (3897 + 23310) / 56.0;
        goldenVal[2] = (4587 + 12150) / 62.0;
        goldenVal[3] = (14840 + 33811) / 60.0;
        goldenVal[4] = (21287 + 57220) / 62.0;
        goldenVal[5] = (11096 + 49120) / 60.0;
        goldenVal[6] = (3048 + 24614) / 62.0;
        goldenVal[7] = (2187 + 8056) / 62.0;
        goldenVal[8] = (1345 + 6034) / 60.0;
        goldenVal[9] = (1893 + 10177) / 62.0;
        goldenVal[10] = (8457 + 9909) / 60.0;
        goldenVal[11] = (13534 + 9158) / 62.0;

        for (int i = 0; i < obsval.length; i++) {
            printDebug("obs[" + i + "] = " + obsval[i] + ";\tGolden = " + goldenVal[i]);
        }
        Assert.assertArrayEquals(goldenVal, obsval, 0);
    }