@Test
      public void testTimeStep_DAILY2_period() throws Exception {
        printDebug("----------------------------");
        printDebug("DAILY with Period Range: " + 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("1981-2-14", Date.class);


        printDebug("Start = " + start.toString() + "; End = " + end.toString());
        
        int periodStart=May;
        boolean[] periodMask = new boolean[12];
        periodMask[Jan] = false;
        periodMask[Feb] = true;
        periodMask[Mar] = true;
        periodMask[Apr] = false;
        periodMask[May] = false;
        periodMask[Jun] = false;
        periodMask[Jul] = true;
        periodMask[Aug] = true;
        periodMask[Sep] = false;
        periodMask[Oct] = true;
        periodMask[Nov] = true;
        periodMask[Dec] = true;
        
        double[] obsval = DataIO.getColumnDoubleValuesInterval(start, end, t, "runoff[0]", DataIO.DAILY, periodStart, periodMask, null);
        printDebug("# values = " + obsval.length);
        Assert.assertTrue(obsval.length == 14);

        // Values directly from table
        double[] goldenVal = new double[14];
        
        
        goldenVal[0] = 83;
        goldenVal[1] = 84;
        goldenVal[2] = 85;
        goldenVal[3] = 86;
        goldenVal[4] = 86;
        goldenVal[5] = 87;
        goldenVal[6] = 88;
        goldenVal[7] = 96;
        goldenVal[8] = 98;
        goldenVal[9] = 91;
        goldenVal[10] = 97;
        goldenVal[11] = 98;
        goldenVal[12] = 107;
        goldenVal[13] = 308;
        //  goldenVal[14] = 75;

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

        Assert.assertArrayEquals(goldenVal, obsval, 0);
    }