Problem with non standard param numbers
When a parameter has a non-standard number (>127), cfgrib gives the name "unknown" and puts paramId to 0. Therefore, if a grib file contains 2 messages with 2 non-standard numbers, only one appears in the DataSet. The attached grib file illustrates the problem; it contains 2 messages with param numbers equal to 140 and 141. Most softwares (IDV, Panoply, ...) name the parameters with Productor ID, Table ID, and Param ID (something like unknown_85_0_1_140 and unknown_85_0_1_141 for the attached example).
You could use the GRIB edition 1 key "indicatorOfParameter" which is different for these 2 GRIB messages (Instead of "paramId")
Hi, Thank you for your reply. But it seems that indicatorOfParameter is not an attribute of the DataArray provided by cfgrib. Furthermore, even if it was, there are 2 messages in my sample GRIB file (both with non-standard numbers) and only one DataArray is generated by cfgrib.