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:

Chesapeake and Potomac TIMED Race 2026

Welcome to the Chesapeake Bay, the sailing capital of the United States. Feast on Maryland crab cakes or crabs seasoned with Old Bay spice before sailing down the Bay aboard a Formula 18 catamaran on a 128 nm course that will take you up the Potomac River finishing at Quantico, Virginia. 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 #2032
INFOby brainaid.de
Formula 18 catamaran Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ2 - TRCH - SYC
RACE CLOSE: Saturday,
23 May at 23:00 UTC
Race starts: May 10th 12:00 Registration Open!
▶ Flash
GO TO RACE

Tobruk to Iskenderun 2026

Welcome to the fourth of our nine races across the length and breadth of the Magical Mediterranean Sea, and the second that is not in partnership with a real-life event, this time for good reason, which we won’t get into here. From Tobruk to Iskenderun it’s 670nm in length, with the added complication that the island of Cyprus will be in your way. Hoping, possibly forlornly, for plenty of downwind sailing, we’ll take the Lagoon 55 for the voyage!
Race #1976
INFO by brainaid.de
Lagoon 55 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: MED - SYC
Race starts: May 05th 15:00 Registration Closed

▶ Flash
GO TO RACE

Tasmania to Kamchatka 2026

Welcome to yet another all-new route. Tasmania to Kamchatka, part of our Ocean Championship and also the third leg of the ROW (Round the Old World) series. Be aware of the obstacles on the way, likely to split the fleet. It's like X:mas to X:mas, crossing the same waters, navigating the same archipelagos. This second race of OCQ2 2026 will be sailed in our revised 'version 2' Imoca 60 Foil. Race #2031
INFO by brainaid.de
Imoca 60 Foil v2 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ2 - ROW - OCCH - SYC
Race starts: May 04th 11:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member WRmirekd
  2. Sailonline Yacht Club Member CriticalHippo
  3. Sailonline Yacht Club Member Panpyc
  4. Sailonline Yacht Club Member rafa
  5. Sailonline Yacht Club Member CollegeFund
  6. Sailonline Yacht Club Member rumskib
  7. Sailonline Yacht Club Member KaSToR
  8. Sailonline Yacht Club Member bonknhoot
  9. Sailonline Yacht Club Member vida
  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