refactor: extract method to get weather records