Facebook

Login

Support Sailonline

If you haven't already - join the SAILONLINE YACHT CLUB!

Please also consider making a donation - all amounts are greatly appreciated!

Board » Technical Support » NOAA vs SOL weather

Hi all,
I have noticed a difference between TWD/TWS as calculated from NOAA grib data and the ones shown in SOL. Would it be possible to know the way SOL interpolates in space and time wind speed and direction?
Thanks in advance and regards
Gilles
would love to hear that!

--- Last Edited by Ghibli at 2010-12-03 08:50:51 ---
Hi

So, about the interpolation of weather in time and space :-) Maybe some out there is longing for a short one-liner as explanation but I am afraid there is a little more to it… Here is in short the steps we take to get an "observation" (as we call it) at an arbitrary time (called t) and location based on forecasts.

1) Find the two forecast time steps (here called t1 and t2) surrounding the time t.
2) In space we simply use linear interpolation (in the 2 dimensions lat/long) of the forecast-data in the 4 closest forecast-nodes in the grib-file. Since the forecast has separate fields, one for northerly wind and one for easily wind we need to treat these entities separately, in our case by using complex notation. We also need to do this for both frames t1 and t2 from step 1 which thus gives us a set of two complex-valued space-interpolated wind speeds, one at t1 and one at t2.
3) Now we need to interpolate in time as smoothly as we can. We chose to do this using simple shape functions ensuring continuous wind speed and actually in our case continuous time derivatives.

Now, there are naturally many ways of doing this. One draw-back of this kind of interpolation is that we loose energy. Imagine the situation with constant wind speed but rotating wind direction so that at t1 the wind is due easily and at t2 it is due westly. In our interpolation we would (falsely) get that the wind speed at the time (t1+t2)/2 would be zero.

Also note that we do not always use the GFS model from NOAA. In particular around Sweden we have more detailed forecasts.

Hope this helped a little.

Regards
Jakob
...one of the guys behind the game...
Hi Jakob,
to keep in one line, the model smooth and make continue the derivative of a complex 3 variable function to avoid that the function has some jump. [ actually more than one line ;-) ]
need to think about it deeper, may be come back later.
thanks for moment
Gilles
Would it be possible to differentiate between those wind arrows (highlighted color perhaps) that represent the actual data nodes & those arrows that are derivative which comprise the field.
None so blind
Nice topic indeed.

So, in my own words: two frames of weather grib are interpolated in space using bilinear. This operation gives two different values for the wind vector which are separated in time by the gap between the two frames (3h with GFS or whatever).

Now, in order to have a smooth transition between frames a simple linear approximation is not good because it will give discontinous values of first derivative corresponding to the frames change. And so the need for a proper interpolation function that can smooth the derivative at the beginning and the end of the interval.

One can argue that the only possible value of the derivative at these point is zero. But another important aspect is that, given the shape function, we have steeper gradients in time in order to compensate for the nulling of the derivative at the extremes. Am I right? And this is extremely dependent by the shape of the interpolating function.

my 2 cents
Hi all,

You are basically all correct :-) I am the first to admit that there are many ways of doing this and that we did not spend weeks of thinking when choosing algorithm - but it works. Also (Hubert) the game winds will only correspond exactly with the GFS-forecasts when the time is exactly the time of a certain forecast frame and the point of the "observation" is exactly that of a forecast nodal point. Thus, colour coding would not be of any use at all...

Why this attention? Is it just curiosity or weather-rounting ?

Regards
Jakob
...one of the guys behind the game...
it curiosity driven by weather routing :)

as you remember I was coding my own router and, although I did it for pure fun, I am now checking it against some of the market available competition like maxsea or deckman. All of them share the common feeature of giving different wind values at the same place, same time and same wind data!! So the interpolation is critical and although I can rely on more elaborate intepolation technique, I will definite give a look to this zero-derivative approach.
...well you should be careful with those softwares... especially when there is a Sailplanner available for free ;-)
...one of the guys behind the game...
well... I need to admit that the question from my side was originated because I have notice some differences... and I am using SOL to prepare my sailing licence exams from navigation point of view, but you pass me by far in the discussion...
I appreciate your effort to educate the SOL community and I believe that I must open the old book to follow you now...... thanks!
Gilles
one of the guys enjoing the game ;-)

Please login to post a reply.

Races

Next Race: 00d 00h 00m


Current Races:

Magical Mediterranean 2026 - Benghazi to Korcula

