fixed forecast time indexing array bug