Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 26-02-2013, 12:16   #151
Registered User
 
rgleason's Avatar

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

I've made a Release DLL and ran that with 3.1.1417.
The Coorddinates Settings can be saved if you use just a single word, like Pacific or Atlantic.

I am able to load and display several faxes.. I need to test the Polar projections next and some wav files.

It works quite well apart from the naming of coord settings and that funny business with skew. Thank you Sean, very nice.

Attached some screen shots, one with full background transparency and inverse checked so lines become White.

Also a DLL with DOC added (remove it) for those who want to test and try.
Attached Thumbnails
Click image for larger version

Name:	Weatherfax-example-1.png
Views:	86
Size:	311.3 KB
ID:	55776   Click image for larger version

Name:	Weatherfax-example-2.png
Views:	111
Size:	225.0 KB
ID:	55777  

Attached Files
File Type: doc weatherfax_pi.dll.doc (298.5 KB, 71 views)
__________________

__________________
rgleason is offline   Reply With Quote
Old 26-02-2013, 12:47   #152
Registered User
 
rgleason's Avatar

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

I tried my first Polar file and it sort of worked. I am probably not picking the right points after the first setting of polar information, but when I went to Edit after it displayed, things kind of froze up on a "Mapping Weather Fax" popup. Perhaps these are not supposed to be editid? I was hoping to get the land masses closer to the chart locations by changing my settings.

Nevertheless being able to do this is pretty incredible.
Attached Thumbnails
Click image for larger version

Name:	Weatherfax-polar-hang.jpg
Views:	107
Size:	412.8 KB
ID:	55779  
__________________

__________________
rgleason is offline   Reply With Quote
Old 26-02-2013, 13:04   #153
Registered User
 
LeaseOnLife's Avatar

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

Very nice, sure the workflow, data, calibration management can be improved, but this sure is NICE!

Edit: Added a grib (old plugin) to the fax.
Attached Thumbnails
Click image for larger version

Name:	opencpn-bermuda-polar-fax.jpg
Views:	85
Size:	177.2 KB
ID:	55780   Click image for larger version

Name:	opencpn-bermuda-polar-fax+grib.jpg
Views:	118
Size:	320.2 KB
ID:	55782  

__________________
LeaseOnLife is offline   Reply With Quote
Old 26-02-2013, 13:29   #154
Registered User
 
rgleason's Avatar

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

When I do a size multiplier of 1.5 on a polar, there is high CPU useage and "Mapping Weather Fax image" is quite slow (fast laptop used). The remapped image is starting to appear at the top in a strip but it is very slow. I click that window's cancel and the cancel is also slow. Cancel acknowledges and changes intensity when clicked. Machine is working hard. Waited 4 minutes and then used Task Master to "End Task" and shut down program again. Tried several times more and the "Mapping Weather Fax Image" cancel button does not seem to respond. If you hit it more than once a bell goes off. Never seems to quit. This seems to be primarily on polar files, but it hangs up on mercator too when you go back and change the multiplier during Edit.
__________________
rgleason is offline   Reply With Quote
Old 26-02-2013, 13:32   #155
Registered User
 
rgleason's Avatar

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

Leaseonlife are you having trouble reading the Lat/Long text in some of these faxes? I think it might be helpful to have a magnifier or something.

A thought occurred to me about Polars. If you setup a Polar and display it on a chart, then want to fit it better and hit Edit, do you have to hit Reset to reset image, then start over?? I am having trouble with the "Mapping" hanging up, and always have to Task Manager > End task.

We need to exercise wave files too..
__________________
rgleason is offline   Reply With Quote
Old 26-02-2013, 13:37   #156
Registered User
 
LeaseOnLife's Avatar

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

Quote:
Originally Posted by rgleason View Post
Leaseonlife are you having trouble reading the Lat/Long text in some of these faxes?
I am cheating, opening the image in a separate viewer, there I can zoom and move around. This also helps me when the plugin asks to enter lat/lon values and I can't move the chart around...
__________________
LeaseOnLife is offline   Reply With Quote
Old 26-02-2013, 13:43   #157
Registered User
 
LeaseOnLife's Avatar

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

Quote:
Originally Posted by rgleason View Post
We need to exercise wave files too..
Personally, I would do the capture of wav, converting to images, including filter, skew and shift, all outside of O.

Then O would just open stored images and it doesn't have to sit for 10 min capturing the wav. There is so much more a wav capture could or should do, including remotely controlling the SSB, run by timer, etc.

Dirk
__________________
LeaseOnLife is offline   Reply With Quote
Old 26-02-2013, 14:56   #158
mrm
Registered User

