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:

Great Bear Ice Race 2025


You can fly to Great Bear Lake Airport, but if the ice is good, instead hire a pick-up truck, load your disassembled DN into the cargo bed and drive, first following the McKenzie River north, and then straight across the lake to the start of our final Ice Boat series race of roughly 100nm in length. The Airport authorities have agreed to leave all lights on, so you should just about be able to see where you are going as you zing and rumble, PL-free over the ice!
Race #1853
INFOby brainaid.de
DN PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: DN - SYC
RACE CLOSE: Friday,
December 12 at 2300 UTC.
Race starts: Dec 07th 09:00 Registration Closed
▶ Flash
GO TO RACE

Chile Islands RTI Sprint 2025


Across the Canal Puyuhuapi from Puerto Cines on the Chilean mainland lies the Parque Nacional Isla Magdelena, and further west across the Canal Moraleda from Magdelena lie the islands of the Chonos Archipelago. Returning for the first time since 2017 we find ourselves in vari-charted waters here, with the mapping between physical islands and their names not 1:1 but rather some:some. It’s only 26nm but you could get lost! Good luck.
Race 1980
INFO by brainaid.de
First 40 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
SPQ4 - SPRCH - SUPSOL – SYC
RACE CLOSE: Thursday,
December 11 at 2300 UTC.
Race starts: Dec 06th 21:00 Registration Closed
▶ Flash
GO TO RACE

Christmas to Christmas Island 2025

Two waypoints, start and finish, and between them 5827 NM of two oceans. Not much time if we want to sit at the Christmas Eve table. You will need to maintain an average speed of over 10 knots, maybe quite possible with this Maxi Trimaran, but prepare your vessel well and choose the best of the many possible routes. Hands up everyone who knew there were TWO Christmas Islands?! OK, maybe you have sailed this Sailonline course before... but it's time to get ready for the 2025 challenge of racing between Christmas Island in the Pacific to Christmas Island in the Indian Ocean! It also marks the conclusion of our prestigious Ocean Race Championship 2025. Please have fun! Fair winds!
PRIZE: SMPF
Race #1967
INFO by brainaid.de
Maxi Trimaran PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ4 - OCCH - SUPSOL - SYC
Race starts: Dec 01st 11:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member KaSToR
  2. Sailonline Yacht Club Member CriticalHippo
  3. Sailonline Yacht Club Member WRmirekd
  4. Sailonline Yacht Club Member rafa
  5. Sailonline Yacht Club Member vida
  6. Sailonline Yacht Club Member CollegeFund
  7. Sailonline Yacht Club Member bonknhoot
  8. Sailonline Yacht Club Member Panpyc
  9. Sailonline Yacht Club Member sassy63
  10. Sailonline Yacht Club Member BRENTGRAY

View full list

Series

Mobile Client

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

The mobile client