Closed IdahoSixString closed 7 years ago
It's degribbing correctly. The likely problem is the GRIB files contain multi-messages, which is generally discouraged. You can handle multi-messages as described here: https://github.com/0x1mason/GribApi.NET/issues/29
If that resolves your problem, please lmk and update Stack Overflow accordingly.
Lmk if you need further assistance.
You are absolutely correct. This has solved the issue.
Thank you for your prompt support.
Would this be something that could be determined by the library automatically as to not need to manually change the setting?
Glad that worked.
That's a great question. I'll do some research. Can you open an enhancement request?
Doesn't look like I can add labels but I opened up two new tickets.
Here http://www.atmo.arizona.edu/products/models/forecasts/id/
These folks have large amounts of grib2 files. If you run their files through your code you will notice that you are missing a lot of data. Specifically I noticed the V components of wind. Therefore, you cannot properly get the appropriate vector for the wind. In addition, due to this reading incorrectly you will begin to notice that you will start getting string values where there should only be decimal values.
Here is a complete implementation of reading and writing grib files in C.
ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib/wgrib.c
Maybe this will assist you in making this a great grib library.