Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 25-05-2014, 05:51   #526
Registered User

Join Date: Mar 2010
Location: QC, Canada
Posts: 56
Re: WeatherFax...

Same compile error for me. Actually 2 errors:
Code:
[ 51%] Building CXX object plugins/weatherfax_pi/CMakeFiles/weatherfax_pi.dir/src/weatherfax_pi.cpp.o
/home/jean-marie/opencpn/plugins/weatherfax_pi/src/weatherfax_pi.cpp: In member function ‘virtual int weatherfax_pi::GetPlugInVersionMajor()’:
/home/jean-marie/opencpn/plugins/weatherfax_pi/src/weatherfax_pi.cpp:128:12: error: ‘PLUGIN_VERSION_MAJOR’ was not declared in this scope
     return PLUGIN_VERSION_MAJOR;
            ^
/home/jean-marie/opencpn/plugins/weatherfax_pi/src/weatherfax_pi.cpp: In member function ‘virtual int weatherfax_pi::GetPlugInVersionMinor()’:
/home/jean-marie/opencpn/plugins/weatherfax_pi/src/weatherfax_pi.cpp:133:12: error: ‘PLUGIN_VERSION_MINOR’ was not declared in this scope
     return PLUGIN_VERSION_MINOR;
            ^
Thanks

Jean-marie
__________________

__________________
houlejm is offline   Reply With Quote
Old 25-05-2014, 07:49   #527
Registered User

Join Date: May 2011
Location: On my boat, currently in Tahiti
Boat: Trireme 35 (and a bit)
Posts: 810
Re: WeatherFax...

Quote:
Originally Posted by LeaseOnLife View Post
Lower bandwidth chart from Chile
http://web.directemar.cl/met/jturno/cartas/carta.jpg

And Chile's low bandwidth marinier's weather page
http://web.directemar.cl/met/jturno/indice/index.htm
__________________

__________________
Littlechay is offline   Reply With Quote
Old 25-05-2014, 07:51   #528
Registered User

Join Date: May 2011
Location: On my boat, currently in Tahiti
Boat: Trireme 35 (and a bit)
Posts: 810
Re: WeatherFax...

South Africa
http://www.weathersa.co.za/web/image...cles/ma_sy.gif
__________________
Littlechay is offline   Reply With Quote
Old 25-05-2014, 22:39   #529
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,510
Re: WeatherFax...

Quote:
Originally Posted by LeaseOnLife View Post
Awesome!
It currently doesn't compile against latest opencpn git:
Code:
In member function 'virtual int weatherfax_pi::GetPlugInVersionMajor()':
/CODING/OPENCPN/OpenCPN/plugins/weatherfax_pi/src/weatherfax_pi.cpp:128:12: error: 'PLUGIN_VERSION_MAJOR' was not declared in this scope
     return PLUGIN_VERSION_MAJOR;
            ^
I think the problem is you are compiling in the opencpn source directory. You must compile the plugin as a standalone project running cmake, and make.

Quote:
I looked through WeatherFaxInternetRetrieval.xml and haven't seen the links below in the list. These links have been stable for quite a while now:
Bermuda
Day 2
http://www.weather.bm/maps/chart1.jpg
Day 3
http://www.weather.bm/maps/chart2.jpg
Day 4
http://www.weather.bm/maps/chart3.jpg
Day 5
http://www.weather.bm/maps/chart4.jpg
French Polynesia
Day 1
http://www.meteo.pf/bulletins/marines/preiso36.png
Day 2
http://www.meteo.pf/bulletins/marines/preiso60.png
Waves today
http://www.meteo.pf/bulletins/marines/etatmer12.png
Waves Day 1
http://www.meteo.pf/bulletins/marines/etatmer36.png
Waves Day 2
http://www.meteo.pf/bulletins/marines/etatmer60.png
Swell today
http://www.meteo.pf/bulletins/marines/houle12.png
Swell Day 1
http://www.meteo.pf/bulletins/marines/houle36.png
Swell Day 2
http://www.meteo.pf/bulletins/marines/houle60.png

more to come

