<div dir="ltr"><span style="font-size:12.8px">Dear Mary,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks for your help. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"> Find in attached, WRF-NMM grib file and, below, asked informations :</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><ol><li style="margin-left:15px">No error return with ncl_filedump</li><li style="margin-left:15px"><b>printVarSummary(csnow) :<br><br><div style="font-weight:400">Variable: csnow</div><div style="font-weight:400">Type: float</div><div style="font-weight:400">Total Size: 1443112 bytes</div><div style="font-weight:400">            360778 values</div><div style="font-weight:400">Number of Dimensions: 2</div><div style="font-weight:400">Dimensions and sizes:   [g0_lat_0 | 529] x [g0_lon_1 | 682]</div><div style="font-weight:400">Coordinates:</div><div style="font-weight:400">            g0_lat_0: [53.012..39.787]</div><div style="font-weight:400">            g0_lon_1: [-6.01..11.722]</div><div style="font-weight:400">Number Of Attributes: 12</div><div style="font-weight:400">  center :      US National Weather Service - NCEP (WMC)</div><div style="font-weight:400">  long_name :   Categorical snow</div><div style="font-weight:400">  units :       yes=1;no=0</div><div style="font-weight:400">  _FillValue :  1e+20</div><div style="font-weight:400">  level_indicator :     1</div><div style="font-weight:400">  gds_grid_type :       0</div><div style="font-weight:400">  parameter_table_version :     2</div><div style="font-weight:400">  parameter_number :    143</div><div style="font-weight:400">  model :       North Pacific Hurricane Wave Model</div><div style="font-weight:400">  forecast_time :       18</div><div style="font-weight:400">  forecast_time_units : hours</div><div style="font-weight:400">  initial_time :        01/08/2018 (18:00)</div><div style="font-weight:400"></div><br></b></li><li style="margin-left:15px"><b>printMinMax(csnow,0)<br></b><br>(0)     Categorical snow: min=0   max=0<br><br></li><li style="margin-left:15px"><b><b>print(num(ismissing(csnow)))<br></b><br>(0)     61086<br></b></li></ol></blockquote></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-08 17:16 GMT+01:00 Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">​Dear Sebastien,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">In the future please post NCL questions / issues to <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>.  The <a href="mailto:ncarg-talk@ucar.edu" target="_blank">ncarg-talk@ucar.edu</a> email list is for NCAR Graphics users, and is not an active group.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br></div><div class="gmail_default"><br></div><div class="gmail_default" style="font-size:small">​Without having access to the dataset, it is hard for us to debug this problem. It would help, then, if you could provide more information about the variable, like what kind of metadata it has.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Do you get any kind of error from ncl_filedump? </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Could you run the short NCL script below, and send me the output from running it, using both NCL V6.3.0 and V6.4.0, including any error messages:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">a = addfile("<span style="font-size:12.8px">20122017_15.grb","r")</span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px">csnow = a-></span><span style="font-size:12.8px">CSNOW_GDS0_SFC</span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px">printVarSummary(csnow)</span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px">printMinMax(csnow,0)</span></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px">print(num(ismissing(csnow)))</span></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><span style="font-size:12.8px"></span>Finally, is there some place we can download this file, or a similar one,  from?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Jan 3, 2018 at 1:49 AM, Sébastien POITEVIN <span dir="ltr"><<a href="mailto:sebastien.poitevin@meteoconsult.com" target="_blank">sebastien.poitevin@<wbr>meteoconsult.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div style="font-size:12.8px">Hi all,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">When we read "Categorical Snow" with NCL 6.4.0 version (ncl_filedump -v CSNOW_GDS0_SFC 20122017_15.grb or with 'PrintMinMax' command), we have always null value (min and max value = 0)  whereas we have no problem when we read the same grib file with the 6.3.0 version (min = 0 and max = 1).  </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Grib files are produced by WRF-NMM (version V3.7.1) and UPPV3.0. </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Our system is "3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) x86_64 GNU/Linux"</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Unfortunately I cannot send you a WRF grib file because it is too large.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks for your help.</div><span class="m_-2737574753675120698HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-2737574753675120698m_1354225576220749084gmail_signature"><div dir="ltr"><img><img><img><img><img src="cid:ii_14cffd2de000cba9"><div></div></div></div>
</font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
ncarg-talk mailing list<br>
<a href="mailto:ncarg-talk@ucar.edu" target="_blank">ncarg-talk@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncarg-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncarg-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><img><img><img><img><img src="cid:ii_14cffd2de000cba9"><div></div></div></div>
</div>