<div dir="ltr">To add a bit to Dennis' explanation, you can go to the NCEP page:<div><br><div><a href="https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_table4-2.shtml">https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_table4-2.shtml</a><br></div><div><br></div><div>which is titled "Parameter Number by Product Discipline and Parameter Category". </div><div><br></div><div>NCL has an attribute for the variable VAR_0_1_233_P0_L1_GLC0 called "parameter_discipline_and_category" <br></div><div>with the value "Meteorological products, Moisture". You will find this discipline and category near the top of the NCEP page with a clickable link to a page with the</div><div>parameters listed. Near the bottom of that page you will find parameter 233 showing its long name: "Snow LIquid Ratio", its units: "kg kg-1" , and the name that would </div><div>replace the "VAR_0_1_233" part of the NCL name if NCL's internal GRIB2 tables were to be updated again: "<span style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium">SNOWLR".</span></div><div><br></div><div>Hope this helps.</div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 21, 2022 at 9:10 AM Dennis Shea via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>NCL is correctly unpacking the values.</div><div><br></div><div>The issue is that the variable's long_name and units are not in the table lookup used by NCL. In a sense, GRIB file contents are a bit of a 'moving target.' The tables must be updated continually. NCL is no longer performing that task.</div><div><br></div><div>Example:</div><div><br></div><div>The variable id is 233<br></div><div> <br> float VAR_0_1_233_P0_L1_GLC0 ( ygrid_0, xgrid_0 )<br> center : US National Weather Service - NCEP (WMC)<br> production_status : Operational products<br> long_name : unknown variable name <=====<br> units : unknown <=====<br> _FillValue : 9999<br> coordinates : gridlat_0 gridlon_0<br> grid_type : Lambert Conformal can be secant or tangent, conical or bipolar<br> parameter_discipline_and_category : Meteorological products, Moisture<br> parameter_template_discipline_category_number : ( 0, 0, 1, 233 )<br> level_type : Ground or water surface<br> level : 0<br> forecast_time : 5<br> forecast_time_units : hours<br> initial_time : 03/20/2022 (12:00)</div><div><br>warning: Entry (233) not found in code table file /Users/shea/devel/ncl/lib/ncarg/grib2_codetables/ncep/4/4.2.0.1.table</div><div><br></div><div><div>You will have to look up grib2_codetables/ncep/4/4.2 or some such thing. Then, manually enter the appropriate information.<br></div><div><br></div><div> X = f->VAR_0_1_233_P0_L1_GLC0</div><div> X@long_name = "..."</div><div> X@units = "..."</div><div><br></div><div>Good luck<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Mar 20, 2022 at 12:08 PM Andrew Kren - NOAA Federal via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi there,<div><br></div><div>I am trying to decode an NBM blend of models grib file but having trouble determining what the variables are for certain unknown ones.</div><div><br></div><div>When I do an ncl_filedump, I get several listings from the file that are "unknown variable name". I'm trying to determine the prob snow, sleet, ice, rain variables but looking at both the ncdump info and the index files, as well as NOAA VLab is still confusing. The file I am trying to read is located at this link:</div><div><br></div><div><a href="https://nomads.ncep.noaa.gov/pub/data/nccf/com/blend/prod/blend.20220320/12/core/blend.t12z.core.f005.co.grib2" target="_blank">https://nomads.ncep.noaa.gov/pub/data/nccf/com/blend/prod/blend.20220320/12/core/blend.t12z.core.f005.co.grib2</a></div><div><br></div><div>Any help is much appreciated!<br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><pre cols="72" style="white-space:pre-wrap;color:rgb(34,34,34);font-family:"arial black",sans-serif"><span style="font-family:arial,helvetica,sans-serif">Andrew Kren
Meteorologist
NOAA's National Weather Service
Raleigh Forecast Office
1005 Capability Drive, Suite 300
Raleigh, North Carolina 27606
voice: 919-326-1035
mailto: <a href="mailto:andrew.kren@noaa.gov" target="_blank">andrew.kren@noaa.gov</a></span><span style="font-family:arial,helvetica,sans-serif">
</span><a href="http://www.weather.gov/rah" style="color:rgb(17,85,204)" target="_blank"><span style="font-family:arial,helvetica,sans-serif">http://www.weather.gov/rah</span></a></pre></div><div dir="ltr"><img src="https://www.aoml.noaa.gov/pix/AOML/50th01.png" width="420" height="65"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>