Dirk
Great, will add these
__________________
boat_alexandra is offline   Reply With Quote
Old 26-05-2014, 04:49   #530
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: Around once, back to work, for a while :-(
Boat: Sailboat
Posts: 966
Re: WeatherFax...

Quote:
Originally Posted by boat_alexandra View Post
I think the problem is you are compiling in the opencpn source directory. You must compile the plugin as a standalone project running cmake, and make.
You are correct, it compiled now.

After "make install" I had to manually create ~/.opencpn/plugins/weatherfax/ then the retrieval worked.

Suggestion: for weatherfaxes/images retrieved via the internet, could the calibration for the images be stored together with the URL? For example: the French Polynesia charts all would use the same calibration. This shoud work for many computer generated charts. For handdrawn charts, like the SA synopsis, it should only suggest the projection.

Dirk
__________________
LeaseOnLife is offline   Reply With Quote
Old 26-05-2014, 22:00   #531
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,510
Re: WeatherFax...

Quote:
Originally Posted by LeaseOnLife View Post
You are correct, it compiled now.

After "make install" I had to manually create ~/.opencpn/plugins/weatherfax/ then the retrieval worked.
Ok, I need a mkdir
Quote:
Suggestion: for weatherfaxes/images retrieved via the internet, could the calibration for the images be stored together with the URL? For example: the French Polynesia charts all would use the same calibration. This shoud work for many computer generated charts. For handdrawn charts, like the SA synopsis, it should only suggest the projection.

Dirk
It already does this. They are in a separate xml file "CoordinateSets.xml" This file gets installed, but a local copy should then be available as the user may update it as well (so two copies in separate locations) You should not have to manually enter coordinates for any of the internet generated images for example, because I already did... is this a bug?
__________________
boat_alexandra is offline   Reply With Quote
Old 27-05-2014, 00:07   #532
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,510
Re: WeatherFax...

Dirk,

Try again with the latest git. I tested on windows and found a few problems so it should be fixed now.
__________________
boat_alexandra is offline   Reply With Quote
Old 27-05-2014, 00:24   #533
Registered User

Join Date: Apr 2012
Location: Panama City, Panama
Boat: Van der Stadt Samoa 48
Posts: 118
Re: WeatherFax...

I would like to test it, if there is a windows version available.

Lars
__________________
Taarnskov is offline   Reply With Quote
Old 27-05-2014, 04:14   #534
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: Around once, back to work, for a while :-(
Boat: Sailboat
Posts: 966
Re: WeatherFax...

Quote:
Originally Posted by boat_alexandra View Post
Dirk,

Try again with the latest git. I tested on windows and found a few problems so it should be fixed now.
I pulled the latest on git, it compiled fine (I am running GENTOO 64bit Linux).

Thanks for the hint with CoordinateSets.xml !! After I copied CoordinateSets.xml into the user directory, it works/displays automatically. Before that, the calibration dialog comes up and all coordinates are zero. So somehwere is a bug, not reading the installed CoordinateSets.xml (mine is in /usr/local/share/opencpn/plugins/weatherfax_pi/data/CoordinateSets.xml).


Dirk
__________________
LeaseOnLife is offline   Reply With Quote
Old 28-05-2014, 01:11   #535
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,510
Re: WeatherFax...

Quote:
Originally Posted by LeaseOnLife View Post
I pulled the latest on git, it compiled fine (I am running GENTOO 64bit Linux).

Thanks for the hint with CoordinateSets.xml !! After I copied CoordinateSets.xml into the user directory, it works/displays automatically. Before that, the calibration dialog comes up and all coordinates are zero. So somehwere is a bug, not reading the installed CoordinateSets.xml (mine is in /usr/local/share/opencpn/plugins/weatherfax_pi/data/CoordinateSets.xml).


Dirk
Do you still have this problem with the latest git? I think it's fixed now. Anyway.. how about some more fax urls? Any more suggestions for this plugin? The HF schedules is still pretty much un-tested and also probably needs some work.
__________________
boat_alexandra is offline   Reply With Quote
Old 28-05-2014, 11:03   #536
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,633
Re: WeatherFax...

Sean,
I tried standalone compile with MSVC cmd window from build directory
after git pull
cmake ..
cmake --build . --config release
and got 41 errors

See attached please
Attached Files
File Type: doc weatherfax_pi output Wed,May 28-failed.doc (20.5 KB, 24 views)
__________________
rgleason is online now   Reply With Quote
Old 28-05-2014, 11:17   #537
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: Around once, back to work, for a while :-(
Boat: Sailboat
Posts: 966
Re: WeatherFax...

Quote:
Originally Posted by boat_alexandra View Post
Do you still have this problem with the latest git? I think it's fixed now.
I cleaned out my ~/.opencpn from old manually copied files and directories. It works now, the plugin directory is created and the calibration of the internet-retrieved weatherfax works (tested with the Bermuda wfax)

Quote:
Anyway.. how about some more fax urls?
Fiji
6 am
http://www.met.gov.fj/aifs_prods/0990.jpg
3 pm
http://www.met.gov.fj/aifs_prods/0991.jpg
12:30 am
http://www.met.gov.fj/aifs_prods/0992.jpg
Mauritius
Synoptic:
http://metservice.intnet.mu/synopticimages/chart.jpg

Chile & Cape Horn

http://web.directemar.cl/met/jturno/cartas/imagen.jpg

Quote:
Originally Posted by Littlechay View Post
Lower bandwidth chart from Chile
http://web.directemar.cl/met/jturno/cartas/carta.jpg

And Chile's low bandwidth marinier's weather page
http://web.directemar.cl/met/jturno/indice/index.htm



Some testing results:

Looking good (download, automatic calibration and displays at the correct position)
  • French Poly: all
  • Singapore: all
  • India: Asia Sector, NWQ
Fails to calibrate
  • Chile Streamline analysis
  • India NEQ (I tried a few. not all)
Position is wrong for:
  • Chile Streamline 1000-500hpa
  • South Africa (crooked and over Southamerica).


Quote:
Any more suggestions for this plugin?
Little things:
  • in the "Weather Fax" window, one should be able to delete list-items with just hitting the "delete" key (currently mapped to CTRL-D)
  • deleting one item should select the next item in the list. Currently no item is selected. To delete several items one has to click on that item, delete, click on the next item.
  • When selecting multiple items with click and shift-click, then selecting delete, some items are not deleted. Example: download all 8 FP weatherfaxes. Select all 8 , then hit control D for delete. 4 items remain in the list. Repeat: 2 items remain in the list. Repeat, 1 item stays in the list, repeat, finally all items are deleted in the list.
  • I keep poking at it, this is super useful!
Dirk
__________________
LeaseOnLife is offline   Reply With Quote
Old 28-05-2014, 11:19   #538
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: Around once, back to work, for a while :-(
Boat: Sailboat
Posts: 966
Re: WeatherFax...

Sean:

Japan weatherfaxes:

This will need a bit of coding (day/time) as you have done for the Australian BOM:

Japan Meteorological Agency | Weather Maps
__________________
LeaseOnLife is offline   Reply With Quote
Old 28-05-2014, 20:16   #539
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,510
Re: WeatherFax...

Quote:
Originally Posted by LeaseOnLife View Post
I cleaned out my ~/.opencpn from old manually copied files and directories. It works now, the plugin directory is created and the calibration of the internet-retrieved weatherfax works (tested with the Bermuda wfax)

Fiji
6 am
http://www.met.gov.fj/aifs_prods/0990.jpg
...
Ok, will add these
Quote:
Some testing results:[/B]
Looking good (download, automatic calibration and displays at the correct position)

...
Fails to calibrate
  • Chile Streamline analysis
  • India NEQ (I tried a few. not all)
Ok, I forgot India NEQ, fixed now.

Chile Streamline can't be done because the south pole is actually in the image, and the current polar mapping algorithm doesn't allow for this.
Quote:
Position is wrong for:
  • Chile Streamline 1000-500hpa
  • South Africa (crooked and over Southamerica).
Ok, all fixed except south africa server isn't working. It isn't a perfect mapping in this case because they used a conic projection so I have to fudge it a bit to make it map at all, but I think it's reasonably close.. will try again later.
Quote:
Little things:
  • in the "Weather Fax" window, one should be able to delete list-items with just hitting the "deletee" key (currently mapped to CTRL-D)
  • deleting one item should select the next item in the list. Currently no item is selected. To delete several items one has to click on that item, delete, click on the next item.
  • When selecting multiple items with click and shift-click, then selecting delete, some items are not deleted. Example: download all 8 FP weatherfaxes. Select all 8 , then hit control D for delete. 4 items remain in the list. Repeat: 2 items remain in the list. Repeat, 1 item stays in the list, repeat, finally all items are deleted in the list.
  • I keep poking at it, this is super useful!
Dirk
I fixed the multi-delete problem, thanks.

Quote:
Originally Posted by LeaseOnLife View Post
Sean:

Japan weatherfaxes:

This will need a bit of coding (day/time) as you have done for the Australian BOM:

Japan Meteorological Agency | Weather Maps
Yes.. there are several servers which use a url which is based on the date and time. This is not yet implemented (BOM uses only a relative time to now, so not changing) So once this is implemented, and it won't be hard.. then I can add japan, uk and I think a few others.
__________________
boat_alexandra is offline   Reply With Quote
Old 28-05-2014, 21:55   #540
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,510
Re: WeatherFax...

Ok, added
The link does not work for me
I choose not to include this one because it is a very slow download and not as good detail as the other image which is smaller.
__________________

__________________
boat_alexandra is offline   Reply With Quote
Reply

Tags
paracelle

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
For Sale: SSB, Tuner, Amp, WeatherFax Palarran Classifieds Archive 7 19-03-2011 08:22
Help with WeatherFax and SeaTTY desierto Navigation 2 12-12-2008 21:36
Basic Weatherfax reception Tnflakbait Marine Electronics 3 23-09-2008 22:55
How do I set myself up with weatherfax? tracker_46 Marine Electronics 4 12-10-2006 15:51
Weatherfax Recommendations Please Salacia Marine Electronics 3 03-07-2005 14:28


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 09:36.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2016, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.