<p>You can build a <a href="https://www.linkedin.com/pulse/weather-forecasting-using-machine-learning-models-model-kinjal-ami" rel="nofollow noreferrer">machine learning algorithm</a> with skill but you will need several parameters such as day of year, time of day, cloud cover, wind speed, and precipitation.  However, keep in mind that your algorithm will need to be trained on several years of previous data.  For projects like this, you typically want about 5 years of <a href="https://stackabuse.com/using-machine-learning-to-predict-the-weather-part-1/" rel="nofollow noreferrer">observations</a> to "<a href="https://getd.libs.uga.edu/pdfs/sanders_william_s_201712_ms.pdf" rel="nofollow noreferrer">train</a>" the algorithm.</p>

CC BY-SA 4.0
2019-11-11T02:50:17.347Z
2019-11-11T03:30:53.210Z
2019-11-11T03:30:53.210Z
f.thorpe
<p><strong><em>First of all, the question!</em></strong> :</p>

<p><em>Is it possible to predict local weather tendencies for the upcoming hours (let's say 2-3 hours) using only local data?
If yes, which data is needed to make such predictions and which predictions are possible?</em></p>

<p>I'm not talking about very precise predictions, just basic stuff like: "The temperature will rise/drop" or "If humidity goes up and air pressure drops, it will probably rain" etc.. you get the idea.</p>

<p>I was thinking of using data for temperature, air pressure, humidity, time of day and wind speed/direction.. maybe something else?</p>

<p><strong><em>Some Background</em></strong> :</p>

<p>for a little DIY Home-Project I decided it would be an interesting idea to set up a little "weather station" in front of my home and collect all sorts of weather related data in short intervalls (e.g. temperature, air pressure, humidity, wind speed/direction, time of day etc.)</p>

<p>The idea is to collect data over the period of a few months (or more) and to develop an algorithm that is able to predict the upcoming weather with a certain probability.
The result should be a little program that was trained on past data and is then able to predict weather tendencies (Temperature, rain, etc..) using the data of the last couple of hours. Let's say the temperature and the air pressure drop and the humidty rises over a certain period of time, then it should tell me that it will likely rain. </p>

<p>I will not bother you with the details on how to write such a self-learning algorithm, but since I'm not very well educated regarding meteorology I'm not even sure if such predictions are possible or to what extent.</p>

<p>I think you've understood the idea. Please give me your Ideas about it. What's possible what's not. Maybe experiences, which data I need, what predictions i could possibly make and which not and so on.</p>

<p>Thanks for any help!  </p>

CC BY-SA 4.0
2019-11-14T14:20:57.263Z
Does looking at the sky count as local?
gerrit
CC BY-SA 4.0
2019-11-15T14:44:48.237Z
@gerrit: technically yes, but having the algorithm analyze data by "looking" at the sky would be a huge project on it's own. Simple light sensors are a bit too simple for this, since casted shadows by clouds are a way too random. By "local" i mean all Data you can collect from one spot.
Lew Pérez
CC BY-SA 4.0
2019-11-15T14:53:37.620Z
Facing a camera in the direction where the wind is coming from would make a huge difference in the potential to forecast the weather for the next 10 minutes!  At least during daylight hours.
gerrit
<meteorology><weather-forecasting><data-analysis>
Local Weather Forecast (Self-Learning Algorithm)
Lew Pérez
# Local Weather Forecast (Self-Learning Algorithm)

(Asked by: username_0 on 2019-10-10)

***First of all, the question!*** :

*Is it possible to predict local weather tendencies for the upcoming hours (let's say 2-3 hours) using only local data?
If yes, which data is needed to make such predictions and which predictions are possible?*

I'm not talking about very precise predictions, just basic stuff like: "The temperature will rise/drop" or "If humidity goes up and air pressure drops, it will probably rain" etc.. you get the idea.

I was thinking of using data for temperature, air pressure, humidity, time of day and wind speed/direction.. maybe something else?

***Some Background*** :

for a little DIY Home-Project I decided it would be an interesting idea to set up a little "weather station" in front of my home and collect all sorts of weather related data in short intervalls (e.g. temperature, air pressure, humidity, wind speed/direction, time of day etc.)

The idea is to collect data over the period of a few months (or more) and to develop an algorithm that is able to predict the upcoming weather with a certain probability.
The result should be a little program that was trained on past data and is then able to predict weather tendencies (Temperature, rain, etc..) using the data of the last couple of hours. Let's say the temperature and the air pressure drop and the humidty rises over a certain period of time, then it should tell me that it will likely rain.

I will not bother you with the details on how to write such a self-learning algorithm, but since I'm not very well educated regarding meteorology I'm not even sure if such predictions are possible or to what extent.

I think you've understood the idea. Please give me your Ideas about it. What's possible what's not. Maybe experiences, which data I need, what predictions i could possibly make and which not and so on.

Thanks for any help!

**Tags:** meteorology, weather-forecasting, data-analysis

> **Comments:**
> **username_1**: Does looking at the sky count as local?  
> **username_0**: @username_1: technically yes, but having the algorithm analyze data by "looking" at the sky would be a huge project on it's own. Simple light sensors are a bit too simple for this, since casted shadows by clouds are a way too random. By "local" i mean all Data you can collect from one spot.  
> **username_1**: Facing a camera in the direction where the wind is coming from would make a huge difference in the potential to forecast the weather for the next 10 minutes!  At least during daylight hours.  

---

## 1 answers

### Answer by username_2 on 2019-11-11. Score: 2

You can build a [machine learning algorithm](https://www.linkedin.com/pulse/weather-forecasting-using-machine-learning-models-model-kinjal-ami) with skill but you will need several parameters such as day of year, time of day, cloud cover, wind speed, and precipitation. However, keep in mind that your algorithm will need to be trained on several years of previous data. For projects like this, you typically want about 5 years of [observations](https://stackabuse.com/using-machine-learning-to-predict-the-weather-part-1/) to "[train](https://getd.libs.uga.edu/pdfs/sanders_william_s_201712_ms.pdf)" the algorithm.


---

