Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-02-2014, 00:54   #316
Marine Service Provider

Join Date: Oct 2009
Location: In the U.S.
Boat: FP Tobago 35 [sold]
Posts: 402
Re: New Grib Presentation

Quote:
Originally Posted by bdbcat View Post
kiltym....

Thanks for the reports. If you have the time, please create a Flyspray task for these bugs. I'm sure they are real, and if captured in Flyspray they will be addressed. Otherwise, we lose lots of drive-by bug reports. And we really want to catch them all.

Thanks
Dave
Dave,

I added them to "OpenCPN 3.3.x. Beta" as there is no V2.2 for the Grib project in Flyspray and wasn't sure what else to do with them. Hopefully that is OK.
__________________

__________________
Mark (It's Irie - Sailing Blog)
The Wirie AP+ and The Wirie pro - Long Range Marine WiFi and 2/3/4G Systems
kiltym is offline   Reply With Quote
Old 01-02-2014, 16:21   #317
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,294
Re: New Grib Presentation

Hello Ptizef,

I completed the web page (see my previous post). And testing the display of the waves, I found that the size of the arrows could not be changed.

I open a track in flyspray. See FS#1311.
__________________

__________________
Gilletarom is offline   Reply With Quote
Old 24-02-2014, 05:21   #318
Registered User
 
rgleason's Avatar

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

Coming Soon. Try it!
https://github.com/OpenCPN/OpenCPN/pull/94

Quote:
In the request dialog , a button "moving grib enable" / "moving grib disable" is displayed if Saildocs is the choice.
Clicking on this button opens a pop-up allowing to enable/disable the moving grib request and enter speed and course.
The necessary elements are added in the mail image.
These files are incompatible with interpolation, so a "moving file" is detected at start and a warning is displayed. interpolation, if set is deactivated. (only for this file, the settings are not modified).
Thanks Jean Pierre!
__________________
rgleason is offline   Reply With Quote
Old 28-02-2014, 16:59   #319
Registered User
 
rgleason's Avatar

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

Canadian Grib Files, good website and data.
Numerical Data - GRIB Format - Environment Canada
Waves Wave Model Charts - Environment Canada
Using Wget with Gribs Numerical Data - GRIB Format - Environment Canada
Wave forecasts Numerical Data - RDWPS - GRIB2 - Environment Canada
10km Resolution 10km Resolution Numerical Data - GEM Regional Model - GRIB2 format - Environment Canada"

Don't know how it could be used, but it is available online.
http://www.gnu.org/software/wget/man...l#Simple-Usage

Analysis Fax Analysis Charts - Environment Canada
__________________
rgleason is offline   Reply With Quote
Old 01-03-2014, 03:13   #320
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,294
Re: New Grib Presentation

Hello,

Unless I am mistaken, the grib files, accessible via the links on this website are GRIB2 files. They are unusable with OCPN.

Anyone know where to find it but GRIB1 files on the Canadian site?
__________________
Gilletarom is offline   Reply With Quote
Old 20-04-2014, 21:53   #321
Registered User
 
rgleason's Avatar

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

GRIB FILES
This Walking or moving grib can move in boat's direction & speed, is under 10 kb, has 4 x 6 degree area, 1/2 degree resolution,
3 hrs up to 1 1/2 days, then 6 hrs up to 2 days, then 12 hrs up to 6 days.
Send email to query@saildocs.com, Message: GFS line below, Subj: grib.
================================================== ===========
File: Lat Long info | Grid | Time Interval | Data | Speed, Direction GFS:42N,38N,070W,076W|0.5,0.5|6,9..18,24..48,60..1 44|WIND|4.5,079
Leave NO SPACES between! eg: |6(comma)9(dot)(dot)18(comma)24

File: Targets file type request.
GFS is typical wind wave file from NOAA often all that is needed.

Lat Long info: 4 x 6 or 6 x 4 is pretty good.
42N,38N 4 degrees
070W,076W 6 degrees

Grid this is the resolution of the grib information.
0.5,0.5 is 1/2 x 1/2 degree - the finest resolution available.
1,1 is 1 x 1 degrees
2,2 is 2 x 2 degrees
When you have as small an area as we have selected, you need the 0.5,0.5

Time Interval by components:
0, no zero shown because we know the wind, now, save kb.
6,9 sets increment to 3 hours (smallest allowed) 9 - 6 = 3 hours.
6,9..18 repeat 3 hr from 6 to 18 hrs. 18 - 9 = 9 hrs, 9/3 =3<--must be integer.
18,24 sets increment to 6 hours. 24 - 18 = 6 hrs.
18,24..48 then repeat 6 hr from 18 to 48 hrs, 48 - 24 = 24 , 24 = 6 x 4<-- integer, no fraction.
48,60 sets increment to 12 hrs. 60 - 48 = 12 hrs.
48,60..144 then repeat 12 hr from 48 hr to 144 hr

Data Types - used to select which data types you want
WIND,PRESS,APCP (rain),TCDC,AIRTMP,HTSGW,WVDIR,CAPE

Speed, Direction - Creates the walking or moving grib
4.5,079 Speed in knots, bearing in degrees approximating the boat path.

Question
=======
In SSB Winlink grib saildoc file attachments can by up to 12 kb. The WIND grib file above is 9kb. It would be very nice to be able to request separate but identical gribs for PRESS, WAVES and CAPE and be able to combine therm easily for ease of use.

Does anyone have a suggestion as to how to do this? If there is an msdos command that will concatenate two files??? I could then build a batch file calling 9 kb files WIND.grb, PRESS.grb, WAVES.grb, CAPE.grb and just run that?

I think this capability would be very useful for receiving smaller single data type SSB grib files, and then joining them easily.

Thank you.
Rick

PS Pitzef has been working marvels with the moving grib request capability and in many other ways on this pluign which keeps getting betrre. Thank you!

I am not necessarily asking for feature in the grib_pi at this point, I'd just like to figure out a way to do this before June, via use of a small batch file or something, so I can pull small <10 kb files with single but different data types together into a single file.

PS: This stuff is really working nicely now.
__________________
rgleason is offline   Reply With Quote
Old 21-04-2014, 09:02   #322
Registered User
 
NEVERMIND's Avatar

Join Date: Apr 2011
Location: CORSE
Boat: PRIVILEGE 12
Posts: 141
Images: 3
Re: New Grib Presentation

Hi,
My config: opencpn 3.3.1606
Mac 10.9.2

When i make a request, in have a code off Zygrib but when i clic on send no windows are open for the mail.
Jean Paul
Attached Thumbnails
Click image for larger version

Name:	Capture d’écran 2014-04-21 à 16.56.45.jpg
Views:	73
Size:	323.8 KB
ID:	79672   Click image for larger version

Name:	Capture d’écran 2014-04-21 à 16.57.18.png
Views:	73
Size:	333.0 KB
ID:	79673  

__________________
NEVERMIND is offline   Reply With Quote
Old 21-04-2014, 10:02   #323
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,759
Re: New Grib Presentation

Jean Paul,

your are under OS_X, right?
Which mail program are you using? Not the OS-X mail perhaps?

Hubert
__________________
bcn is online now   Reply With Quote
Old 21-04-2014, 10:18   #324
Registered User
 
NEVERMIND's Avatar

Join Date: Apr 2011
Location: CORSE
Boat: PRIVILEGE 12
Posts: 141
Images: 3
Re: New Grib Presentation

Quote:
Originally Posted by bcn View Post
Jean Paul,

your are under OS_X, right?
Which mail program are you using? Not the OS-X mail perhaps?

Hubert

Yes OS X 10.9.2
Mac mail v 7.2
__________________
NEVERMIND is offline   Reply With Quote
Old 21-04-2014, 10:24   #325
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: New Grib Presentation

Quote:
Originally Posted by NEVERMIND View Post
Yes OS X 10.9.2
Mac mail v 7.2
Do you have "xdg-utils" installed?
This is required for the mail to work, the way you describe it.
"xdg-utils" should work for Mac, but as far as I can recall, this has never been confirmed. Time to find out....

-----
Check your opencpn.log file for a message regarding missing xdg-utils.

Alternatively you can set up a mail-server to work with the grib-requests.
Check the main grib page in the wiki + this page http://opencpn.org/ocpn/mail_servers for instructions.

Thomas
__________________
cagney is offline   Reply With Quote
Old 21-04-2014, 10:39   #326
Registered User
 
NEVERMIND's Avatar

Join Date: Apr 2011
Location: CORSE
Boat: PRIVILEGE 12
Posts: 141
Images: 3
Re: New Grib Presentation

Thanks, i have not found xdg-utils for mac on the web, i think he don't working on Mac.
__________________
NEVERMIND is offline   Reply With Quote
Old 21-04-2014, 10:55   #327
Registered User
 
NEVERMIND's Avatar

Join Date: Apr 2011
Location: CORSE
Boat: PRIVILEGE 12
Posts: 141
Images: 3
Re: New Grib Presentation

OK Cagney you are the best.
I have the cause but not solution now.
jp
Attached Thumbnails
Click image for larger version

Name:	Capture d’écran 2014-04-21 à 18.52.14.png
Views:	81
Size:	185.2 KB
ID:	79677  
__________________
NEVERMIND is offline   Reply With Quote
Old 21-04-2014, 11:37   #328
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,759
Re: New Grib Presentation

Warning does not disappear, even when GRIB is closed (OS-X 10.9)
Attached Thumbnails
Click image for larger version

Name:	Captura de pantalla 2014-04-21 a la(s) 19.34.46.png
Views:	73
Size:	43.5 KB
ID:	79679  
__________________
bcn is online now   Reply With Quote
Old 21-04-2014, 11:43   #329
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: New Grib Presentation

Quote:
Originally Posted by NEVERMIND View Post
OK Cagney you are the best.
I have the cause but not solution now.
jp
This is a problem that needs to be solved for the grib-plugin.
We have MAPI to find the email client on windows, and we have xdg-email to find the same thing on Linux/unix. This is just a shell-script, and it does not look like it deals with Mac specifics.
Is there a corresponding Mac utility, or command, to find the users email program?

Thomas
__________________
cagney is offline   Reply With Quote
Old 21-04-2014, 14:58   #330
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: New Grib Presentation

You have to invoke and to configure sendmail/postfix which is part of OS X:

Code:
sudo mkdir -p /Library/Server/Mail/Data/spool

            sudo gzip  /usr/share/man/man1/{postalias.1,postcat.1,postconf.1,postdrop.1,postfix.1,postkick.1,postlock.1,postlog.1,postmap.1,postmulti.1,postqueue.1,postsuper.1,sendmail.1}

            sudo gzip  /usr/share/man/man5/{access.5,aliases.5,bounce.5,canonical.5,cidr_table.5,generic.5,header_checks.5,ldap_table.5,master.5,mysql_table.5,nisplus_table.5,pcre_table.5,pgsql_table.5,postconf.5,postfix-wrapper.5,regexp_table.5,relocated.5,tcp_table.5,transport.5,virtual.5}

            sudo gzip  /usr/share/man/man8/{anvil.8,bounce.8,cleanup.8,discard.8,error.8,flush.8,local.8,master.8,oqmgr.8,pickup.8,pipe.8,proxymap.8,qmgr.8,qmqpd.8,scache.8,showq.8,smtp.8,smtpd.8,spawn.8,tlsmgr.8,trivial-rewrite.8,verify.8,virtual.8}

            sudo /usr/sbin/postfix set-permissions

            sudo chmod 700 /Library/Server/Mail/Data/mta
Your further configuration depends of the used mail provider. It must be configured in /etc/postfix/main.cf
Example:
Code:
# Minimum Postfix-specific configurations. mydomain_fallback = localhost mail_owner = _postfix setgid_group = _postdrop relayhost=smtp.googlemail.com:587  # Enable SASL authentication in the Postfix SMTP client. smtp_sasl_auth_enable=yes smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd smtp_sasl_security_options=  # Enable Transport Layer Security (TLS), i.e. SSL. smtp_use_tls=yes smtp_tls_security_level=encrypt tls_random_source=dev:/dev/urandom
Because there is no benefit to get gribs by email or using e.g. zyGrib I have once tested it and never used it further.

Gerhard
__________________

__________________
CarCode 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 06:48.


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.