Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 14-10-2013, 15:06   #436
Registered User

Join Date: May 2012
Posts: 293
Re: WeatherFax...

Oh yes ... that one as well:

Changed isnan to _isnan

Mike
__________________

__________________
Rasbats is offline   Reply With Quote
Old 15-10-2013, 09:26   #437
Registered User
 
rgleason's Avatar

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

Mike this is great. THANKYOU, never would have figured it out. Now I have to do this before Sean updates code again! Best
__________________

__________________
rgleason is offline   Reply With Quote
Old 16-10-2013, 06:17   #438
Registered User
 
rgleason's Avatar

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

Mike, I think made all the changes you list, but I did end up with some output errors in MSVC++ for libaudiofile. Please see attached weatherfax_output.doc
I did make all the other changes, I believe, ...I will triple check next.

Have also attached the wximgkap.cpp.doc file where I made most of the changes this round.
Don't know how you figure this stuff out!

Thanks Rick
Attached Files
File Type: doc weatherfax_output_4_MSVC.doc (7.0 KB, 27 views)
File Type: doc wximgkap.cpp.doc (25.7 KB, 20 views)
__________________
rgleason is offline   Reply With Quote
Old 16-10-2013, 06:28   #439
Registered User
 
rgleason's Avatar

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

In libaudiofile

aupv.c
Lines 115, 138, 158,193,213,233 in libaudio/aupv.c of this code: "if ((item < 0) || (item > list->count - 1))" seem to be a problem.

extended.c
Lines 104, 105,106,108, like this appear to be a problem..
bytes[3] = hiMant >> 16;
__________________
rgleason is offline   Reply With Quote
Old 16-10-2013, 06:51   #440
Registered User
 
rgleason's Avatar

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

Mike, I ran MSVC complete "Rebuild Solution" twice, and then did "Build Solution" and got a different output? which is attached below, it is not the same errors after this complete compile, -I did not change code at all from above.

Sorry

Seems to be unresovled external symbol errors...
SchedulesDialog.obj
InternetRetrievalDialog.obj
Attached Files
File Type: doc weatherfax_output_5_MSVC.doc (3.9 KB, 29 views)
__________________
rgleason is offline   Reply With Quote
Old 16-10-2013, 07:12   #441
Registered User
 
rgleason's Avatar

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

Mike, because I saw some errors go by on the full "Build Solution" that did not look familiar, I decided to make a doc with the full output. It turns out there are Libaudio errors in the beginning around line 63 that I don't understand, but they may help.

I also noticed more georef errors (we had an external ref to georef in weatherrouting that was fixed.)

I am using v3.3.1009 I believe, and I am going to do a git fetch and git pull on the code to get up to date. I think they are changing stuff, but theoretically it should not affect plugin compiles because we are not supposed to reference externally.

Sorry aboout all these files and the blow by blow, but I don't know what is important right now.
Attached Files
File Type: doc MSVC-Build Solution-Output.doc (235.5 KB, 29 views)
__________________
rgleason is offline   Reply With Quote
Old 16-10-2013, 07:40   #442
Registered User
 
rgleason's Avatar

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

I did a git fetch --all and git pull origin master and it downloaded a bunch of files but I still seem to be on 3.3.1009. I did not git fetch or clone from from the pluigns directory for weatherfax_pi, so it is the same...

Here are the full Rebuild Solution output and just the Build output
Attached Files
File Type: doc MSVC-Build Solution-Output.-2.doc (235.5 KB, 33 views)
File Type: doc weatherfax_output_6_MSVC.doc (9.5 KB, 32 views)
__________________
rgleason is offline   Reply With Quote
Old 16-10-2013, 18:45   #443
Registered User
 
rgleason's Avatar

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

Mike, I've been trying to figure out how to do a Git Diff and have managed to do something!
1. Use the Run/cmd and CD to the opencpn-git/plugins/weatherfax_pi/
2. Then git dirr --status > Diff-Weatherfax.txt <--sends output to a file.
3. Then git dirr >> Diff-Weatherfax.txt <-- appends output to a file.

This shows the changes I've made from the last git fetch of the plugin with the exception of the changes made for tinyxml. Now I would like to know how I accomplish that?
A. I did not create a new branch. Should I be doing so? What should I do now?
B. I have just used Notepad++ and edited the original files in weatherfax_pi as required.

This diff does not show the copies of the tinyxml files to a new tinyxml directory very explicitly however it does show cmakelist.txt changes and it does show the tinyxml.h path changes in various files and it does show the _isnan corrections done earlier.

Is there a better way to do this Git Diff? I understand there are some good programs that help?

Also how do I "Commit" this and ask Sean for a pull?

Thanks.
Rick
Attached Files
File Type: doc Git-Diff-Weatherfax_pi.doc (5.6 KB, 29 views)
__________________
rgleason is offline   Reply With Quote
Old 20-10-2013, 19:00   #444
Registered User
 
boat_alexandra's Avatar

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

In github create a fork of the repository then you can submit pull requests. This is the easiest way to send changes.

sorry I just can't do a lot on 1 hour of internet a week.
__________________
boat_alexandra is offline   Reply With Quote
Old 21-10-2013, 07:12   #445
Registered User
 
rgleason's Avatar

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

