Login
Support Sailonline
If you haven't already  join the SAILONLINE YACHT CLUB!
Please also consider making a donation  all amounts are greatly appreciated!
Posted by Gilles 

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 

Posted by Ghibli 

would love to hear that!
 Last Edited by Ghibli at 20101203 08:50:51  

Posted by jakob 

Hi
So, about the interpolation of weather in time and space Maybe some out there is longing for a short oneliner 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 forecastdata in the 4 closest forecastnodes in the gribfile. 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 complexvalued spaceinterpolated 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 drawback 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... 

Posted by Gilles 

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 

Posted by A2 

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 

Posted by ita10267 

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 

Posted by jakob 

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 GFSforecasts 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 weatherrounting ? Regards Jakob ...one of the guys behind the game... 

Posted by ita10267 

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 zeroderivative approach. 

Posted by jakob 

...well you should be careful with those softwares... especially when there is a Sailplanner available for free ...one of the guys behind the game... 

Posted by Gilles 

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:
SOL's Bermuda Triangle TIMED Race 2023
Inspired by the America’s Cup racing in Bermuda, this is a fun triangular course of 90nm, which we originally raced with psail and bonkhoot’s collaborative polar for the AC72 foiling catamaran. Having tried the course in the more pedestrian Open 60 in 2021, this year we return to the AC72, in fact to the MODIFIED AC72v2, modified to remove the inconsistencies that obtained from the original interpolation of the limited data issued by the AC 2003 Principal Race Officer in connection with penalties determination. This is a TIMED race, which means you get multiple chances to try out the ramifications of the revisions. Be careful though, the polar remains a handling challenge with major stallout potential!
REREGISTER HERE to race again after finishing a run
Race #1704
INFO by brainaid.de
AC72v2 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
RANKING:
TRQ4  TRCH  SUPSOL – SYC
RACE CLOSE: Friday,
15 December at 2300 UTC
Race starts: Dec 02nd 12:00
Registration Open!
Christmas to Christmas Island 2023
Two waypoints, start and finish, and between them 5827 NM of two oceans. Not much time if we want to sit at the Christmas Eve table. You will need to maintain an average speed of over 10 knots, so prepare your Volvo70s well and choose the best of the many possible routes. Hands up everyone who knew there were TWO Christmas Islands?! OK, maybe you have sailed this Sailonline course before... but it's time to get ready for the 2023 challenge of racing between Christmas Island in the Pacific to Christmas Island in the Indian Ocean! It also marks the conclusion of our prestigious Ocean Race Championship 2023. Please have fun! Fair winds!
PRIZE: SMPF
Race #1745
INFO by brainaid.de
Volvo70 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ4  OCCH  SUPSOL  SYC
Race starts: Dec 01st 23:00
Registration Open!
SYC Ranking
Series
 SYC ranking
 2024 DN
 2023 TS
 2023 TRQ4
 2023 TRQ3
 2023 TRQ2
 2023 TRQ1
 2023 TRCH
 2023 SVS
 2023 SUPerSOLer
 2023 SSANZ
 2023 SPRQ4
 2023 SPRQ3
 2023 SPRQ2
 2023 SPRQ1
 2023 SPRCH
 2023 SHE
 2023 RTW
 2023 RNI
 2023 RMS
 2023 PIC
 2023 OCQ4
 2023 OCQ3
 2023 OCQ2
 2023 OCQ1
 2023 OCCH
 2023 LOOR
 2023 DN
 2023 ARQ4
 2023 ARQ3
 2023 ARQ2
 2023 ARQ1
 2023 ARCH
 2022 TRQ4
 2022 TRQ3
 2022 TRQ2
 2022 TRQ1
 2022 TRCH
 2022 TD
 2022 Tall Ships
 2022 SUPerSOLer
 2022 SSANZ
 2022 SSA
 2022 SPRQ4
 2022 SPRQ3
 2022 SPRQ2
 2022 SPRQ1
 2022 SPRCH
 2022 SHE
 2022 OCQ4
 2022 OCQ3
 2022 OCQ2
 2022 OCQ1
 2022 OCCH
 2022 NTR
 2022 LOOR
 2022 CTR
 2022 ARQ4
 2022 ARQ3
 2022 ARQ2
 2022 ARQ1
 2022 ARCH
 2021 TRQ4
 2021 TRQ3
 2021 TRQ2
 2021 TRQ1
 2021 TRCH
 2021 TD
 2021 Tall Ships
 2021 SYCQ4
 2021 SYCQ3
 2021 SYCQ2
 2021 SYCQ1
 2021 SYCCH
 2021 SUPerSOLer
 2021 SSANZ
 2021 SPRQ4
 2021 SPRQ3
 2021 SPRQ2
 2021 SPRQ1
 2021 SPRCH
 2021 Shetland
 2021 PAC6
 2021 OCQ4
 2021 OCQ3
 2021 OCQ2
 2021 OCQ1
 2021 OCCH
 2021 ESRW
 2020 TSE
 2020 TSA
 2020 TRQ4
 2020 TRQ4
 2020 TRQ3
 2020 TRQ2
 2020 TRQ1
 2020 TRCH
 2020 Tasman Double
 2020 SYCQ4
 2020 SYCQ3
 2020 SYCQ2
 2020 SYCQ1
 2020 SYCCH
 2020 SUPerSOLer
 2020 SSANZ
 2020 SRQ4
 2020 SRQ3
 2020 SRQ2
 2020 SRQ1
 2020 SPRCH
 2020 Shetland
 2020 RTW
 2020 RNI
 2020 Odyssey
 2020 OCQ4
 2020 OCQ3
 2020 OCQ2
 2020 OCQ1
 2020 OCCH
 2020 A3
 2019 TRQ4
 2019 TRQ3
 2019 TRQ2
 2019 TRQ1
 2019 TRCH
 2019 Tasman Double
 2019 Tall Ships
 2019 SYCQ4
 2019 SYCQ3
 2019 SYCQ2
 2019 SYCQ1
 2019 SYCCH
 2019 SUPerSOLer
 2019 SSANZ
 2019 SRQ4
 2019 SRQ3
 2019 SRQ2
 2019 SRQ1
 2019 SPRCH
 2019 Shetland
 2019 Round New Zealand
 2019 OCQ4
 2019 OCQ3
 2019 OCQ2
 2019 OCQ1
 2019 OCCH
 2018 TRQ4
 2018 TRQ3
 2018 TRQ2
 2018 TRQ1
 2018 TRCH
 2018 Tasman Double
 2018 Tall Ships
 2018 SUPSOL
 2018 SSANZ Triple
 2018 SRQ4
 2018 SRQ3
 2018 SRQ2
 2018 SRQ1
 2018 SPRCH
 2018 Shetland
 2018 Shackleton Challenge
 2018 OCQ4
 2018 OCQ3
 2018 OCQ2
 2018 OCQ1
 2018 OCCH
 2018 40CH
 2017 TS RDV
 2017 TRQ4
 2017 TRQ3
 2017 TRQ2
 2017 TRQ1
 2017 TRCH
 2017 Tasman Double
 2017 Tall Ships
 2017 SWR
 2017 SUPSOL
 2017 SSANZ Triple
 2017 SSANZ RNI
 2017 SPRR3
 2017 SPRR2
 2017 SPRR1
 2017 SPRCH
 2017 Red Dot
 2017 OCQ4
 2017 OCQ3
 2017 OCQ2
 2017 OCQ1
 2017 OCCH
 2017 40CQ3&4
 2017 40CQ1&2
 2016 TRQ4
 2016 TRQ3
 2016 TRQ2
 2016 TRQ1
 2016 TRCH
 2016 Tasman Double
 2016 Tall Ships
 2016 SUPSOL
 2016 SSANZ Triple
 2016 SRQ4
 2016 SRQ3
 2016 SRQ2
 2016 SRQ1
 2016 SPRCH
 2016 RTWR
 2016 OCQ4
 2016 OCQ3
 2016 OCQ2
 2016 OCQ1
 2016 OCCH
 2016 Corporate Open Gold
 2016 A3
 2015 TRQ4
 2015 TRQ3
 2015 TRQ2
 2015 TRQ1
 2015 TRCH
 2015 Tasman Double
 2015 Tall Ships
 2015 SYQ4
 2015 SYQ3
 2015 SYQ2
 2015 SYQ1
 2015 SYCCH
 2015 SUPSOL
 2015 SSANZ Triple
 2015 SRQ4
 2015 SRQ3
 2015 SRQ2
 2015 SRQ1
 2015 SPRCH
 2015 OCQ4
 2015 OCQ3
 2015 OCQ2
 2015 OCQ1
 2015 OCCH
 2015 Aegean Rally
 2014 Timed Races Championship
 2014 Tasman Double
 2014 Tall Ships
 2014 SYC Championship
 2014 SSANZ Trio
 2014 SSANZ RNI
 2014 Sprints Championship
 2014 Scandinavian Tour
 2014 Round The World Race
 2014 Ocean Championship
 20142015 Sailonline World Race
 2013 Tall Ships
 2013 SYC Championship
 2013 SSANZ B&G Simrad
 2013 Capt Anderson
 2012 W Australia Regatta
 2012 Tall Ships
 2012 SSANZ B&G Simrad
 2012 RNZ Two Handed
 2012 Global Challenge
 2012 Ecker Cup
 2012 Black Sea
 2012 A3
 2011 Vancouver Island
 2011 Tasman Double
 2011 SSANZ B&G Simrad
 2011 SOL Global Challenge
 2011 SJORA Series
 2011 Scandinavian Tour
 2011 Round North Island
 2011 Asian Sprints
 20112012 SOL World Race
 2010 Tasman Double
 2010 Ouzo Rally
 2010 Iberian Tour
 2010 Auckland Regional
 2009 French SOLo
 2009 Bosphore  Bretagne
 2008 SYCC
 2008 2013 SYC Week Race Championship
 2008 2013 SYC WeekEnd Race Championship
 2008 2013 SYC Ocean Race Championship
 20082009 Sailonline Ocean Race
Mobile Client
SYC members have the benefit of access to our mobile/lightweight web client!