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:

Pantaenius Shetland Race 2022 - Leg 2
As always, we don't spend much time in Lerwick, Shetland and after some brief but excellent celebrations we are rapidly heading back to Bergen, Norway, for the second leg of the Pantaenius Shetland Race 2022. The North Sea always provides with some exciting racing and we are sure that this race will be no different!
Race #1581
INFO from brainaid.de
First 40.7 Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
RANKING: SYC - SHE
Race starts: Jun 26th 09:00 Registration Open!

▶ Flash
GO TO RACE

Isla St George Sprint 2022
The Bass Islands, in western Lake Erie, are a mere couple of miles west of the southernmost boundary of Canada. In this 21nm PYOC sprint, we will set off from East Harbor in our RC 44s and leave North Bass Island (historically Isle St. George) to port before quickly returning to East Harbor.
Race #1584
INFOby brainaid.de
RC 44 PARTICULARS
NAM_AWIP WX Updates:
0245 / 0845 / 1445 / 2045
Ranking: SPRQ2 - SPRCH - SUPSOL - SYC
Race starts: Jun 25th 18:00 Registration Open!

▶ Flash
GO TO RACE

Pantaenius Shetland Race 2022 - Leg 1
Welcome back to outer Korsfjorden, Norway, for the first leg of two in
Pantaenius Shetland Race 2022 from Norway to Shetland. Sailonline is extremely excited to be buddying-up for this amazing series which is a classic that Sailonline has had the honour of presenting to its community for some years now. We will be competing in our ever so exciting First 40.7’s which will in no doubt cater for some exciting racing. We look forward to seeing you at the start line!
Race #1580
INFO from brainaid.de
First 40.7 Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
RANKING: SYC - SHE
Race starts: Jun 22nd 08:00 Registration Closed

▶ Flash
GO TO RACE

Newport Bermuda Race 2022


The 635-mile biennial Newport Bermuda Race is one of the oldest regularly scheduled ocean races, and with the Fastnet Race and the Sydney to Hobart Race, it is one of the three great classic races of the yachting world. Founded in 1906, this the 52nd running of the Bermuda Race can also be participated in online.
Entries are invited for one of the four divisions:
Double-Handed Division:
Jeanneau Sun Fast 3300
St. David's Lighthouse Division:
First 44.7 Asymmetric
Gibbs Hill Lighthouse Division:
Reichel Pugh 64
Finisterre Division:
Delphia 47
Details for each yacht are available in the ‘Particulars’ links below and be sure to register your online choice on the Bermuda Race Online link – there are some fine prizes to be won.
As in real life, you can only sail one boat in one division, so choose your virtual yacht carefully, and because of the unusual (for SOL) 4-division nature of the event, please note results will not count towards ANY Sailonline Rankings.
Race #1568
INFOby brainaid.de
Sun Fast 3300 PARTICULARS
First 44.7 A PARTICULARS
RP 64 PARTICULARS
Delphia 47 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: None
Sponsors:

RACE CLOSE: Saturday,
July 2 at 2300 UTC.
Race starts: Jun 17th 17:00 Registration Closed
▶ Flash
GO TO RACE

Geraldton to Cape Town 2022
A race in the Southern Indian Ocean is always entertaining, especially in a Riptide 50. Traditionally the course would be West to East, to take advantage of the prevailing winds, but this time the SRC is challenging us to an E-W course, from Geraldton in Western Australia to Cape Town in South Africa. A brief 4800nm!
PRIZE: SMPF
Race #1575
INFO by brainaid.de
Riptide 50 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
OCQ2 - OCCH - SUPSOL - SYC
Race starts: Jun 12th 05:00 Registration Closed

▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member WRmirekd
  2. Sailonline Yacht Club Member rafa
  3. Sailonline Yacht Club Member Pit8008
  4. Sailonline Yacht Club Member GREATSKUA
  5. Sailonline Yacht Club Member Vida_Maldita
  6. Sailonline Yacht Club Member FreyjaUSA
  7. Sailonline Yacht Club Member Sax747
  8. Sailonline Yacht Club Member Satori
  9. Sailonline Yacht Club Member HappyHour
  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