Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-08-2015, 09:01   #451
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,392
Re: New Grib Presentation

ChuckSK has worked on and improved the wind "Particle" feature and it is much better, consuming less %memory, however the particles still fail about 3/4 of the way through when "playing" the grib. I have turned off everything except particles including the wind arrows. About 3/4 of the way through the computer starts working hard, fans running, and memory use goes up to %13, then part of the display start to freeze and go white. This happens on almost any grib file you pick.
I have to use Task Manager to stop the process or select "Close the program" or "Wait" from the win prompt that comes up when I select upper Left X. Of course I am running it with opengl (using the an onboard NVIDIA Geforce GT540)

Now I have tried stepping through several grib files without using playback, and these grib files freeze almost in the same place, about 3/4 of the way through with the same symptoms.

It does the same things when running Opencpn v4.1.718 without opengl.

Also I notice that when opening the grib plugin, the grib file will show at the end of the file (last frame) with the particles running. When I move the bar to the beginning it is ok the particles work. When I move the bar by hand drag past 3/4 point the grib freezes up again.

The freeze ups seem to be independent of what the other data settings are such as show wind arrows, etc. What I mean is the freezeups are being caused by the particles section of code, I am pretty sure.

I've tried about 5 gribs and it consistently freezes at 3/4.

I'd like to thank ChuckSK for working on this problem! I am sorry not to have gotten back sooner, but was on the water finally.

PS: This is using the most recent OpenCPN v4.1.718 freshly compiled and installed cleanly. With the previous v4.1.718 uninstalled first. There are no other plugins or devices (no gps, ais etc).
Quote:
git merge upstream/master
Updating 48ac09e..0154474
Fast-forward

git branch -va
* master 0154474 [ahead 95] Improve depth unit emboss font selection logic.
Attached Thumbnails
Click image for larger version

Name:	Grib-start-to-freeze.png
Views:	79
Size:	391.4 KB
ID:	106761   Click image for larger version

Name:	Grib-Frozen-Ocpn-hung.png
Views:	66
Size:	327.2 KB
ID:	106762  

Click image for larger version

Name:	Grib2-start-to-freeze.png
Views:	73
Size:	284.1 KB
ID:	106763   Click image for larger version

Name:	Grib2-frozen.png
Views:	69
Size:	277.7 KB
ID:	106764  

__________________

__________________
rgleason is offline   Reply With Quote
Old 05-08-2015, 10:12   #452
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: New Grib Presentation

Rick

Perhaps you have done a parallel install and are still using the old grib plugin.

Chuck
__________________

__________________
ChuckSK is offline   Reply With Quote
Old 06-08-2015, 17:18   #453
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: New Grib Presentation

Rick

I don't see a
Quote:
git fetch upstream/master
Your working directory was not updated with the changed files.
__________________
ChuckSK is offline   Reply With Quote
Old 06-08-2015, 18:13   #454
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,392
Re: New Grib Presentation

Chuck it is entirely possible I did something wrong. Here is what I did.

2. Add a new "upstream" repository

git remote -v
OpenCPN https://github.com/OpenCPN/OpenCPN.git (fetch)
OpenCPN https://github.com/OpenCPN/OpenCPN.git (push)
origin https://github.com/rgleason/OpenCPN.git (fetch)
origin https://github.com/rgleason/OpenCPN.git (push)

git remote add upstream https://github.com/OpenCPN/OpenCPN.git

git remote -v
OpenCPN https://github.com/OpenCPN/OpenCPN.git (fetch)
OpenCPN https://github.com/OpenCPN/OpenCPN.git (push)
origin https://github.com/rgleason/OpenCPN.git (fetch)
origin https://github.com/rgleason/OpenCPN.git (push)
upstream https://github.com/OpenCPN/OpenCPN.git (fetch)
upstream https://github.com/OpenCPN/OpenCPN.git (push)

3. Syncing a Fork
git fetch upstream (which I did)
git checkout master (which I did even though I was on it)

git branch -va
*master 48ac09e 4.1.718 (did not show the asterick, but it was there)

git merge upstream/master
Updating 48ac09e..0154474
Fast-forward... etc (cut off all the actions)

