2011/11/16 Jose Augusto Paixão Veiga <span dir="ltr"><<a href="mailto:veiga.uea@gmail.com">veiga.uea@gmail.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><div>Thank you for your answer Dr. Yaqiang. However do you have a regrid2 function example?</div><div class="im"><div><br></div></div></div></blockquote><div><br></div><div><br></div><div>
The old regrid2() (user defined) function is only available with grads 1.x. For grads 2.x your options for regridding includes the bi-linear interpolation function lterp(), and re()/regrid2() in opengrads. The regridding functions re()/regrid2() are more capable than lterp(), as they include several interpolation/remapping options. See:</div>
<div><br></div><div> <a href="http://opengrads.org/doc/udxt/libbjt/">Libbjt - Ben-Jei Tsuang's Function Collection</a></div><div><a href="http://opengrads.org/doc/udxt/libbjt/"> </a> <a href="http://opengrads.org/doc/udxt/libmf/">Libmf - Mike Fiorino's Extension Collection</a></div>
<a href="http://opengrads.org/doc/udxt/libmf/"> </a></div><div class="gmail_quote">For examples, look at the cookbook:</div><div class="gmail_quote"><br></div><div class="gmail_quote"> <a href="http://cookbooks.opengrads.org/index.php?title=Recipe-019:_Comparing_Reanalyses_with_interpolation_from_MERRA_to_NCEP_Grid">http://cookbooks.opengrads.org/index.php?title=Recipe-019:_Comparing_Reanalyses_with_interpolation_from_MERRA_to_NCEP_Grid</a></div>
<div class="gmail_quote"><br></div><div class="gmail_quote">This can also be accomplished with lats4d:</div><div class="gmail_quote"><br></div><div class="gmail_quote"> <a href="http://cookbooks.opengrads.org/index.php?title=Recipe-018:_Regridding_of_MERRA_data_for_comparison_with_other_reanalyses">http://cookbooks.opengrads.org/index.php?title=Recipe-018:_Regridding_of_MERRA_data_for_comparison_with_other_reanalyses</a></div>
<div class="gmail_quote"><br></div><div class="gmail_quote"> Arlindo<a href="http://opengrads.org/doc/udxt/libmf/"><br></a><div><br></div></div>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>