Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 17-11-2014, 14:00   #631
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
Images: 2
Re: WeatherFax...

Uwe, describes some problems. Troubles getting it "calibrated" then loosing all his tracks, etc. Perhaps Uwe can add more detail after questions etc.

http://www.cruisersforum.com/forums/...ml#post1679820


Uwe, please understand that the plugin currently will lose the location data for a downloaded gif or png image from the weatherservices, when you close Opencpn. The Lat Long is NOT saved. Sean has plans to convert the image and lat long to a KAP file which contains position information, then you will not have the same difficulties. See this post and read the following posts http://www.cruisersforum.com/forums/...ml#post1594552
rgleason is offline   Reply With Quote
Old 18-11-2014, 08:01   #632
Registered User

Join Date: Feb 2013
Location: Germany, Bavaria
Boat: Jeanneau Sun Fizz 40' or is it 39'?? :-)
Posts: 206
Re: WeatherFax...

Here I post my original input, which I first placed in the General OpenCPN thread. In adition I read through the suggested post above, however, I am not enough into the techniques here, to be able to understand, if this addresses the problem I am seeing. In addition I went back as far as 3.3.1606, to see, if the problem came up in any later release, but this was in vain, behaviour was the same everywhere, so this seems to be a genuine Weatherfax Plugin problem. Please have a look at the description below- and if this is duplicate to a prior reported problem, please apologize. If not, and you need any additional data and/or testing, i would be glad if I can be of a little help .... :-)

Here follows the post:

Weatherfax Plugin "clobbers" route and track data
Dear all,

don't know, where to place this, as I haven't found any thread regarding weatherfax. I installed the weatherfax plugin V 1.3 and tested it recently on the latest Beta versions of OpenCPN, currently I tried 3.3.2316 but the behaviour is always the same: If you "calibrate" a weatherfax (like a TIFF image from Saildocs) everything works fine, until you close and later re-open OpenCPN. After re-opening, all the tracks and routes display very distorted, as if a huge number of waypoints is missing and you only see a VERY rough resemblance of what was a relatively smooth track or route before. Further, if - in this situation - you want to use weathermaps downloaded from the internet with the plugin, you get a message saying that the map has negative data and will therefore not be loaded. You then see the map like any image map and can re-calibrate it with the plugin. ....

To get all of this corrected, I erased all the plugin data (All Users/OpenCPN/Plugins/weatherfax) This cured the "negative map" problem and then erased the navobj.xml and renamed an older version e.g. navobj.xml.3 to navobj.xml and I got back my "smooth" tracks and routes... The problem is absolutely reproduceable. I do not remember, if the behaviour of the plugin was the same with a beta version of OpenCPN around August this year.

Can somebody check into this? Thanks a lot. If additional info is needed, please give me a post.

Best regards, Uwe
HUR450502 is offline   Reply With Quote
Old 18-11-2014, 12:59   #633
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
Images: 2
Re: WeatherFax...

Quote:
Weatherfax Plugin "clobbers" route and track data
I have never been aware of this problem. In fact I have many routes across the Atlantic and they have never been "clobbered" to my knowledge!

A step by step description of how this feat is achieved would be appreciated.
rgleason is offline   Reply With Quote
Old 18-11-2014, 13:50   #634
Registered User

Join Date: Feb 2013
Location: Germany, Bavaria
Boat: Jeanneau Sun Fizz 40' or is it 39'?? :-)
Posts: 206
Re: WeatherFax...

... o.k., step by step.

1. Start OpenCPN and display NorthAtlantic on CM93 chart
2. Start Weatherfax plugin and select a downloaded fax file (from sailmail)
3. Calibrate the fax to overlay the North Atlantic
4. Display - everything is bright and beautiful so far ...
5. Close OpenCPN
6. Restart OpenCPN - and here you have the results.....

You see this documented in the attached screenshots. OK??

This is absolutely reproduceable.....

Does this help?

Best regards, Uwe
Attached Thumbnails
Click image for larger version

Name:	Normaldisplay.JPG
Views:	158
Size:	115.3 KB
ID:	91911   Click image for larger version

Name:	CalibratedWeatherfax .JPG
Views:	339
Size:	224.5 KB
ID:	91912  

Click image for larger version

Name:	ResultDisplay.JPG
Views:	181
Size:	281.6 KB
ID:	91913   Click image for larger version