git branch -va
* master 0154474 [ahead 95] Improve depth unit emboss font selection logic.
remotes/OpenCPN/beta30_stable e48b97d 3.0.2
remotes/OpenCPN/beta31_stable 2532d4d Merge branch 'master' into beta31_stable
remotes/OpenCPN/master 0154474 Improve depth unit emboss font selection logic.
remotes/OpenCPN/region 571f037 Correct namespace collisions on __WXGTK__ build
remotes/OpenCPN/release32_stable 0c4bcc9 3.2.2
remotes/OpenCPN/service_release321 0c4bcc9 3.2.2
remotes/OpenCPN/stable e48b97d 3.0.2
remotes/OpenCPN/v4.0.x c04edb1 Update the translations
remotes/OpenCPN/wxqt 8d05fb2 Add missing cmake script for cross-platform Android build.
remotes/origin/HEAD -> origin/master
remotes/origin/beta30_stable e48b97d 3.0.2
remotes/origin/beta31_stable 2532d4d Merge branch 'master' into beta31_stable
remotes/origin/master 48ac09e 4.1.718
remotes/origin/region 571f037 Correct namespace collisions on __WXGTK__ build
remotes/origin/release32_stable 0c4bcc9 3.2.2
remotes/origin/service_release321 0c4bcc9 3.2.2
remotes/origin/stable e48b97d 3.0.2
remotes/origin/wxqt 8d05fb2 Add missing cmake script for cross-platform Android build.
remotes/upstream/beta30_stable e48b97d 3.0.2
remotes/upstream/beta31_stable 2532d4d Merge branch 'master' into beta31_stable
remotes/upstream/master 0154474 Improve depth unit emboss font selection logic.
remotes/upstream/region 571f037 Correct namespace collisions on __WXGTK__ build
remotes/upstream/release32_stable 0c4bcc9 3.2.2
remotes/upstream/service_release321 0c4bcc9 3.2.2
remotes/upstream/stable e48b97d 3.0.2
remotes/upstream/v4.0.x c04edb1 Update the translations
remotes/upstream/wxqt 8d05fb2 Add missing cmake script for cross-platform Android build.

Then I compiled.

--Must I do git fetch upstream/master ?
__________________
rgleason is offline   Reply With Quote
Old 06-08-2015, 18:22   #455
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: New Grib Presentation

You need to fetch upstream master.
__________________
ChuckSK is offline   Reply With Quote
Old 06-08-2015, 18:27   #456
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,392
Re: New Grib Presentation

C:\Users\Rick\Documents\GitHub\OpenCPN>git fetch --all
Fetching origin
Fetching OpenCPN
Fetching upstream

C:\Users\Rick\Documents\GitHub\OpenCPN>git branch -va
* master 0154474 [ahead 95] Improve depth unit emboss font selection logic.

When I do
C:\Users\Rick\Documents\GitHub\OpenCPN>git fetch upstream/master
fatal: 'upstream/master' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I just don't understand. My working directory seems to be current to
* master 0154474 [ahead 95] Improve depth unit emboss font selection logic.


=====

Quote:
Rick
Perhaps you have done a parallel install and are still using the old grib plugin.
Chuck
I deleted v4.1.718 completely and installed a new parallel install for v4.1.718
The grib_pi.dll is dated 7/22/2015 and is 850mb which does not seem right!
It is version 2.3 in the Options > Plugins
__________________
rgleason is offline   Reply With Quote
Old 06-08-2015, 18:31   #457
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,392
Re: New Grib Presentation

It is version 4.1.718 Build 2015-07-18
Could I have compiled it, been distracted and not installed it?

-- under build/Cpackages/win32/NSIS I have a new 24mb file dated 8/5/2014

Perhaps that is the problem? Sorry.

VERY Sorry.
__________________
rgleason is offline   Reply With Quote
Old 06-08-2015, 18:48   #458
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: New Grib Presentation

OK let's keep it simple.

git pull upstream/master
__________________
ChuckSK is offline   Reply With Quote
Old 06-08-2015, 18:58   #459
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,392
Re: New Grib Presentation

Removed Program v4.1.718, deleted the directory under program files, installed using the exe compiled last night. --- It works!!! Grib_pi is version 3.0

