<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div>Dear all,</div><div><br></div><div>I am trying to regrid NCEP (2.5 x 2.5, one time, one level) data into a ECMWF (1.5x1.5, one time, one level) data, with lterp command, issuing to compare both. To do this job, I used the script bellow:</div><div><br></div><div>'reinit'</div><div>* Data to be regrided into the defalt data</div><div>'open uvtwg_ncep.ctl'</div><div><br></div><div>* Default data</div><div>'open uvtwg_ecmwf.ctl'</div><div><br></div><div>'variavel=lterp(u.1,u.2)'</div><div>'d variavel'</div><div><br></div><div>'set gxout fwrite'</div><div>'set fwrite uvtwg_new.bin'</div><div><br></div><div>'set gxout shaded'</div><div>'d variavel'</div><div><br></div><div>'disable fwrite' </div><div><br></div><div><br></div><div><br></div><div>After running the above script I construct the ctl file to receive the uvtwg_new.bin. And so far so good. However, when I opened GrAds and displayed the variable recorded it saw as it was shifted in relation to the original data.</div><div><br></div><div>I have attached both figures and included bellow the CTL files that I am using as a hope to some help.</div><div><br></div><div><br></div><div>Original CTL (NCEP)</div><div><br></div><div>dset uvtwg_ncep.bin</div><div>undef 9.999E+20 </div><div>title NCEP 2.5x2.5 graus </div><div>xdef 144 linear 0.0 2.5</div><div>ydef 73 linear -90.0 2.5</div><div>zdef 1 linear 1 1 </div><div>tdef 1 linear JAN1979 1mo </div><div>vars 5</div><div>u 1 33,100 zonal wind (U) [m/sec] </div><div>v 1 34,100 meridional wind (V) [m/sec] </div><div>t 1 11,100 temperature (T) [C] </div><div>w 1 39,100 vertical velocity (w) [Pa/s] </div><div>g 1 40,100 geopotencial (w) [m²/s²]</div><div><br></div><div>Defalt CTL (ECMWF)</div><div><br></div><div>dset uvtwg_ecmwf.bin</div><div>undef 9.999E+20 </div><div>title ERA INTERIN 1.5x1.5 grau </div><div>xdef 240 linear 0.0 1.5</div><div>ydef 121 linear -90.0 1.5</div><div>zdef 1 linear 1 1 </div><div>tdef 1 linear JAN1979 1mo </div><div>vars 5</div><div>u 1 33,100 zonal wind (U) [m/sec] </div><div>v 1 34,100 meridional wind (V) [m/sec] </div><div>t 1 11,100 temperature (T) [C] </div><div>w 1 39,100 vertical velocity (w) [Pa/s] </div><div>g 1 40,100 geopotencial (w) [m²/s²] </div><div>endvars</div><div><br></div><div>CTL for the regrided data (uvtwg_new.bin)</div><div><br></div><div>dset uvtwg_new.bin</div><div>undef 9.999E+20 </div><div>title NCEP 1.5x1.5 graus </div><div>xdef 240 linear 0.0 1.5</div><div>ydef 121 linear -90.0 1.5</div><div>zdef 1 linear 1 1 </div><div>tdef 1 linear JAN1979 1mo </div><div>vars 1</div><div>u 1 33,100 zonal wind (U) [m/sec] </div><div>endvars</div><div><br></div><div><br></div><div>Thanks in advance,</div><div><br></div><div><br></div></div></div><div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-family: arial; font-size: small; "><div><span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><font color="#333333"><span style="background-color: rgb(255, 255, 255); ">José Augusto P. Veiga, </span><br><br>======================================<br>Universidade do Estado do Amazonas <br>Departamento de Meteorologia<br><span style="border-collapse: separate; font-family: arial; font-size: small; ">Escola Superior de Tecnologia (EST)</span><br>-----------------------------------------------------------------------------</font></span></div><div><span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><span style="border-collapse: separate; font-family: arial; font-size: small; "><font color="#333333">Av. Darcy Vargas, 1200, Manaus-AM Brasil<br>Work phone: (92) 3878 4333<br>Skype:<span style="background-color: rgb(255, 255, 255); "> veiga_j.a.p.</span><br></font></span></span></div><div><font color="#333333"><span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">-----------------------------------------------------------------------------</span><br>CV: <a href="http://lattes.cnpq.br/4027612512091565" target="_blank"><font color="#333333" style="background-color: rgb(255, 255, 255); ">http://lattes.cnpq.br/4027612512091565</font></a><br>URL:<font style="background-color: rgb(255, 255, 0); "><a href="http://scientificmet.wordpress.com/" target="_blank">http://scientificmet.wordpress.com/</a></font></font></div><div><font color="#333333"><a href="http://nmet.wordpress.com/">http://nmet.wordpress.com/</a></font></div><div><font color="#333333"><span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">-----------------------------------------------------------------------------</span></font></div></span></div></div></span></div></div>
</div>
<br><div><br></div><div><img height="800" width="1000" apple-width="yes" apple-height="yes" id="e0fe022e-b761-4895-8bcb-394546602338" src="cid:DBF9F3B4-C77E-4C03-8307-0EA52B64294D"></div><div><img height="800" width="1000" apple-width="yes" apple-height="yes" id="8605bd4f-1464-403f-9775-3220024da8b7" src="cid:F98E1CB7-75AC-4830-B5B9-AD1751A79720"></div></body></html>