fix off-by-one y-coordinate in tiles, more robustness in handling empty time series