Write exporter to hdf using pytables, better way to calculate climatologies using grouping and caching