11

Currently there's a big 'storm' over the predictions by the MetOffice in the UK. They predicted a mild, wet winter, while we have the coldest temperature on record in Northern Ireland and solid snow on the ground, normally rare in December.

It's something I'd love to have a play with, not that I'm claiming I can beat them, but was wondering what algorithms are out there currently that people are working with? What datasets do they base it on?

Possibilities presumably include neural networks modelling input with fitness being the accuracy of the prediction, complex mathematical models, or even the 'same as yesterday' prediction which I've heard claim (although not seen evidence) that it's more reliable for single-day prediction (although obviously drops off after that).

Ideally like to hear from some developers in weather centres or who get access to the supercomputers, it'd be interesting to hear approaches...

Mark Mayo
  • 10,833
  • 11
  • 49
  • 82
  • I've read that what changed is the jetstream pattern. When the jetstream shifts as it has now, you get this weather pattern. You ned to know whether that jetstream shift is predictable, and if it is, then you need data about weather during the historical periods when the jetstream was where it is now. – DOK Dec 22 '10 at 16:10
  • 2
    "Same as yesterday" does better than 50%, hence it is better than many/most simplistic models. Short range forecasting uses cellular simulations (essentially Computational Fluid Dynamics but on a bigger scale with large cells - a global model will have cells of 10+miles). Long range forecasts are notoriously difficult. 20 years ago they were thought impossible, and you will note that the Met Office have only started giving them in the last 5 yrs or so. – winwaed Dec 22 '10 at 16:15
  • Anyone interested in this question should check out the Area51 [Geoscience proposal](http://area51.stackexchange.com/proposals/36296/earth-science?referrer=s4qMAUYQL5pew2275Jcq_Q2) – naught101 Feb 25 '14 at 23:09
  • @naught101 ooh, interesting! Thanks – Mark Mayo Feb 25 '14 at 23:11

3 Answers3

22

In short, if you intend to build and run your own forecasting model, you will face three major problems:

  1. Access to observations
  2. Development of a mathematical model
  3. Computational power to run your model

Access to observation

As far as I know, access to good meteorological observations costs a lot of money. You need to have observations from all over the globe and model the state of oceans and atmosphere for the whole planet. Alternatively, you need to obtain so-called lateral boundary conditions from someone who calculates a global model.

Development of a mathematical model

I'm not and I've never been affiliated with Met Office, but I used to port and optimize a version of their Unified Model to a supercomputer at our center a couple of years ago. Here's how I remember the model.

Met Office has been developing their Unified Model for the last 20+ years, we're talking about millions of lines of code that contain state of the art ocean/atmospheric models and numerical algorithms. Check out this section of (outdated) User Guide for a glimpse of scientific methods used in their model. It's a fruit of, give or take, half a century of well-funded, extensive research by a large community of smart people. If there was a simple solution that would consistently give better results than the complex models, someone would've probably implemented it by now.

To conclude, I guess it's very hard to get even remotely satisfactory results in weather forecasting by building a model from scratch, unless you're a MSc/PhD in atmospheric physics and you've got a couple of years of free time on your hands.

Computational power to run your model

The first forecasting models were run in the middle of 20th century on machines that cannot match with today's cellphones, so, technically, you could calculate something on your PC. However, this type of job is often done on very, very powerful machines. In fact, 10 systems in the Top500 are dedicated solely to weather forecasting and climate research.

Interesting reads

UPDATE It's possible to obtain the source code of the WRF model for free, together with some met data. Note that WRF, Unified Model, COAMPS, and many other models are written primarily in Fortran.

Bolo
  • 10,774
  • 5
  • 38
  • 58
3

First off, you can import raw data from http://tgftp.nws.noaa.gov and other weather data. The best way for the computer to understand the data is putting it on a map. Each point on the map reacts with each other. Data at each point can represent Temp, Pressure, Wind and Direction, Cloud Coverage, Where sun is in the sky, Visibility, last 100hrs of precipitation. You could make predictions, then compare them later to the actual predictions as well as the Weather Service's predictions. Then update a climate model for that data point. That way, it could be a self learning neural network. As far as computation power is concerned, Get a Titan, Big Mac!

Kyler Chin
  • 112
  • 8
0

It seems to be possible to construct simple forecast model. My watch features a barometer and a thermometer (which is not usable at all, because the watch is warmed by the hand). Solely on those measurements, it has several times warned me of incoming rain, in spite of sunny forecasts from internet sites. (the cloud picture at upper left corner) enter image description here

A quick search leads us to the Sager Algorithm, which uses only very simple input data. However, while the implementation claims to be open-source, I have failed to locate both the code and scientific papers on the algorithm.

Vorac
  • 7,533
  • 7
  • 51
  • 87
  • Wikipedia mentions [barometric weather prediction](https://en.wikipedia.org/wiki/Weather_forecasting#Use_of_a_barometer). – Vorac Sep 02 '16 at 13:49
  • 1
    Sager algorithm in javascript https://www.weather-above.com/sager_cast.js or PHP https://cumulus.hosiene.co.uk/viewtopic.php?f=14&t=9901 and book https://openlibrary.org/works/OL7087141W/The_Sager_weathercaster and partial content http://gsmit.org/weather-monitoring/ – JoeGasper Jan 01 '20 at 20:28
  • 1
    Sager was the staff meteorologist of the New York Daily News 1937-1974 https://nydailynews.newspapers.com/search/#query=%22Raymond+Sager%22&offset=10 – JoeGasper Jan 01 '20 at 20:53