<div dir="ltr"><div class="gmail_default" style="font-size:small">Dan,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You might want to check out the ESMF regridding examples page:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/ESMF.shtml">http://www.ncl.ucar.edu/Applications/ESMF.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">Example #14 regrids a triangular mesh to a 5 degree grid:</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/ESMF.shtml#ex14">http://www.ncl.ucar.edu/Applications/ESMF.shtml#ex14</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">There are also a couple of examples associated with the NCL User Guide:</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/NUG.shtml">http://www.ncl.ucar.edu/Applications/NUG.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">Search for "triangular". You can actually download the data files for these examples and run them yourselves. The data file link is at the top of the page.</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 22, 2017 at 1:41 AM, Yu, Hao-Cheng <span dir="ltr"><<a href="mailto:danishyo@gmail.com" target="_blank">danishyo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi everyone<br><br></div>From website, I know there're lot of routines to do triangular plot and regriding.<br></div>Since plot can be made by predefined FE mesh by specified sfYArray, sfXArray & sfElementNodes.<br>I will assume there must be some interpolation routine for FE mesh, but I can't find this on website. <br><br></div>Is there any 2D interpolation routine we can use directly by specifying above 3 vars with desired output XY points?<br></div>For example, assume this routine called "tri_interp".<br>Pre-defined FE mesh var are X,Y,ele, field to interpolate is ZZ, output points are outX, outY.<br></div><div>Then we can get output points value by out_interp=tri_interp(X,Y,ele,<wbr>ZZ,outX,outY)<br><br></div><div>For regular grid, like linint2_points can provide similar function and efficient.<br></div><div>Just wonder, is there any similar function for uninstructed grid except Natgrid package (which will be quite time consuming if FE mesh is large)? <br></div><div><div><div><div><div><div><br></div><div>Dan<br></div><div><br></div></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>