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 » Getting TWA and TWS of "friends" boats.

Page: Previous 1 2

My soft is ready (beta version)

BTW I have found strange COG values :
<cog>0.798365726218</cog>

I think this is a radian value. Is'nt ?

All the boats are going south this night on NSSANZ; I get :
<cog>3.17281659391</cog>
After conversion
COG radian: 3.17281659391
COG degree: 171.88733853925
The right direction.

I have not yet implemented TWA / TWS nor the sail selection.

I have seen where DC Checker gets polars and gribs .
Some more tests and I'll publish the beta version on my server.


Jean.
Dans le tourbillon du Web
The english (and french) beta versions are here: http://voilevirtuelle.free.fr/SailOnLine/ge/

BUT... the Free.fr server does'nt allow to retrive data from an another server so you can't use directly these scripts.

You have to download them and set up your own local webserver.

If Solfan web site (or Kroppyer's one) could hosts this code (after extensive testing and maybe few improvements, any SOLers could directly generate and download his own KML / KMZ map of the Sol fleet.

Sources: http://voilevirtuelle.free.fr/SailOnLine/ge/sol2kml.zip
Images: http://voilevirtuelle.free.fr/SailOnLine/ge/images/

KML/KMZ: http://voilevirtuelle.free.fr/SailOnLine/ge/index.php#kmz



Jean.

--- Dernière modification par jf44 le 2017-03-01 01:57:29 ---
Dans le tourbillon du Web
Attachments
looking good!
I would recommend using the sol account to retrieve data, then signing in can be done automatically.

"http"."://www.sailonline.org/webclient/
authenticate.xml?username=".$nick.";
password=".$pass.";race_id=".$race

use $nick="sol" and $pass="sol".

And this will list names and IDs (and more) of active races:
"http"."://www.sailonline.org/webclient/
races.xml?filter=active"


--- Last Edited by kroppyer at 2017-03-01 01:29:13 ---
OK.

I have made the modification :

--- Implemented ----
1) Get the list of active races

2) The user select one

3) Login with "sol" account
-> return a valid token

4) Get the boat list and position
-> conversion to KML / KMZ map

5) Archive : List of all KMZ files sorted by race and date.

6) the TWA set up the type of sail :
TWA <= 40° -> Jib
40° <= TWA < 110° -> Genois
110° < TWA <= 140° -> Gennaker
140° < TWA -> Spinnaker

7) TWA & TWS act on boat roll : more wind, more roll

8) And last but not least, added new collada files for trimaran

--- Implemented ----


Future improvements

9) Select which boats to display


Attached zip: The updated version of 2017/03/25.
Correction of fews bugs and many improvements like new models, Grib, Polars and tour.




--- Dernière modification par jf44 le 2017-03-15 01:53:53 ---

--- Dernière modification par jf44 le 2017-03-28 22:59:25 ---

--- Dernière modification par jf44 le 2017-03-29 00:28:30 ---
Dans le tourbillon du Web
Attachments
Hi everybody (and Koppyer / Kipper of course)
I need clarification about grib restitution for SOL.
1) Are the U and V components of Grib files from DCChecker's SOLGribXml folder in m/s or in knots ?
I think they are in m/s.

2) The U and V values are the TWS components, with U the vertical component and V the horizontal one
like in the Sol'd blog
https://daysailer.wordpress.com/2011/02/20/how-to-calculate-tws-and-twd-from-grib-components/

That's right ?


Dans le tourbillon du Web

Page: Previous 1 2

Please login to post a reply.

Races

Next Race: 00d 00h 00m


Current Races:

Christmas(W) to Christmas(E) Island 2026

This year, we shall sail the 5827nm from Christmas to Christmas in the world-rounding record-shattering 125 ft Orange catamaran, and in the less frequent direction out of the Indian Ocean into the Pacific. There are a lot of islands in the way, and the possibilities to avoid them, north and south, and as far as you like, are endless. Who will find the best route? Fair winds!
Race #2075
INFO by brainaid.de
Orange 125ft Catamaran PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC
Race starts: Dec 01st 05:00 Registration Open!
▶ Flash
GO TO RACE

Westcoast Offshore Race 2026

Ahoy, SOLers! Welcome to South Africa for Sailonline’s debut of the legendary West Coast Offshore Race! Organized by the Royal Cape Yacht Club, this iconic overnight classic stretches from Cape Town’s Table Bay to a warm finish at Saldanha Bay Yacht Club. Rooted in the daring 1980s Sea Harvest Race, this 163nm coastal challenge offers rugged beauty and tactical shifting winds. We are taking it on in the nimble Fareast 28R. Designed by Simonis Voogd, this axe-bow performance keelboat is a true downwind flyer! Trim your sails, watch for whales, and race to the braai in Saldanha Bay!
Race #2073
INFO by brainaid.de
Fareast 28R PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SUPBUD - SYC
Race starts: Nov 21st 07:00 Registration Closed
▶ Flash
GO TO RACE

Cross the Convergence 2026 - Agalega to Iles Crozet


The last race of our series of ocean voyages across the World’s convergence zones takes us from Agalega’s Vingt Cinq to the Crozet Island’s Ile aux Cochons. Politically, but hardly practically, Agalega belongs to Mauritius, more than 600nm distant. Improbably, Crozet belongs to France, more than 6000nm distant; also you will find rien des cochons there, just penguins. Anyway, it’s 2200nm between these unlikely outposts, and we will take our vintage Super Maxi 100, the one with the revised (v2) polar, to make the crossing between the two.
Race #1989
INFOby brainaid.de
Super Maxi 100PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: CCZ - SYC
RACE CLOSE: Wednesday,
December 2 at 2300 UTC.
Race starts: Nov 20th 18:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member CriticalHippo
  2. Sailonline Yacht Club Member rumskib
  3. Sailonline Yacht Club Member Kipper1258
  4. Sailonline Yacht Club Member rafa
  5. Sailonline Yacht Club Member cdhinman
  6. Sailonline Yacht Club Member rthinman
  7. Sailonline Yacht Club Member Panpyc
  8. Sailonline Yacht Club Member nacrr
  9. Sailonline Yacht Club Member brellis
  10. Sailonline Yacht Club Member YANN

View full list

Series

Mobile Client

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

The mobile client