Join Date: Feb 2011
Location: Poland, EU
Boat: crew on Bavaria 38 Cruiser
Posts: 552
Re: WeatherFax...

Quote:
Originally Posted by LeaseOnLife View Post
Personally, I would do the capture of wav, converting to images, including filter, skew and shift, all outside of O.

Then O would just open stored images and it doesn't have to sit for 10 min capturing the wav. There is so much more a wav capture could or should do, including remotely controlling the SSB, run by timer, etc.

Dirk
+10!

In addition, capturing sound requires very precise time sync. May be quite difficult to do from within a plugin. A lot of technical details are on JWX home page.

Marius
__________________
mrm is offline   Reply With Quote
Old 26-02-2013, 16:01   #159
Registered User
 
boat_alexandra's Avatar

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

Quote:
Originally Posted by mrm View Post
+10!<br />
<br />
In addition, capturing sound requires very precise time sync. May be quite difficult to do from within a plugin. A lot of technical details are on JWX home page.<br />
<br />
Marius
<br />
Precise timing how?

<br />
Quote:
Originally Posted by rgleason View Post
When I do a size multiplier of 1.5 on a polar, there is high CPU useage and &quot;Mapping Weather Fax image&quot; is quite slow (fast laptop used). The remapped image is starting to appear at the top in a strip but it is very slow. I click that window's cancel and the cancel is also slow. Cancel acknowledges and changes intensity when clicked. Machine is working hard. Waited 4 minutes and then used Task Master to &quot;End Task&quot; and shut down program again. Tried several times more and the
What happens with a smaller file, or better yet, try a size multiplier of .5 or less at first to see if it is working.

I am using a slow netbook and I am only limited by the amount of ram the images takes, so I limited it to 100 megabytes in the program to avoid issues which is roughly 3000x3000 pixels. Most of the time it can process the image in a few seconds, or a minute at most.

Can you stop in the debugger and determine which line of code is slow?
__________________
boat_alexandra is online now   Reply With Quote
Old 26-02-2013, 16:10   #160
Registered User
 
rgleason's Avatar

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

I do not know what Sean is planning to do with Wav or the plugin for that matter.
I do not have SSB or HF and am just learning. Would you share information about the software (& brief of equipment used) and what your process is?
---
Perhaps I was not clear about the "mapping of the weather fax image" and the wav decoder, presently they are intended to only reading existing image and wav files, so there is no need for them to wait and listen for long periods, they just seem to be bogged down or not responding (hang) when reading an existing image or wav file, in certain situations, where I have to use Task Manager to kill Opencpn. I am not using SSB or HB, but files!

---I don't think we should get things confused because Sean needs some of this information to improve the plugin.
---I do think Sean was planning on having a decoder for HF or SSB, as he has mentioned it, but I expect that will be later after other things are done.
__________________
rgleason is offline   Reply With Quote
Old 26-02-2013, 16:21   #161
Registered User
 
rgleason's Avatar

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

Quote:
so I limited it to 100 megabytes in the program to avoid issues which is roughly 3000x3000 pixels. Most of the time it can process the image in a few seconds, or a minute at most.

Can you stop in the debugger and determine which line of code is slow?
That's what I expected, thanks for confirming, and the size seems more than reasonable to me. Obviously when the "Mapping Weather Fax image" comes up and works it works fine and fast, but sometimes it does not and just sits or is very very slow. "Cancel" does not seem to cancel it, so I have to use Task Manager and kill the Opencpn process. I was doing this with a compiled Release dll. So now I will go back to the debug mode and try to get code lines for you.

I might have to read up about the debugger to figure out what the process is to get the code line. I''ve been sending images of the MS VC Express with Opencpn in Debug Mode (with the debug plugin dll in the correct directory) when it stops and prompts Break or Continue. How do we get the actual Line number to show? Maybe thats what I have to figure out.

Sorry I am not more help, as I am learning some of this as I go.
__________________
rgleason is offline   Reply With Quote
Old 26-02-2013, 16:31   #162
Registered User
 
rgleason's Avatar

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

Quote:
Personally, I would do the capture of wav, converting to images, including filter, skew and shift, all outside of O. Then O would just open stored images and it doesn't have to sit for 10 min capturing the wav. There is so much more a wav capture could or should do, including remotely controlling the SSB, run by timer, etc.
Yes I understand and that's a personal thing. Sean already has a number of things like skew, phase, rotate and scale built in. I believe he has already done a lot in Yafax - Yet Another HF Fax program! This program can send and receive SSB faxes (eg: weatherfax) by reading from an audio file or soundcard input. The output is an image. Based on hamfax, but runs much faster. Command line interface.