Name:	AfterRestartOpenCPN.JPG
Views:	187
Size:	139.4 KB
ID:	91914  

HUR450502 is offline   Reply With Quote
Old 18-11-2014, 17:04   #635
Registered User

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

it is easy to make undefined behavior from c++ by accident

The downloaded fax from sailmail, you opened as an image file correct?

If you don't calibrate the image the tracks aren't distorted?
seandepagnier is offline   Reply With Quote
Old 18-11-2014, 18:43   #636
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
Images: 2
Re: WeatherFax...

Sean, I don't understand why this would happen! In fact I am amazed. Why would the Weatherfax Wizard affect a route while transforming an image file? They are stored separately and with wizard would not have access to it.
rgleason is offline   Reply With Quote
Old 18-11-2014, 20:40   #637
Registered User

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

can anyone else repeat this problem?

please post opencpn.log and navobj.xml
seandepagnier is offline   Reply With Quote
Old 19-11-2014, 01:01   #638
Registered User

Join Date: Feb 2013
Location: Germany, Bavaria
Boat: Jeanneau Sun Fizz 40' or is it 39'?? :-)
Posts: 206
Re: WeatherFax...

Quote:
Originally Posted by boat_alexandra View Post
it is easy to make undefined behavior from c++ by accident

The downloaded fax from sailmail, you opened as an image file correct?

If you don't calibrate the image the tracks aren't distorted?
Sean, I just opened the image and did NOT calibrate the image. It consequently didn't display, however, after restarting OpenCPN

- same behaviour.

In a way I am puzzled, I wrecked my brain, and here is the history:

I believe, I had used this feature previously and was absolutely impressed about the easy and logical calibration mechanism and think there was no distortion. The first time I saw it was, after I wanted to calibrate a cylindrical satellite image - I believe - but I didn't follow this up, as I went to the 3.3.2222 beta, which started very slowly due to some initial calculations. Pavel wanted to have the log and the navobj.xml as well and I renamed one of the older navobj.xmls to get my tracks back. So, maybe I carried a previous error through the navobj.xml file(s)???

So, I attach here the logfile and the two navobj.xml files, renamed to ".avi" to allow the file size to be uploaded - the plain navobj.xml is the one with the distorted tracks and the navobj.xml.2 is the one with the undistorted tracks. Does this help??

Thanks a lot, and - again - I think an excellent plugin, currently in the mediterranean and with internet connection, I use the passage weather maps, which are pre-configured and this is just great!!!

Hopefully I didnÄt doo anything wrong and cause a lot of work now....

Best regards, Uwe
HUR450502 is offline   Reply With Quote
Old 19-11-2014, 01:09   #639
Registered User

Join Date: Feb 2013
Location: Germany, Bavaria
Boat: Jeanneau Sun Fizz 40' or is it 39'?? :-)
Posts: 206
Re: WeatherFax...

Oops, obviously the pload didn't work?!

try again.... renamed the logfile to opencpn.log.doc - it still is plain text....
HUR450502 is offline   Reply With Quote
Old 19-11-2014, 03:41   #640
Registered User

Join Date: Feb 2013
Location: Germany, Bavaria
Boat: Jeanneau Sun Fizz 40' or is it 39'?? :-)
Posts: 206
Re: WeatherFax...

I am getting problems, to upload these files...... try one by one..... OK, realize, it doesn't work, the .xml files are too big and faking them as videos is being intercepted by the "double-check" of the forum software. What can we do, to transfer the data to you Sean?? If you pass me an e-mail address, we could use "Wetransfer", or do you have another method at hand?

Sorry for causing so many problems...

Best regards, Uwe

P.S.: At least the log could be attached...
Attached Files
File Type: doc opencpn.log.doc (277.5 KB, 48 views)
HUR450502 is offline   Reply With Quote
Old 19-11-2014, 04:10   #641
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
Images: 2
Re: WeatherFax...

Uwe you could try to upload to opencpn beta file thing main dir. Do you know how to use it? Or dropbox or google drive

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 19-11-2014, 05:00   #642
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
Images: 2
Re: WeatherFax...

Uwe, other option is to try zipping the file and put .doc at the end. I have not ever tried that but it might work.

There that worked -- a weatherfax.gif file that was compressed to zip. Then added the ".doc" as long as it compresses to be low the maximum allowed by the forum rules for ".doc" files = 400 kb
Attached Files
File Type: doc A_sfcbw.gif.zip.doc (86.9 KB, 43 views)
rgleason is offline   Reply With Quote
Old 19-11-2014, 05:59   #643
Registered User

