Weather Software > Station Software Development

Algorithm for Predicting Weather

(1/7) > >>

I'm teaching an introductory class at my local library and at the local community college about programming on a microprocessor.  I wanted a demonstration project more advanced than "hello world" or "blinking an LED" and I picked a simple weather station.  It has sensors, needs user input for adjusting, needs some kind of visual display, needs to store historical data and do some rudimentary calculations on data... IOW's sounded like the perfect project.  That it was useful when the student takes it home was just icing on the cake!  It only has sensors for temperature, humidity and pressure.   We have it doing all the simpleton things like:

* Showing temperature (T)
* Showing pressure (P)
* Showing humidity (H)
* Adjusting/normalizing pressure for location altitude
* We have plans for easy things like showing high/low T,P,H in the last 24 hours, week, month... etc
Seeing the basic weather stations like the one pictured below, I can see it must have the same set of sensors... T, P and H.  I would like to add some rudimentary weather prediction (showing an image of what's coming) like these units do.  The best chart I've been able to find so far is also pictured below.  Unfortunately, it is also dependent on wind direction which we don't have (and neither do these basic weather stations). 

Can anyone provide me with some algorithm or links to some information?  It doesn't have to be source code.   We can translate a chart into code.

 [ You are not allowed to view attachments ]

P.S. Being my first post, I don't think the picture will upload.  I tried though.   :-(

Your picture is of an AcuRite Display with forecasting. Here is what AcuRite says about their forecasting.


--- Quote from: worachj on April 02, 2022, 09:11:56 AM ---Your picture is of an AcuRite Display with forecasting. Here is what AcuRite says about their forecasting.

--- End quote ---

Thank you for responding.

I've just finished reading through those links and surfed from their links to their "white papers".  All talk about the marketing aspects that they do a "14 day learning", but no other real details.  I'm not looking to best them or even to get to the level of detail that they do my selecting 1 of 7 regions here in the US. 

Even before electronic units, a simple barometer had good/fair/poor.  I don't know, but I suspect there is something between seeing what the current pressure on an old barometer and those 14 day learning modes.  Something that can be a function of:

* current temperature
* temperature change rate
* humidity
* current pressure
* change in pressure (rate) over any time period - I've read there is something special about a 3-hour pressure differential, but nothing further.
Over a great deal of time, I'm sure we could figure out a logic chart just by using our weather stations and making visual observations.  I'm just hoping to jump-start that process by asking a more learned group of people on this forum.


Maybe this will help:


--- Quote from: Storm017 on April 02, 2022, 11:35:29 AM ---Maybe this will help:

--- End quote ---

I've finished reading this page.  It's a good start.  It does show ranges, but it uses terms like rising/falling slowly and rapidly but doesn't define a range of rates for how fast pressure is changing.  I continue jumping from this page.



[0] Message Index

[#] Next page

Go to full version