<div dir="ltr">William and Jeff, thank you very much for these good ideas. <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 3 Jul 2019 at 18:08, Jeff Duda <<a href="mailto:jeffduda319@gmail.com">jeffduda319@gmail.com</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">Also, you can get a quick sense of what the "plottable" variable names are just by typing 'q file' and examining the list. It will perform the truncation and tell you what you need to type in.<div><br></div><div>Jeff Duda</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 3, 2019 at 9:45 AM L.B. <<a href="mailto:bcbass2989@gmail.com" target="_blank">bcbass2989@gmail.com</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">A much simpler solution that I came across years ago was that GrADS only recognizes variables name with 15 or fewer characters. So, I just used the same variable but only typed out the first 15 characters of the variable name and it worked for me. In your case, 

<span style="white-space:pre-wrap"> 'd MAXUVV400_1000mb'</span>  would become: 

<span style="white-space:pre-wrap"> 'd MAXUVV400_1000m'</span> . Try that and see if it works.<div><br clear="all"><div><div dir="ltr" class="gmail-m_2887973099249054844gmail-m_-4842127952259021725gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><b>-------</b></div>William (L.B.) LaForce IV<br>Meteorologist</div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 3, 2019 at 6:45 AM Moustabchir Rachid <<a href="mailto:rachid.moustabchir@gmail.com" target="_blank">rachid.moustabchir@gmail.com</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 dir="ltr"><div>Dear grads users!</div><div><br></div><div>After a long search in google I found that a solution was already given in your website. It is an issue related to  
the fact that grads does not support long variable names. To solve it: I
 provided in control file an "alias" variable name that follows grads 
rules like: <br></div><div>MAXUVV400_1000mb=>MAXUVV400</div><div>So I use the following commands to create this alias:</div><div><br></div><div>$<b> cat </b>201104270600_wrfout_arw_d01.ctl<b>  | sed 's/MAXUVV400_1000mb/MAXUVV400_</b><b>1000mb=>MAXUVV400/g' > </b>new_wrfout_arw_d01.ctl</div><div>$<b> </b>mv new_wrfout_arw_d01.ctl    201104270600_wrfout_arw_d01.ctl</div><div><br></div><div>In this case if we look inside <b> 201104270600_wrfout_arw_d01.ctl</b>, we get:</div><div><b>

</b><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><b>MAXUVV400_1000mb=>MAXUVV400</b>  0,108,40000,100000   0,2,220,2 ** 400-1000 mb above ground Hourly Maximum Of Upward Vertical Velocity In The Lowest 400hPa [m/s]</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p></div><div> This
 mean that the alias between the two variables was done correctly, and 
in the script I use  'd MAXUVV400' instead of   'd MAXUVV400_1000mb' <br></div><div><br></div><div>Thanks.</div><div>Rachid</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 24 Jun 2019 at 20:31, Moustabchir Rachid <<a href="mailto:r.moustabchir@uiz.ac.ma" target="_blank">r.moustabchir@uiz.ac.ma</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">

<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Dear Sir!</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">When I try to plot Maximum Updraft Velocity in Previous Hour with  a script using   'd MAXUVV400_1000mb'  , grads return an error: </p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">
</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Syntax Error:  Invalid Operand </p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">  'maxuvv400_1000mb' not a variable or function name</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">  Error ocurred at column 1</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">DISPLAY error:  Invalid expression </p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">  Expression = maxuvv400_1000mb</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">in the index file of the grib2 file I can find the MAXUVV400_1000mb varible:<br></p>MAXUVV400_1000mb  0,108,40000,100000   0,2,220,2 ** 400-1000 mb above ground Hourly Maximum Of Upward Vertical Velocity In The Lowest 400hPa [m/s]
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Thanking you most sincerely for <span class="gmail-m_2887973099249054844gmail-m_-4842127952259021725gmail-m_1634069475288919689gmail-m_-5672892335995052307gmail-il">your</span> <span class="gmail-m_2887973099249054844gmail-m_-4842127952259021725gmail-m_1634069475288919689gmail-m_-5672892335995052307gmail-il">time</span> and consideration.</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"> Cordially,</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Dr. Rachid Moustabchir <br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Ibn Zohr University</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Agadir Morocco</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p></div>
</blockquote></div></div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_2887973099249054844gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font size="2"><span>Jeff Duda, Research Scientist</span></font></div><div dir="ltr"><font size="2"><span></span></font>University of Colorado Boulder</div><div dir="ltr"><font size="2"><span></span></font>Cooperative Institute for Research in Environmental Sciences</div><div dir="ltr">NOAA/OAR/ESRL/Global Systems Division<br><font size="2"><span>

<span>Boulder, CO<br></span></span></font>



</div></div></div></div></div></div></div></div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div>