We return to Antiquity’s Middle Sea for a seventh celebration of all things Mediterranean - fickle winds, history and olive oil. This time we will sail from ancient Benghazi, whence once grain shipped continuously to feed Rome’s urban masses, to the medieval Venetian thalassocracy’s port of Korcula, birthplace of Marco Polo; 700nm in classy Club Swan 50s!
Race #1978
INFO by brainaid.de
Club Swan 50 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: MED - SYC
Race starts: Jul 27th 15:00 Registration Open!

▶ Flash
GO TO RACE

Red Eye 2026 - Georgian Bay

Welcome to the sensational scenic Georgian Bay of northern Lake Huron, the first area of the Great Lakes to be visited by Europeans in 1615, so former SOLer A2R informed us when he designed this geometrically tortuous course of 317nm criss-cross through its island maze. Originally known as Lake Manitoulin, in 1822 the bay was renamed after King George IV after his succession to the throne. This time we’ll take the very flashy Fareast 31R, which hopefully should keep you wide awake!
Race #2051
INFOby brainaid.de
Fareast 31R PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: RED - SYC
Race starts: Jul 26th 08:00 Registration will open soon
▶ Flash
GO TO RACE

Tall Ships 2026 - Stavanger to Aalborg


Welcome to the fourth of four virtual Tall Ships Races in European waters which are concurrently being organized in-real-life by Sail Training International . This fourth race is from Stavanger in Norway into the Skaggerak to a finish off Denmark’s Aalborg and perhaps an Aquavit to toast the adventure afterwards – a final circa 250nm in Sailonline’s classic Clipper 240.
NOTE: Starts and Finishes in tall ships racing are always offshore to avoid conflict with shipping and shipping lanes; online and real-life may not match exactly.
Race #1995
INFO by brainaid.de
Clipper 240 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: TSI - SUPBUD - SYC
Race starts: Jul 25th 16:00 Registration Open!
▶ Flash
GO TO RACE

Chinook Salmon - Canada to Andreanovs


A year after spawning in the upper reaches of the rivers of British Columbia, Chinook Salmon develop the age-old urge, so familiar to SOLers, to go to sea, heading for different parts of the northern Pacific Ocean. This race catches up with a particular school with an instinctive memory for the Andreanov Islands far west on the Aleutian Islands chain, as they depart the Salian Sea between Vancouver Island and the San Juans. It’s 2200nm and we’re taking the 60ft Trimaran, in the hope we can keep up!
Race #2048
INFOby brainaid.de
60ft Trimaran PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: MIG - SYC
Race starts: Jul 21st 11:00 Registration Open!
▶ Flash
GO TO RACE

Juventud TIMED Race 2026

Welcome to Isla de la Juventud (Isle of Youth), Cuba’s second largest island after mainland Cuba. Known as a haven for pirates, the island was the inspiration for novels “Treasure Island” and “Peter Pan”. The circa 120nm course runs clockwise around the island.
This is a TIMEDrace so you may RE-REGISTER HEREto try again after finishing a run. You will have two weeks to test your skill and decision making after the race opens.
Race #2049
INFOby brainaid.de
The boat for this race is the sporty Mini 6.5p Foil PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ3 - TRCH - SYC
RACE CLOSE: Saturday,
1 August at 23:00 UTC
Race starts: Jul 19th 12:00 Registration Open!
▶ Flash
GO TO RACE

Alaska to Easter Island 2026

Welcome to yet another all-new series. The initial leg of the RNW (Round the New World), Alaska to Easter Island, also part of our Ocean Championship. The first race of OCQ3 2026. This race will be sailed in our revised 'version 2' Imoca 60 Foil. Race #2042
INFO by brainaid.de
Imoca 60 Foil v2 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ3 - RNW - OCCH - SYC
RACE CLOSE: Saturday,
August 1 at 2300 UTC.
Race starts: Jul 06th 11:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member KaSToR
  2. Sailonline Yacht Club Member WRmirekd
  3. Sailonline Yacht Club Member CriticalHippo
  4. Sailonline Yacht Club Member cdhinman
  5. Sailonline Yacht Club Member Panpyc
  6. Sailonline Yacht Club Member bonknhoot
  7. Sailonline Yacht Club Member rafa
  8. Sailonline Yacht Club Member ms0689
  9. Sailonline Yacht Club Member ita10267
  10. Sailonline Yacht Club Member sassy63

View full list

Series

Mobile Client

SYC members have the benefit of access to our mobile/lightweight web client!

The mobile client