I think I am just going to try to help by debugging and suggest improvements, I believe Sean has a pretty clear idea of what he wants to accomplish (I don't know that much about SSB so I am not going to influence things here).

JWX Home Page -I've seen this and read some of it. Gets into some detail!
__________________
rgleason is offline   Reply With Quote
Old 26-02-2013, 17:12   #163
Registered User
 
boat_alexandra's Avatar

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

Sorry some of my replies got doubled I was using a very unreliable connection, I'm at the library now.

Quote:
Originally Posted by rgleason View Post
Sean this is really looking great and very promising. Do you have any requests for testing? any quidance? Should I recompile and give you those messages from the command prompt? Or should I just keep doing what I am doing?
This may sound blunt but to be completely honest I really would like patches and fixes and pull requests to any problems encountered. If this is not possible, I can understand, just keep reporting errors.

Quote:
Originally Posted by rgleason View Post
I've made a Release DLL and ran that with 3.1.1417.
The Coorddinates Settings can be saved if you use just a single word, like Pacific or Atlantic.
I used to convert space to underscore for storing in the file and took it out when I found spaces worked fine. Maybe this yet another windows problem, I can put it back in, but then if you used underscore in a name it would be converted to space on the next run.
Quote:
It works quite well apart from the naming of coord settings and that funny business with skew. Thank you Sean, very nice.
Skew correction works very well for me, but perhaps it touches memory outside the array somehow, I will audit the routine some more hopefully fixing it.

Quote:
Originally Posted by rgleason View Post
I tried my first Polar file and it sort of worked. I am probably not picking the right points after the first setting of polar information, but when I went to Edit after it displayed, things kind of froze up on a "Mapping Weather Fax" popup. Perhaps these are not supposed to be editid? I was hoping to get the land masses closer to the chart locations by changing my settings.

Nevertheless being able to do this is pretty incredible.
Clearly the polar routine was run from your screenshot. It looks like you did not click along the vertical meridian, this is essential. In the resulting output, all the latitude and longitude lines should be straight and in a grid. Also, if somehow the pole is within the bounds of the polar image, it will not work.

Quote:
Originally Posted by LeaseOnLife View Post
Personally, I would do the capture of wav, converting to images, including filter, skew and shift, all outside of O.

Then O would just open stored images and it doesn't have to sit for 10 min capturing the wav. There is so much more a wav capture could or should do, including remotely controlling the SSB, run by timer, etc.

Dirk
Yes, and this program could do all of these things as well, including scanning all possible frequencies (for the right time) to find the ones it can actually pick something up from.

Quote:
Originally Posted by rgleason View Post
That's what I expected, thanks for confirming, and the size seems more than reasonable to me. Obviously when the "Mapping Weather Fax image" comes up and works it works fine and fast, but sometimes it does not and just sits or is very very slow. "Cancel" does not seem to cancel it, so I have to use Task Manager and kill the Opencpn process. I was doing this with a compiled Release dll. So now I will go back to the debug mode and try to get code lines for you.

Break or Continue. How do we get the actual Line number to show? Maybe thats what I have to figure out.

Sorry I am not more help, as I am learning some of this as I go.
Can you go up the stack until you find it? You should be able to get a backtrace. Otherwise, you can set a break point in WeatherFaxImage.cpp:250 in the MakeMappedImage method, and single step until it sticks.
__________________
boat_alexandra is online now   Reply With Quote
Old 26-02-2013, 17:41   #164
Registered User
 
rgleason's Avatar

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

KX3 just popped up on youtube, its not cheap but less than SSB I believe
Don't understand all that it does.

Review : Elecraft KX3 Product Reviews
K7AGE Builds the Elecraft KX3 HF Transciever -youtube search
Elecraft® Hands-On Ham Radio™
Reviews http://www.eham.net/reviews/detail/10271

Yahoo Group: http://groups.yahoo.com/group/KX3/
__________________
rgleason is offline   Reply With Quote
Old 26-02-2013, 18:01   #165
Registered User
 
rgleason's Avatar

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

Quote:
This may sound blunt but to be completely honest I really would like patches and fixes and pull requests to any problems encountered. If this is not possible, I can understand, just keep reporting errors.
Don't blame you, but I've got to do some more learning. I'm not Pavel or the other guys.

Quote:
Can you go up the stack until you find it? You should be able to get a backtrace. Otherwise, you can set a break point in WeatherFaxImage.cpp:250 in the MakeMappedImage method, and single step until it sticks.
Will try. That info helps.
__________________

__________________
rgleason 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 17:03.


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.