<div dir="ltr"><div><div><div><div>Dear Mr.Dennis Shea<br><br></div>Thank you very much for reply me.<br><br></div>I want to obtain the result of Relative Humidity in ASCII file  base on website <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/wrf_rh.shtml" target="_blank">https://www.ncl.ucar.edu/<wbr>Document/Functions/Built-in/<wbr>wrf_rh.shtml</a>  by using Example 1. <br></div><div><br></div><div>I already changed the code as you recommend above but still not working.<br><br></div>Best regards,<br></div>Soares<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 29, 2017 at 10:02 AM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>You should examine the error message and the line at which it occurs.<br><br>RH: [Time | ntim] x [bottom_top | klevel] x [south_north | ny] x [west_east | nx]<br><br>-----<br>You have<br><br>do it = 0,ntimes-1<br>print (sprintf("%5.2f",it)+""\<br>      +sprintf("%19.2f",RH(it(0,:,:,<wbr>:)))+"")      ; <====== you have indexed 'it'<br><br>end do<br><br>---<br>Change to:<br><br></div>print (sprintf("%5.2f",it)+""\<br>      +sprintf("%19.2f",RH(it,:,:,:)<wbr>)<br><br></div>At <b>each</b> 'it' you are  printing a 3D array ... point  by point.<br><br></div>I have no idea why you would want to do that<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 28, 2017 at 6:50 PM, isakhar sakhar isakhar <span dir="ltr"><<a href="mailto:isakhar.inside13@gmail.com" target="_blank">isakhar.inside13@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi Mr. Marston<br><br></div>Yes, I have tried many times to solve the problems before send it here. Do you have any idea about the code I attached?<br><br></div>Thank you<br><br></div>Soares<br></div><div class="m_-8698546999309460837HOEnZb"><div class="m_-8698546999309460837h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 26, 2017 at 3:55 PM, Marston Johnston <span dir="ltr"><<a href="mailto:shejo284@gmail.com" target="_blank">shejo284@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="white" link="blue" vlink="purple" lang="EN-GB"><div class="m_-8698546999309460837m_-7745523689469426519m_-5800695602152447698WordSection1"><p class="MsoNormal"><span>The error message is quite clear. Did you try and address the problem as it states?<u></u><u></u></span></p><span><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>fatal:Number of subscripts do not match number of dimensions of variable,(4) Subscripts used, (1) Subscripts expected<br>fatal:["Execute.c":8640]:Execu<wbr>te: Error occurred at or near line 43 in file RH_WRF.ncl<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p></span><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070c0">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070c0">Marston S. Ward, PhD<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070c0">Department of Earth Sciences<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070c0">University of Gothenburg, Sweden<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070c0">Email: <a href="mailto:marston.johnston@gu.se" target="_blank"><span style="color:#0070c0">marston.johnston@gu.se</span></a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070c0">SkypeID: marston.johnston <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070c0">Phone: <a href="tel:+46%2031%20786%2049%2001" value="+46317864901" target="_blank">+46-31-7864901</a> <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070c0">Only the fruitful thing is true!<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070c0">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<u></u><u></u></span></p></div><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">ncl-talk <<a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a>> on behalf of isakhar sakhar isakhar <<a href="mailto:isakhar.inside13@gmail.com" target="_blank">isakhar.inside13@gmail.com</a>><br><b>Date: </b>Tuesday, 26 September 2017 at 07:50<br><b>To: </b><<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>><br><b>Subject: </b>[ncl-talk] About Relative Humidity<u></u><u></u></span></p></div><div><div class="m_-8698546999309460837m_-7745523689469426519h5"><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Dear NCL Team<u></u><u></u></p></div><p class="MsoNormal">I am interesting to know Relative Humidity base on website <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/wrf_rh.shtml" target="_blank">https://www.ncl.ucar.edu/Docum<wbr>ent/Functions/Built-in/wrf_rh.<wbr>shtml</a>  by using Example 1 but it didn't work.<u></u><u></u></p><div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">What is still go wrong with the code. Here I attach the code.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Best regards,<u></u><u></u></p></div><div><p class="MsoNormal">Soares<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><br><br><br>Variable: RH<br>Type: float<br>Total Size: 419208372 bytes<br>            104802093 values<br>Number of Dimensions: 4<br>Dimensions and sizes:    [Time | 289] x [bottom_top | 37] x [south_north | 99] x [west_east | 99]<br>Coordinates: <br>Number Of Attributes: 2<br>  units :    %<br>  description :    Relative Humidity<br>fatal:Number of subscripts do not match number of dimensions of variable,(4) Subscripts used, (1) Subscripts expected<br>fatal:["Execute.c":8640]:Execu<wbr>te: Error occurred at or near line 43 in file RH_WRF.ncl<u></u><u></u></p></div></div></div></div></div><p class="MsoNormal">______________________________<wbr>_________________ ncl-talk mailing list <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a> List instructions, subscriber options, unsubscribe: <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a> <u></u><u></u></p></div></div>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>