Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 25-03-2013, 06:41   #31
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,421
Re: New grib presentation

Jean Pierre, I meant to say, its perfectly ok with me, to have sean/grib_enhanced branch. That's cool. You may need to see how he does some of it, and Sean has succeeded in getting a large number of bugs out re gribs, the last compile worked fine.

Also, I just tried a compiled release grib-p2_pi.dll in the website download executable version of Opencpn and it works fine. Give it a try. I've taken to naming these plugins as follows:
NEW_GRIB (Ptizef) : grib-p<version>_pi.dll
Grib_Enhancement (Boat_Alexandra): grib-e<version>_pi.dll
In order to keep them straight in my plugins directory. I add a .doc at the end to comment the older ones out, otherwise I don't know which one to pick from the icon bar! (Is there some way to have an identifier?) That way I can go back to a previous one and check something.

Re Baikal:
Quote:
1. setting local time instead of UTC
2. settings for the wind speed (ms, kmh, kts) and pressure mBar, mmHg
3. color map for wind data -
4. downloading grib files optionally via email and once in OpenCPN.
5. Subscription options to automatically download files over a given time.
1. New one has it I believe.
2. New one has this I believe, but OpenCPN should be getting this in the Settings section someday (where it should be passed as an external global parameter).
3. Email is there and seems to work for me, email request setup is good with various options. (We can perhaps add more? Or customize via text file or something?) Direct download with saved URLS would be nice.

I am going to attach Jean Pierre's latest compiled, that I used. Give it a spin, and test all parts please. He's improved the email and other things.

Rick
Attached Files
File Type: doc grib-p2_pi.dll.doc (324.0 KB, 44 views)
__________________

__________________
rgleason is offline   Reply With Quote
Old 25-03-2013, 06:50   #32
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,421
Re: New grib presentation

Quote:
..what I miss is a legend with the velocities of the wind/current/wave height etc. Maybe this is hard to implement?
jonasaberg How about using the cursor? Just put your cursor over the area in question and the window will show all values for that spot. Eventually you'll know intuitively. The data is directly accessible by placing the cursor. I know you haven't tried it, but maybe you should download and test it out. Then tell Jean Pierre what you think about a legend.. Its pretty good I think....
__________________

__________________
rgleason is offline   Reply With Quote
Old 25-03-2013, 06:55   #33
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,421
Re: New grib presentation

Jean Pierre I'm really new to git too, but it is easier for me because I am just fetching and pulling on the different branches. You and Sean would be setting up an area to work on code, seeing if it worked and then 'committing' those changes. Its a real teamwork kind of thing, maybe Pavel can give you and Sean some ideas and techniques about how to do it. I think it might be very powerful.

I am sure you know this site http://git-scm.com/
__________________
rgleason is offline   Reply With Quote
Old 25-03-2013, 08:28   #34
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,421
Re: New grib presentation

Jean Pierre, Do you use windows at all? Linux? Just curious.
__________________
rgleason is offline   Reply With Quote
Old 25-03-2013, 15:56   #35
Registered User

Join Date: Jul 2009
Location: The Netherlands
Boat: Koopmans, 33 ft cutter
Posts: 170
Re: New grib presentation

Quote:
Originally Posted by rgleason View Post
I don't know which one to pick from the icon bar! (Is there some way to have an identifier?)

Rick
Use local time in one and utc in the other dll to keep 2 dll's apart.
__________________
Zoef is offline   Reply With Quote
Old 25-03-2013, 16:54   #36
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,421
Re: New grib presentation

Good idea. I'll try it, hopefully they will use the different settings in opencpn.ini.
__________________
rgleason is offline   Reply With Quote
Old 26-03-2013, 01:16   #37
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: New grib presentation

Quote:
Originally Posted by rgleason View Post
Jean Pierre, Do you use windows at all? Linux? Just curious.
Hi ,

I use only Windows ...
Vista at home and I use also a 10' device with XP for navigation

I have fetch back a copy of Sean's gri_enhancements
in branch GRIB_FROM_SEANDEPAGNIER to have a look at it's code that seams very different
We could merge but I don't see what could be the result ?
any idea

Jean Pierre
__________________
Ptizef is offline   Reply With Quote
Old 26-03-2013, 01:20   #38
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: New grib presentation

Some correction and improvement have been made

- m/s km/h and kts as speed unit
- mBa and mmHg as pressure unit
- fix crash with specific files
- prepare the possibility for translation
If somebody is interested to translate in is own language , just copy from the source the file 'language'.po ( example es.po for Spanish ) , complete it with translation and send it back to me .

Sources are available: https://github.com/Ptizef/OpenCPN/tree/NEW_GRIB
only use branch NEW_GRIB

