<div dir="ltr">Dear Adam,<div><br></div><div>The same occur to fo2fshv_Wrap function at line 5710 the contributed.file:</div><div><br></div><div><div>fatal:Dimension sizes of left hand side and right hand side of assignment do not match</div><div>fatal:["Execute.c":8575]:Execute: Error occurred at or near line 5710 in file ./contributed.ncl</div></div><div><br></div><div>I changed the line 5695:</div><div><div>nlat1 = nlat+1 ; f has one more lat</div></div><div>to</div><div><div>nlat1 = nlat ; f has one more lat</div></div><div><br></div><div>Guilherme.</div></div><br><div class="gmail_quote"><div dir="ltr">Em seg, 11 de abr de 2016 às 23:12, Guilherme Martins <<a href="mailto:jgmsantos@gmail.com">jgmsantos@gmail.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dera Adam,<div><br></div><div>Thanks a lot! It works!</div></div><div dir="ltr"><div><br></div><div>Guilherme.</div></div><br><div class="gmail_quote"><div dir="ltr">Em seg, 11 de abr de 2016 às 16:45, Adam Phillips <<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@ucar.edu</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"></div></div><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 8, 2016 at 5:42 AM, Guilherme Martins <span dir="ltr"><<a href="mailto:jgmsantos@gmail.com" target="_blank">jgmsantos@gmail.com</a>></span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><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'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><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></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div></div><div class="gmail_extra"><br><br clear="all"><div><br></div>-- <br><div><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></blockquote></div><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): +55 12 3186-9520 || Celular (TIM): +55 12 98152-8580<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></blockquote></div><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): +55 12 3186-9520 || Celular (TIM): +55 12 98152-8580<br>E-mail: <a href="mailto:guilherme.martins@inpe.br">guilherme.martins@inpe.br</a> || <a href="mailto:jgmsantos@gmail.com">jgmsantos@gmail.com</a><br>Skype: guilherme.martins.<br>Homepage: <a href="https://sites.google.com/site/jgmsantos">https://sites.google.com/site/jgmsantos</a><br>Currículo Lattes: <a href="http://lattes.cnpq.br/5997657584785803">http://lattes.cnpq.br/5997657584785803</a><span><br></span>------------------------------------------------------------------------------------------</div></div>