<div dir="ltr">Hi Guilherme,<div>Thanks for sending in a short script and providing a data file so we can test things out here. I think you have found a bug with the f2foshv_Wrap procedure. I would recommend copying your version of contributed.ncl to a local directory, and modify line 5651 from this:</div><div>nlat1= nlat-1</div><div>to this:</div><div>nlat1= nlat   </div><div><br></div><div>Then, load the local contributed.ncl in your regular script and run it. I ran a brief test here and the plots looked good, but you should check your results as well.</div><div><br></div><div>I will file a JIRA ticket about this. Let me know if you have any questions about what I recommended above.</div><div>Adam </div><div><br></div><div>      <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 8, 2016 at 5:42 AM, Guilherme Martins <span dir="ltr">&lt;<a href="mailto:jgmsantos@gmail.com" target="_blank">jgmsantos@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>Trying to use the f2foshv_Wrap function, I get the messege below.</div><div><br></div><div><div>fatal:Dimension sizes of left hand side and right hand side of assignment do not match</div></div><div><br></div><div>According to the link:</div><div><br></div><div><a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/f2foshv_Wrap.shtml" target="_blank">http://www.ncl.ucar.edu/Document/Functions/Contributed/f2foshv_Wrap.shtml</a><br></div><div><br></div><div>The result (uoff;voff) has the same same size dimensions of ure;vreg <span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px;line-height:16px">except the latitude dimension must have one less element.</span></div><div><br></div><div>Declaring my variables:</div><div><br></div><div><div>nt = 3</div><div>nz = 12</div><div>ny = 72</div><div>nx = 144</div></div><div><br></div><div><div>uN = new((/nt,nz,ny,nx/),typeof(u)) </div><div>vN = new((/nt,nz,ny,nx/),typeof(v))</div></div><div><br></div><div>The latitude has one less element than original file.</div><div><br></div><div>I can&#39;t understand where is my error.</div><div><br></div><div>The input file (<a href="http://uwnd.vwnd.nc" target="_blank">uwnd.vwnd.nc</a>) can be downloaded at:</div><div><br></div><div><a href="http://ftp-supercomputacao.inpe.br/public/jose.martins/" target="_blank">http://ftp-supercomputacao.inpe.br/public/jose.martins/</a><br></div><div><br></div><div>Thanks,</div><div><br></div><div>Guilherme.</div></div><span class="HOEnZb"><font color="#888888"><div dir="ltr">-- <br></div><div dir="ltr"><div><font size="2"><div>------------------------------------------------------------------------------------------</div><div>Dr. Guilherme Martins</div><div>Instituto Nacional de Pesquisas Espaciais (INPE)<br></div></font></div><div><font size="2">Centro de Ciência do Sistema Terrestre (CCST) - Prédio CES<br></font>Grupo de Superfície-Biosfera-Atmosfera (GSBA)<font size="2"><br></font></div><div>Telefone (INPE/CP): <a href="tel:%2B55%2012%203186-9520" value="+551231869520" target="_blank">+55 12 3186-9520</a> || Celular (TIM): <a href="tel:%2B55%2012%2098152-8580" value="+5512981528580" target="_blank">+55 12 98152-8580</a><br>E-mail: <a href="mailto:guilherme.martins@inpe.br" target="_blank">guilherme.martins@inpe.br</a> || <a href="mailto:jgmsantos@gmail.com" target="_blank">jgmsantos@gmail.com</a><br>Skype: guilherme.martins.<br>Homepage: <a href="https://sites.google.com/site/jgmsantos" target="_blank">https://sites.google.com/site/jgmsantos</a><br>Currículo Lattes: <a href="http://lattes.cnpq.br/5997657584785803" target="_blank">http://lattes.cnpq.br/5997657584785803</a><span><br></span>------------------------------------------------------------------------------------------</div></div>
</font></span><br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a>   </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</div>