|
|
25-05-2014, 05:51
|
#526
|
Registered User
Join Date: Mar 2010
Location: QC, Canada
Boat: Kelt 8.50
Posts: 190
|
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
|
|
|
25-05-2014, 07:49
|
#527
|
Registered User
Join Date: May 2011
Posts: 847
|
Re: WeatherFax...
|
|
|
25-05-2014, 07:51
|
#528
|
Registered User
Join Date: May 2011
Posts: 847
|
Re: WeatherFax...
|
|
|
25-05-2014, 22:39
|
#529
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,451
|
Re: WeatherFax...
Quote:
Originally Posted by LeaseOnLife
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.
Great, will add these
|
|
|
26-05-2014, 04:49
|
#530
|
Registered User
Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,480
|
Re: WeatherFax...
Quote:
Originally Posted by boat_alexandra
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
|
|
|
26-05-2014, 22:00
|
#531
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,451
|
Re: WeatherFax...
Quote:
Originally Posted by LeaseOnLife
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?
|
|
|
27-05-2014, 00:07
|
#532
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,451
|
Re: WeatherFax...
Dirk,
Try again with the latest git. I tested on windows and found a few problems so it should be fixed now.
|
|
|
27-05-2014, 00:24
|
#533
|
Registered User
Join Date: Apr 2012
Location: Ishøj, Copenhagen. Denmark
Boat: Van der Stadt Samoa 48
Posts: 143
|
Re: WeatherFax...
I would like to test it, if there is a windows version available.
Lars
|
|
|
27-05-2014, 04:14
|
#534
|
Registered User
Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,480
|
Re: WeatherFax...
Quote:
Originally Posted by boat_alexandra
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
|
|
|
28-05-2014, 01:11
|
#535
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,451
|
Re: WeatherFax...
Quote:
Originally Posted by LeaseOnLife
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.
|
|
|
28-05-2014, 11:03
|
#536
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,152
|
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
|
|
|
28-05-2014, 11:17
|
#537
|
Registered User
Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,480
|
Re: WeatherFax...
Quote:
Originally Posted by boat_alexandra
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
|
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
|
|
|
28-05-2014, 11:19
|
#538
|
Registered User
Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,480
|
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
|
|
|
28-05-2014, 20:16
|
#539
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,451
|
Re: WeatherFax...
Quote:
Originally Posted by LeaseOnLife
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
|
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.
|
|
|
28-05-2014, 21:55
|
#540
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,451
|
Re: WeatherFax...
Quote:
Originally Posted by LeaseOnLife
|
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.
|
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|