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:

Los Roques 2026


It's winter but not in the Caribbean, so welcome to Venezuela's Islas Los Roques archipelago for a 20nm sprint through these beautiful islands. Take care with your mutinous crew, they may be tempted to BBQ and snorkel!
Race #2007
INFO by brainaid.de
SOTO 30 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
RANKING:
SPQ1 - SPCH - SYC
RACE CLOSE: Wednesday,
February 11 at 2300 UTC.
Race starts: Feb 07th 13:00 Registration Open!
▶ Flash
GO TO RACE

Cross the Convergence 2026 - Samoa to Hawaii


The second race of our new series of ocean voyages across the World’s convergence zones, takes us northward again up the Pacific Ocean, now from Samoa at 13.5 degrees South, across the Equator to Hawaii, famed for its breaking surf and active volcanoes, on the edge of the Tropic of Cancer at 19.5 degrees North. It’s 2300nm, so we’ll take our very steady Steinlager II. Race #1982
INFOby brainaid.de
Steinlager IIPARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: CCZ - SYC
Race starts: Feb 06th 18:00 Registration Open!
▶ Flash
GO TO RACE

Beketov by Balloon 2026 - In Siberia


Way-back-when France and England, and Spain as well, were squabbling about who should control what of North America, only to lose the most of it to their own insurging colonists, their eastern European neighbour empire, Russia, was quietly assimilating vast, thinly nomadically populated territory of its own – Siberia! Amongst the many explorers and adventurers that served Russia so well in these conquests was the Cossack hetman Pyotr Beketov. Let’s pretend we’re he and eschewing horseback, let’s travel by balloon from Yekaterinberg to Krasnoyarsk – just a short 2000km (1100nm) section of the Trans-Siberian Express’ 9289km!
Race #1972
INFOby brainaid.de
SOL Balloon PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: BOL - SYC
Race starts: Feb 03rd 13:00 Registration Closed
▶ Flash
GO TO RACE

West Papua to Oregon 2026

Our next race in our Ocean Championships is the first of a series of great natural migrations we will track in 2026. The leatherback turtle is the most widely distributed marine reptile on planet Earth, and chooses to breed in warm tropical waters, but prefers to forage in more temperate habitats, travelling thousands and thousands of miles effortlessly annually to maintain this way of life. Our race will follow one of the typical trips of this turtle, from breeding grounds in the seas off West Papua to the coast of Oregon. It’s only 5900nm, so to keep up, but in comfort, we’ll follow in our Gunboat 90.
Race #2006
INFO by brainaid.de
GB 90 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ1 - OCCH - MIG - SYC
Race starts: Feb 02nd 11:00 Registration Open!
▶ 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 rumskib
  6. Sailonline Yacht Club Member Sax747
  7. Sailonline Yacht Club Member vida
  8. Sailonline Yacht Club Member bonknhoot
  9. Sailonline Yacht Club Member Kipper1258
  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