Hi,
First of all, let me congratulate you on the amazing work you've done trying to create a working netcore grib parser! Impressive!
I'm trying myself to "get rid of" the net461 dependance on Grib.Api nugget.
I have done some testing in one of the forecast model I'm using, namely AROME 0.025 (french model). I've tried to parse the SP1 package available here [https://donneespubliques.meteofrance.fr/?fond=produit&id_produit=131&id_rubrique=51].
I've done the test on the "Temperature" parameter and I've noticed that the values that comes out of the "Grib2Reader.ReadDataSetValues" function are not consistent with what I find using Grib.Api nuget or panoply.
I don't know if maybe you have an idea why that is ?
I'll appreciate any help ๐ and congrats again on your work!
Best
Philippe
Here is the code I'm using:
`using (var stream = File.OpenRead(filePath))
{
var gribReader = new Grib2Reader(stream);
var gribMessages = gribReader.ReadMessages().ToList();
var selectedGribMessages =
gribMessages
.Where(
m => m.DataSets.Single().Parameter.HasValue && m.DataSets.Single().Parameter.Value.Name == "Temperature")
.ToList();
var data = gribReader.ReadDataSetValues(selectedGribMessages.First().DataSets.Single());`