I tried many grib files and I can click the bar through the 3/4 point and back on each one. Also I can "play" the grib and no hangup at 3/4 point. I tried grib on Coamps files and a lot of very big GFS files. It all works, the Particles are working on all of them.

The grib_pi got hung up on an old RTOFS file which does not have Wind and I had to wait to shutdown Opencpn and restart, but that file might be corrupted.

One nice bonus I did not know about is selecting the Geopotential Altitude (Std, 500mb) which gives a greater understanding of how upper level winds affect and create the lower level ones. It will be worth studying this to understand it more.

Chuck, thank you again, for getting me on the right track. It must have been late last night. Sorry!
__________________
rgleason is offline   Reply With Quote
Old 06-08-2015, 19:04   #460
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,392
Re: New Grib Presentation

C:\Users\Rick\Documents\GitHub\OpenCPN>git pull upstream/master
fatal: 'upstream/master' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

C:\Users\Rick\Documents\GitHub\OpenCPN>git checkout master
Already on 'master'
Your branch is ahead of 'origin/master' by 95 commits.
(use "git push" to publish your local commits)

How do I get back? I wonder how I got there?
with the git merge upstream/master ? (wasn't so sure about that one, but the instructions I read said to do it.)
__________________
rgleason is offline   Reply With Quote
Old 06-08-2015, 19:13   #461
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,392
Re: New Grib Presentation

Ok I am going to "Pull" because I am not programming.
git pull upstream/master
It must be because I don't have rights for some reason. It worked before though.
I know the repository exists.

"Please make sure you have the correct access rights...."
does not make sense because it is a Pull.

http://serverfault.com/questions/575...lab-repository

Maybe I should just clone it again.
__________________
rgleason is offline   Reply With Quote
Old 07-08-2015, 01:54   #462
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: New Grib Presentation

I should have written

Quote:
git pull upstream master
git push origin master
That should sync your repository(origin/master) with (upstream/master) and with your local branch (master).
__________________
ChuckSK is offline   Reply With Quote
Old 07-08-2015, 09:51   #463
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,392
Re: New Grib Presentation

Thanks Chuck.

git pull upstream master
From https://github.com/OpenCPN/OpenCPN
* branch master -> FETCH_HEAD
Already up-to-date. <---So the git copy on my local computer is up to date now.

git branch -va
* master 0154474 [ahead 95] Improve depth unit emboss font selection logic.

This is what OpenCPN/OpenCPN master is on too
0154474457 David Register authored 9 days ago

Why am I [ahead 95] though?

git push origin master (I had to authenticate and it completed upload to my
github.com/rgleason/OpenCPN.git master branch.

Nice,
PULL from github.com/OpenCPN/OpenCPN master branch to local
then PUSH from local up to my own repos on github.

I guess if I were programming and had branches with changes on my local computer I'd be using 'git merge upstream master' after 'git fetch upstream' and 'git checkout master' ?
__________________
rgleason is offline   Reply With Quote
Old 10-08-2015, 01:32   #464
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,809
Re: New Grib Presentation

Chuck,

Thank you for fixing the problem... it must have been creating billions of particles or something crazy.
__________________
boat_alexandra is online now   Reply With Quote
Old 10-08-2015, 01:35   #465
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,809
Re: New Grib Presentation

Quote:
Originally Posted by rgleason View Post
The grib_pi got hung up on an old RTOFS file which does not have Wind and I had to wait to shutdown Opencpn and restart, but that file might be corrupted.
I don't care if the file is corrupted if the program gets stuck then we should fix that. Can you post the file?
__________________

__________________
boat_alexandra is online now   Reply With Quote
Reply

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
Pilot Grib Files - Similar to Pilot Charts rgleason OpenCPN 22 05-05-2015 04:15
Route Planning with GRIB - Work in Progress PjotrC OpenCPN 208 27-08-2012 01:31
grib weather plugin not visible geo38 OpenCPN 6 02-08-2012 16:45
GRIB Weather Mark Ward OpenCPN 26 12-02-2012 22:33
GRIB Icon bzs OpenCPN 16 04-09-2011 07:43



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 13:30.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.