Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 25-05-2014, 04:51   #526
Registered User

Join Date: Mar 2010
Location: QC, Canada
Boat: Kelt 8.50
Posts: 180
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, 06:49   #527
Registered User

Join Date: May 2011
Posts: 847
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, 06:51   #528
Registered User

Join Date: May 2011
Posts: 847
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, 21:39   #529
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
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
seandepagnier is offline   Reply With Quote
Old 26-05-2014, 03:49   #530
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,466
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, 21:00   #531
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
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?
seandepagnier is offline   Reply With Quote
Old 26-05-2014, 23:07   #532
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: WeatherFax...

Dirk,

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

Join Date: Apr 2012
Location: Port Steven, NSW, Australia
Boat: Van der Stadt Samoa 48
Posts: 142
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, 03:14   #534
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,466
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, 00:11   #535
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
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.
seandepagnier is offline   Reply With Quote
Old 28-05-2014, 10:03   #536
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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, 56 views)
rgleason is offline   Reply With Quote
Old 28-05-2014, 10:17   #537
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,466
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, 10:19   #538
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,466
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, 19:16   #539
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
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.
seandepagnier is offline   Reply With Quote
Old 28-05-2014, 20:55   #540
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
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.
seandepagnier is offline   Reply With Quote
Reply

Tags
paracelle


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 07:22
Help with WeatherFax and SeaTTY desierto Navigation 2 12-12-2008 20:36
Basic Weatherfax reception Tnflakbait Marine Electronics 3 23-09-2008 21:55
How do I set myself up with weatherfax? tracker_46 Marine Electronics 4 12-10-2006 14:51
Weatherfax Recommendations Please Salacia Marine Electronics 3 03-07-2005 13:28

Advertise Here


All times are GMT -7. The time now is 21:45.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.