<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">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">uwnd.vwnd.nc</a>) can be downloaded at:</div><div><br></div><div><a href="http://ftp-supercomputacao.inpe.br/public/jose.martins/">http://ftp-supercomputacao.inpe.br/public/jose.martins/</a><br></div><div><br></div><div>Thanks,</div><div><br></div><div>Guilherme.</div></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>