Sean, glad you have access. Very impressed with what you are doing. Thank you for the note and advice:
1. I will create a fork of your plugin to my github account.
2. Then I will copy the plugin files that I have modified in the opencpn-git directory on my computer to another location.
3. Then git clone your plugin from my github repository to my computer opencpn-git/plugins directory.
4. Then update the plugin files that I copied to make the changes.
5. Then I guess I "push" those changes up to my repository.
6. Then I request a "merge" or something?

Is this how it works....?
Thanks
__________________
rgleason is offline   Reply With Quote
Old 21-10-2013, 19:01   #446
Registered User
 
rgleason's Avatar

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

Found a good Help Page for the Process of Forking a Repository and using with pull requests, etc.

https://help.github.com/articles/fork-a-repo
__________________
rgleason is offline   Reply With Quote
Old 27-11-2013, 08:54   #447
Registered User
 
rgleason's Avatar

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

[Posted to appropriate thread]
Quote:
Originally Posted by rgleason I agree about coverage of course.

Sean Depagnier's Weatherfax_pi has developed the ability to save user settings, so putting it in the right place should be easy once you have the setup. This plugin needs more users and testing and real experience, but it is really quite a remarkable piece of work.
Littlechay wrote:
No you misunderstand me.

Data from the NOAA LEO satellites is transmitted continuously as a fax signal of the sub-satellite point. It would need a fairly complex bit of code to predict the satellite pass, correlate the acquisition time of the signal with the sub-satellite point, maintain that for the duration of the pass.

I suppose the fax plugin could be used with images received with WxtoImg or similar. I don't have an antenna for my receiver at the moment so can't test it..
__________________
rgleason is offline   Reply With Quote
Old 27-11-2013, 11:58   #448
Registered User
 
El Pinguino's Avatar

Join Date: Aug 2013
Location: el campo
Boat: 39' Westerly Sealord
Posts: 3,171
Re: WeatherFax...

The NOAA sat transmission comprises info from two infrared sensors and as received looks like the attached pic ( ignore the shift of the image.... caused by latency issues in the Dell netbook I was using upstream from the Mac at the time... complicated... involved a FunCubeDongle).
Before sending the info down the line to OpenCPN I'm pretty sure you would have to enhance/process the image which can as far as I know only happen after the satellite pass.

I'm a few weeks away from my home QTH... once there I'll try and record a few .wav files of satellite passes that someone may be able to work with.
Attached Thumbnails
Click image for larger version

Name:	NOAAsat.jpg
Views:	83
Size:	45.1 KB
ID:	71128  
__________________
El Pinguino is offline   Reply With Quote
Old 27-11-2013, 13:56   #449
Registered User
 
rgleason's Avatar

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

El Pinguino that would be great. We need a number of wav files as examples for testing and learning experience. I will put them on Opencpn Beta File thingi for others to try.

Your example is from a live satellite pass I believe. Can you explain a liittle about the details of what you received and how you did it. I realize this is a different source than the one I was thinking of, no less applicable, and certainly has better coverage if available. I am pretty sure that Weatherfax will convert and overlay those, that was what Sean intended.

Earlier I used the example of of the Boston NOAA Station sending out Weatherfaxes.
See this Mobile link with internet links, and the SSB times and frequencies.
These are analyzed Marine Forecasts, they provide useful information.
Marine Radiofax charts
This is just an example of one area
Boston Radiofax Schedule with Links
__________________
rgleason is offline   Reply With Quote
Old 27-11-2013, 16:50   #450
Registered User
 
El Pinguino's Avatar

Join Date: Aug 2013
Location: el campo
Boat: 39' Westerly Sealord
Posts: 3,171
Re: WeatherFax...

Correcto, what you can see in the last pic I posted is what is actually being recorded.

Afloat I use an Icom r-1500 as the receiver and simply hook up the external speaker outlet on it to the sound in plug on my Macbook Pro. Software is from wxtoimg.com and can be downloaded for either PC or Mac. I just select the frequency ( one of several in the 137 MHz range) of the next pass and then select 'auto record' in the software(1st pic). What you can see in the last pic I posted is what is actually being recorded. After the pass the raw image is saved (3rd Pic... these are a bit out of order ) and this can be enhanced any way you like ( 2nd , 4th 5th and 6th pics.. selection of enhancements, 'normal' image, straightforward cloud pic and finally one enhanced for precipitation. If there is no cloud cover you can even enhance for sea temperature.

I'm not sure at what stage you would choose to overlay but I would assume after you had the enhancement you desired.

At home my set up is fussier as I am using a FuncubeDongle Pro Plus FUNcube Dongle | A radio that's out of this world! which requires either a second computer to drive it or the use of a VB Audio Cable VB-Audio Virtual Cable which I have yet to master the use of.

As I say it will be a few weeks until I am home but then I will get onto recording some passes for you.
Attached Thumbnails
Click image for larger version

Name:	opencpn6.jpg
Views:	75
Size:	391.7 KB
ID:	71138   Click image for larger version

Name:	opncpn5.jpg
Views:	79
Size:	414.7 KB
ID:	71139  

Click image for larger version

Name:	opencpn4.jpg
Views:	81
Size:	401.2 KB
ID:	71140   Click image for larger version

Name:	Opencpn1.jpg
Views:	66
Size:	335.3 KB
ID:	71141  

Click image for larger version

Name:	opencpn2.jpg
Views:	77
Size:	223.7 KB
ID:	71142   Click image for larger version

Name:	opencpn3.jpg
Views:	76
Size:	256.6 KB
ID:	71143  

__________________

__________________
El Pinguino 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 21:41.


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.