Decoding of All grib
Post by iconPost by Ventura_317 | 2021-01-05 | 11:25:07

Looking for any post explaining more or less easily how to extract from an All grib file the TWS/TWD of a known position /date !

commenticon 5 Comments
Post by iconPost by Hardtack | 2021-01-05 | 13:47:43
http://zezo.org/forum.pl?tid=8284
It really only took scrolling half a page down to find it ;-)
Post by iconPost by Ventura_317 | 2021-01-05 | 15:44:39
Thanks hardtack but I am sure you can do much better for me !
Post by iconPost by zezo | 2021-01-05 | 16:49:16
All the code can be find in "cwind.js" used by each race page.

Only difference is it gets the U/V values from a PNG image used as binary data storage instead of GRIB file.

Decoding the GRIB is a bit more involved. I use text dumps internally and convert to my own binary format. GRIB itself is weird.
Post by iconPost by Ventura_317 | 2021-01-08 | 10:26:56
Thanks a lot Zezo !

Was looking fot the FORTRAN Prog WGrib which apparently is not any more available in the NOA Server
Post by iconPost by zezo | 2021-01-08 | 11:42:35
The current toolkit is https://www.ecmwf.int/en/elibrary/18135-grib-api

But I still use the old grib api and cnvgrib from NOAA to convert from v2 to v1. From the toolkit I mostly use grib_get_data to dump the U/V values to a set of text files which are further compiled into simple binary array for the router.

border
Topics list
Posts
border
5
border
border
Copyright 2009 by ZEZO.ORG. All Rights Reserved.