Join Date: Feb 2013
Location: Germany, Bavaria
Boat: Jeanneau Sun Fizz 40' or is it 39'?? :-)
Posts: 206
Re: WeatherFax...

..... let's give it a try, thanks for the hint......

Here are the files for Post #638,639,640 .....

Best regards,

Uwe

it seems to have worked !!!!

so, be aware, the navobj.zip should unpack to navobj.xml and has the distorted tracks, while the navobj.xml.zip should unpack to navobj.xml.2 and has the "undistorted" tracks, ok?? maybe it is all self explaining, but I wanted to make sure..... (the logfile is in post 640)
Attached Files
File Type: doc navobj.xml.zip.doc (350.1 KB, 39 views)
File Type: doc navobj.zip.doc (131.1 KB, 48 views)
HUR450502 is offline   Reply With Quote
Old 19-11-2014, 12:39   #644
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
Images: 2
Re: WeatherFax...

Uwe, good job. I have looked at the opencpn.log and you are using it does not look unusual to me, but Sean might be a better judge of that.
Quote:
2014-11-19
09:25:17: ------- Starting OpenCPN -------
09:25:17: Version 3.3.2316 Build 2014-11-16
09:25:17: wxWidgets version: wxWidgets 2.8.12
09:25:17: MemoryStatus: mem_total: 2791 mb, mem_initial: 9 mb
09:25:17: SData_Locn is C:\Program Files\OpenCPN\

09:25:18: using catalog 'wxstd' from 'C:\Program Files\OpenCPN\share/locale\de\LC_MESSAGES\wxstd.mo'.
09:25:18: looking for catalog 'wxmsw' in path 'C:\Program

09:25:18: catalog file for domain 'wxmsw' not found.
09:25:18: Opencpn language set to: de_DE

09:25:21: PlugInManager: Loading PlugIn: C:\Program Files\OpenCPN\plugins\weatherfax_pi.dll
09:25:21: C:\Program Files\OpenCPN\plugins\weatherfax_pi.dll
API Version detected: 108
PlugIn Version detected: 103

09:26:24: PlugInManager: Deactivating PlugIn: C:\Program Files\OpenCPN\plugins\weatherfax_pi.dll

09:26:25: PlugInManager: UnLoading PlugIn: C:\Program Files\OpenCPN\plugins\weatherfax_pi.dll

09:26:25: opencpn::MyApp exiting cleanly...
Yep, everything looks good to me. You shouldn't have any problems.... that's what the mechanic always says... right?
I found the same
Quote:
C:\Program Files\OpenCPN\plugins\weatherfax_pi.dll
API Version detected: 108
PlugIn Version detected: 103
Which version of Weatherfax_pi and where did you download from?

I also looked at both of your navobj.xml files, it looks like the object that was changed might have been "tracks"? Is that correct?

I am using Opencpn 3.3.2302 and
"weatherfax_pi-1.3-ov3.2.2-h-win32.exe" (Version 1.3) that I compiled which is available on Opencpn Beta file thingie .

I could not get any anomaly to change my routings, but I see from your log file that what might have been changed are "Tracks" (Is this correct?) so I need to perhaps load you navobj file to use the same track. Never done this... will rename mine then load.... Well I had to rename both navobj.xml and navobj.xml.1 and copy your file to both of those files.

Of course for me, following your steps given earlier, everything worked perfectly. The Tracks were not disturbed! See pics please.

So how can we recreate this error? What are we doing differently?
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2014-11-19 15.30.37.jpg
Views:	140
Size:	416.5 KB
ID:	91978   Click image for larger version

Name:	Screenshot 2014-11-19 15.32.10.jpg
Views:	103
Size:	406.6 KB
ID:	91979  

Click image for larger version

Name:	Screenshot 2014-11-19 15.32.34.png
Views:	116
Size:	7.6 KB
ID:	91980  
rgleason is offline   Reply With Quote
Old 19-11-2014, 12:40   #645
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
Images: 2
Re: WeatherFax...

Perhaps you should download the most current version
weatherfax_pi-1.3-ov3.2.2-h-win32.exe from Opencpn File Thingie
rgleason is offline   Reply With Quote
Reply

Tags
paracelle

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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:53.


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.