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:

Cross the Convergence 2026 - Robinson Crusoe to Galapagos


Welcome to our first race of a new series of ocean voyages across the World’s convergence zones, this first race taking you north from south of the Tropic of Capricorn to the Equator-straddling Galapagos, home of magical iguanas and other exotic fauna (but no mythical kings, Dory) Departing from the island where in 1704 adventurer Alexander Selkirk inspired Daniel Defoe to write the best-seller "The Life and Adventures of Robinson Crusoe", by debarking off the unsound "HMS Cinque Ports", four months before she foundered off the coast of present-day Colombia, we will sail the 2200nm in our decidedly sounder and faster than the " Cinque Ports",
Ocean 50 !
Race #1983
INFOby brainaid.de
Ocean 50 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: CCZ - SYC
Race starts: Jan 16th 18:00 Registration Open!
▶ Flash
GO TO RACE

Bight of Bonny TIMED Race 2026

Welcome to the first TIMED race of 2026! Our race finds us in the Gulf of Guinea and the Bight of Bonny. Starting in Douala, Cameroon the 170 nm course takes us around the island of Bioko with its Caldera and tropical rainforests finishing in Calabar, Nigeria. The boat for this race is the sporty Farr 30. This is a TIMEDrace so you may RE-REGISTER HEREto try again after finishing a run. You will have 13 days and 11 hours to test your skill and decision making after the race opens.
Race #2004
INFOby brainaid.de
Farr 38 Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ1 - TRCH - SYC
RACE CLOSE: Saturday,
24 January at 23:00 UTC
Race starts: Jan 11th 12:00 Registration Open!
▶ Flash
GO TO RACE

Natuna Sea Race 2026


At 4.0N 108.2E lies the island of Natuna Besar, Great Natuna, surrounded by at least 154 islands, of which 127 uninhabited, Indonesia’s Natuna Regency, and all around this archipelago, the Natuna Sea, bordered by Borneo to the east, the Java Sea to the south, and the Malay peninsula to the west, and extending north to cross a disputed international border with China into the South China Sea. And it’s a border that matters, there’s gas here! But why worry, let’s race – 2050nm in our goo’ol’ Open 60s in between the production platforms, prowling destroyers and submarines.
Race #1997
INFOby brainaid.de
Open 60 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC
Race starts: Jan 06th 17:00 Registration Closed
▶ Flash
GO TO RACE

Cape Town to Rio 2026

Welcome to South Africa and RCYC's classic transatlantic Cape2Rio Race from Cape Town, South Africa, to Rio de Janeiro, Brazil. First run in 1971, this run is buddied with the IRL, Cape2Rio 2025 arranged by the Royal Cape Yacht Club with the cooperation of the
Iate Clube do Rio de Janeiro Despite this being announced the 2025 race (starting dec. 27) it is the 2026 SOL championship kickoff. This virtual version, will be raced once again in Mark Mills' 74ft speedster, the stunning C2R74.
Race #1996 INFO
by brainaid.de
C2R74 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
OCQ1 - OCCH - SUPBUD - SYC
Race starts: Dec 27th 12: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 rafa
  5. Sailonline Yacht Club Member vida
  6. Sailonline Yacht Club Member bonknhoot
  7. Sailonline Yacht Club Member Sax747
  8. Sailonline Yacht Club Member rumskib
  9. Sailonline Yacht Club Member CollegeFund
  10. Sailonline Yacht Club Member Panpyc

View full list

Series

Mobile Client

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

The mobile client