Preparing the weather data cube