Here attached :
grip_pi.dll (with .doc to be remove) to copy in OpenCPN/plugins/
opencpn-grib_pi.mo ((with .doc to be remove) to copy in
OpenCPN/share/locale/'language'/LC_MESSAGES/
this last file is a quick translation in French

Jean Pierre
Attached Files
File Type: doc grib_pi.dll.doc (325.5 KB, 56 views)
File Type: doc opencpn-grib_pi.mo.doc (6.2 KB, 41 views)
__________________
Ptizef is offline   Reply With Quote
Old 26-03-2013, 02:26   #39
Registered User

Join Date: Apr 2012
Location: Port Vila, Vanuatu
Boat: Van der Stadt Samoa 48
Posts: 128
Re: New grib presentation

I believe that there are several things from the Grib enhancement that we can use.
The Grib config window is very useful, because you as user can configure your display.
In the display control you can easily “tick” what you want to see (wind, current, temperature etc)

It could also be very useful to be able to show two different grib's at the same time. One with wind data and one with current data.

Click image for larger version

Name:	Grib config.png
Views:	73
Size:	198.2 KB
ID:	57899

Click image for larger version

Name:	Grib display control.png
Views:	77
Size:	137.4 KB
ID:	57900
__________________
Taarnskov is offline   Reply With Quote
Old 26-03-2013, 04:43   #40
Registered User

Join Date: Sep 2010
Posts: 134
Re: New grib presentation

Hi,

I like this enhancement of GRIB plug in.

I try to change speed from km/h to kits but without a success. I can do all combination except kits. If I set it, click OK, and back again speed back to km/h.

Kubek
Attached Thumbnails
Click image for larger version

Name:	settings1.jpg
Views:	75
Size:	30.6 KB
ID:	57904   Click image for larger version

Name:	settings2.jpg
Views:	86
Size:	30.5 KB
ID:	57905  

__________________
kubek is offline   Reply With Quote
Old 26-03-2013, 05:14   #41
Registered User

Join Date: Jul 2009
Location: 45 00N / 000 25W
Boat: building a one-off, alloy
Posts: 9
Re: New grib presentation

Hello
NEW_GRIB works on Debian 7.0
downloaded from git
compiled and build locally

except for :

1- files *.grb.bz2 are not listed (*.grb ok)
2- no data shown in the panel

solution for 1
line 800 of grib.cpp
_T(""), wxT ( "Grib files (*.grb;*.grb.bz2| *.grb;*.grb.bz2"), wxFD_OPEN, wxDefaultPosition,

replaced by
_T(""), wxT ( "Grib files (*.grb;*.grb.bz2|*.grb;*.grb.bz2"), wxFD_OPEN, wxDefaultPosition,

(removed space after |)

for the second issue I don't know...
Attached Thumbnails
Click image for larger version

Name:	Sans titre.png
Views:	89
Size:	35.2 KB
ID:	57919  
__________________
yantho is offline   Reply With Quote
Old 26-03-2013, 05:17   #42
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: New grib presentation

Sorry my fault !
a regression from pressure unit add

Corrected in sources and here attached new .dll file

Jean Pierre
Attached Files
File Type: doc grib_pi.dll.doc (325.5 KB, 107 views)
__________________
Ptizef is offline   Reply With Quote
Old 26-03-2013, 05:32   #43
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: New grib presentation

yantho ...

Many thanks .

point 1 : Correction done in sources .This appeared to have no influence in windows
point 2 : no data in panel , could you send me a file to see what the behaviour in windows
regards
Jean Pierre
__________________
Ptizef is offline   Reply With Quote
Old 26-03-2013, 05:35   #44
Registered User

Join Date: Sep 2010
Posts: 134
Re: New grib presentation

Hi,

Now it works.
I would like to Thanks again for great GRIB plug-in improvements!

Kubek
__________________
kubek is offline   Reply With Quote
Old 26-03-2013, 05:51   #45
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,823
Re: New grib presentation

Quote:
Originally Posted by Ptizef View Post
Hi ,

I use only Windows ...
Vista at home and I use also a 10' device with XP for navigation

I have fetch back a copy of Sean's gri_enhancements
in branch GRIB_FROM_SEANDEPAGNIER to have a look at it's code that seams very different
We could merge but I don't see what could be the result ?
any idea

Jean Pierre
The main things:

1. rendering is much faster for opengl mode for maps
2. timeline interpolation between grib files
3. any display for any data time (you can do isobars for wind, or waves not just pressure, or you can do an overlay map for pressure or...)
__________________

__________________
boat_alexandra is offline   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 23:03.


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.