<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Use the lterp() function.&nbsp;<a href="http://iges.org/grads/gadoc/gradfunclterp.html">http://iges.org/grads/gadoc/gradfunclterp.html</a><div><br></div><div>ga-&gt; set gxout vector</div><div>ga-&gt; d u.1;lterp(v.2,u.1)</div><div><br></div><div>--Jennifer</div><div><br><div><div>On Jul 22, 2013, at 8:47 PM, Indah Lutfiyanti wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Hi everyone</div><div><br></div><div class="yui_3_7_2_50_1374538346156_70" style="background-color: transparent;">i have ocean current data which is contained u velocity and v velocity.</div><div class="yui_3_7_2_50_1374538346156_71" style="background-color: transparent;">in my data u and v have different number of grid.</div><div class="yui_3_7_2_50_1374538346156_72" style="background-color: transparent;">my question is how to regrid the number of grid so i have same number of grid on u and v data.</div><div class="yui_3_7_2_50_1374538346156_73" style="background-color: transparent;"><br></div><div class="yui_3_7_2_50_1374538346156_74" style="background-color: transparent;">i give my data at below.</div><div class="yui_3_7_2_50_1374538346156_75" style="background-color: transparent;"><br></div><div class="yui_3_7_2_50_1374538346156_76" style="background-color: transparent;">ga-&gt; sdfopen 1980_2008_uvel.nc</div><div class="yui_3_7_2_50_1374538346156_77" style="background-color: transparent;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>scanning self-decribing file:&nbsp;<span style="font-size: 10pt;">1980_2008_uvel.nc</span></div><div class="yui_3_7_2_50_1374538346156_80" style="font-size: 10pt; background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>SDF file&nbsp;</span><span style="font-size: 10pt;">1980_2008_uvel.nc is open as file 1</span></div><div class="yui_3_7_2_50_1374538346156_84" style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>LON set to 90 15</span></div><div class="yui_3_7_2_50_1374538346156_87" style="background-color:
 transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>LAT set to -20 20</span></div><div class="yui_3_7_2_50_1374538346156_90" style="background-color: transparent;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>LEV set to -10000 -10000</div><div class="yui_3_7_2_50_1374538346156_92" style="background-color: transparent;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>time values set 1980:1:14:10&nbsp;<span style="font-size: 10pt;">1980:1:14:10</span></div><div class="yui_3_7_2_50_1374538346156_95" style="font-size: 10pt; background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>E set to 1 1</span></div><div class="yui_3_7_2_50_1374538346156_98" style="background-color: transparent;"><span style="font-size: 10pt;"><span style="font-size:
 10pt;">ga-&gt;&nbsp;</span>q file</span></div><div class="yui_3_7_2_50_1374538346156_101" style="font-size: 10pt; background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>Desccriptor:&nbsp;</span><span style="font-size: 10pt;">1980_2008_uvel.nc</span></div><div class="yui_3_7_2_50_1374538346156_105" style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>binary:&nbsp;</span><span style="font-size: 10pt;">1980_2008_uvel.nc</span></div><div class="yui_3_7_2_50_1374538346156_109" style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>type = gridded</span></div><div class="yui_3_7_2_50_1374538346156_112" style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>xsize = 480 Ysize = 328 zsize = 46 Tsize =348 Esize = 1</span></div><div class="yui_3_7_2_50_1374538346156_115" style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>Number of Variable = 1</span></div><div class="yui_3_7_2_50_1374538346156_118" style="background-color: transparent;"><span style="font-size: 10pt;">ga-&gt;&nbsp;<span style="font-size: 10pt;">&nbsp;</span><span style="font-size: 10pt;">sdfopen 1980_2008_vvel.nc</span><br></span></div><div class="yui_3_7_2_50_1374538346156_122" style="background-color: transparent;"><span style="font-size: 10pt;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span></span></span><span style="font-size: 10pt;">scanning self-decribing file:&nbsp;</span><span style="font-size:
 10pt;">1980_2008_vvel.nc</span></div><div class="yui_3_7_2_50_1374538346156_128" style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span></span><span style="font-size: 10pt;">SDF file&nbsp;</span><span style="font-size: 10pt;">1980_2008_uvel.nc is open as file 1</span></div><div style="background-color: transparent;"><span style="font-size: 10pt;"><span style="font-size: 10pt;">ga-&gt;&nbsp;</span>q file</span></div><div style="font-size: 10pt; background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>Desccriptor:&nbsp;</span><span style="font-size: 10pt;">1980_2008_uvel.nc</span></div><div style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>binary:&nbsp;</span><span style="font-size:
 10pt;">1980_2008_uvel.nc</span></div><div style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>type = gridded</span></div><div style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>xsize = 481 Ysize = 327 zsize = 46 Tsize =348 Esize = 1</span></div><div style="background-color: transparent;"><span style="font-size: 10pt;"></span></div><div style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>Number of Variable = 1</span></div><div class="yui_3_7_2_50_1374538346156_155" style="background-color: transparent;"><span style="font-size: 10pt;"><br></span></div><div class="yui_3_7_2_50_1374538346156_157" style="background-color: transparent;"><span style="font-size: 10pt;">thank you for
 your help</span></div><div class="yui_3_7_2_50_1374538346156_159" style="font-size: 10pt; background-color: transparent;"><span style="font-size: 10pt;"><br></span></div><div class="yui_3_7_2_50_1374538346156_161" style="background-color: transparent;"><span style="font-size: 10pt;">regards, Lutfi</span></div></div></div>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></span>
</div>
<br></div></body></html>