<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Jeff,</p>
<p><br>
</p>
<p>The HRRR files are GRIB2 format and don't seem to be able to be opened by ncdump.</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols;">
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><b><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">Aaron D. Perry</span></font></b><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">Class of 2016</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">Lyndon State College</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
Lyndonville, VT 05851</span></font></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:14.67px">Mobile: (617)&nbsp;780-4312</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font><font size="2" color="#006FC9"><span style="font-size:11pt">Twitter:&nbsp;</span></font><a href="https://twitter.com/arnpry" target="_blank" id="LPNoLP"><font size="2"><span style="font-size:11pt">@arnpry</span></font></a><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
</span></font></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9" style="font-family:Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt">FB:&nbsp;</span></font><a href="https://www.facebook.com/arnpry" target="_blank" id="LPNoLP" style="font-family:Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt">fb.com/arnpry</span></font></a></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">LinkedIn:&nbsp;</span></font><a href="https://www.linkedin.com/in/arnpry" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt">arnpry</span></font></a><a href="https://www.linkedin.com/in/upstream" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt"></span></font></a></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt">Web:&nbsp;</span></font><a href="http://shearanalytics.net/" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt"><font face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9">shearanalytics.net</font></span></font></a><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:11pt"><br>
Email:&nbsp;</span></font><a href="http://Aaron.Perry@lyndonstate.edu/" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:11pt">Aaron.Perry@lyndonstate.edu</span></font></a></font></div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> gradsusr-bounces@gradsusr.org &lt;gradsusr-bounces@gradsusr.org&gt; on behalf of Jeff Duda &lt;jeffduda319@gmail.com&gt;<br>
<b>Sent:</b> Wednesday, November 1, 2017 12:37:46 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] Number of Full Domain Grid Values Available in HRRR Domain</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>First note - I wouldn't prefer to use GrADS if I had other software available, as using GrADS isn't guaranteed to give a 100% accurate answer. If you have access to the NCO utilities (ncdump) and the raw HRRR output, I would just do an 'ncdump -h' on the
 output file.<br>
<br>
</div>
If you really need to use GrADS, one trick you can try is this<br>
<br>
</div>
'd asum(const(refdtotal,1),lon=276,lon=295,lat=37,lat=48.5)'<br>
<br>
</div>
This function creates a new field such that all valid data points in the field refdtotal (which should match the HRRR domain) are set to 1, and then the sum of all those 1s is taken over the domain. Thus, it should spit out the number of grid points in the
 domain. You can use any field in the data set and any domain bounds so long as they fully encompass the valid data, as the asum() function won't consider missing data points (i.e., where the field is invalid outside of the model domain).
<br>
<br>
</div>
Jeff Duda <br>
</div>
<div class="x_gmail_extra"><br>
<div class="x_gmail_quote">On Wed, Nov 1, 2017 at 11:12 AM, Perry, Aaron <span dir="ltr">
&lt;<a href="mailto:Aaron.Perry@lsc.vsc.edu" target="_blank">Aaron.Perry@lsc.vsc.edu</a>&gt;</span> wrote:<br>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div id="x_m_4182348045493431811divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>I am trying to figure out how to output the exact number of grid values across my domain in GrADS using the HRRR model.</p>
<p><br>
</p>
<p><b>GrADS&nbsp;Code:</b></p>
<p><br>
</p>
<p>*Domain</p>
<p></p>
<div>'set lat 37 48.5'</div>
<div>'set lon 276.0 295.0'</div>
<div><br>
</div>
<div>*Generate a text file</div>
<div>
<div>'set gxout print'</div>
<div>'set prnopts %0.0f <b>219</b> 1 u' <b>&lt;--- What should my numl value be? How do I determine&nbsp;to print out a value for every grid cell in the domain?</b></div>
<div>'d refdtotal'</div>
<div>dummy=write('/home/weather/<wbr>hrrr.txt',result)</div>
</div>
<p></p>
<p><br>
</p>
<p>Best regards,</p>
<div id="x_m_4182348045493431811Signature">
<div id="x_m_4182348045493431811divtagdefaultwrapper" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,NotoColorEmoji,&quot;Segoe UI Symbol&quot;,&quot;Android Emoji&quot;,EmojiSymbols">
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" color="#006FC9" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt"><br>
</span></font></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><b><font size="2" color="#006FC9" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt">Aaron D. Perry</span></font></b><font size="2" color="#006FC9" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt"><br>
</span></font><font size="2" color="#006FC9" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt">Class of 2016</span></font><font size="2" color="#006FC9" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt"><br>
</span></font><font size="2" color="#006FC9" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt">Lyndon State College</span></font><font size="2" color="#006FC9" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt"><br>
Lyndonville, VT 05851</span></font></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" color="#006FC9" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:14.67px">Mobile: (617)&nbsp;780-4312</span></font><font size="2" color="#006FC9" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt"><br>
</span></font><font size="2" color="#006FC9"><span style="font-size:11pt">Twitter:&nbsp;</span></font><a href="https://twitter.com/arnpry" id="x_m_4182348045493431811LPNoLP" target="_blank"><font size="2"><span style="font-size:11pt">@arnpry</span></font></a><font size="2" color="#006FC9" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt"><br>
</span></font></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font color="#006FC9" face="Calibri,Arial,Helvetica,sans-serif" style="font-family:Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt">FB:&nbsp;</span></font><a href="https://www.facebook.com/arnpry" id="x_m_4182348045493431811LPNoLP" target="_blank" style="font-family:Calibri,Arial,Helvetica,sans-serif"><font size="2" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt">fb.com/arnpry</span></font></a></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" color="#006FC9" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt">LinkedIn:&nbsp;</span></font><a href="https://www.linkedin.com/in/arnpry" id="x_m_4182348045493431811LPNoLP" target="_blank"><font size="2" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt">arnpry</span></font></a><a href="https://www.linkedin.com/in/upstream" id="x_m_4182348045493431811LPNoLP" target="_blank"><font size="2" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt"></span></font></a></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" color="#006FC9" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt">Web:&nbsp;</span></font><a href="http://shearanalytics.net/" id="x_m_4182348045493431811LPNoLP" target="_blank"><font size="2" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt"><font color="#006FC9" face="Calibri,Arial,Helvetica,sans-serif">shearanalytics.net</font></span></font></a><font size="2" color="#006FC9" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt"><br>
Email:&nbsp;</span></font><a href="http://Aaron.Perry@lyndonstate.edu/" id="x_m_4182348045493431811LPNoLP" target="_blank"><font size="2" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:11pt">Aaron.Perry@<wbr>lyndonstate.edu</span></font></a></font></div>
</div>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="x_gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Jeff Duda<br>
Post-doctoral research fellow<br>
University of Oklahoma School of Meteorology<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>