<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Thanks for the help. It seems bilinear interpolation is the default technique for regridding to finer resolution based on this link: <a href="http://opengrads.org/doc/udxt/re/re.html">http://opengrads.org/doc/udxt/re/re.html</a>.</div><div><br></div><div>So I used:</div><div><br></div><div>'set t 1 last'</div><div>'define newvar=re(var,0.17, bl)'</div><div><br></div><div>to define bilinear technique in regridding. Thank you.</div><div><br></div><div>Cheers,</div><div>Joseph</div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>보낸 사람: </b>"Eduardo Agosta Scarel" <eduardo.agosta@gmail.com><br><b>수신: </b>"GrADS Users Forum" <gradsusr@gradsusr.org><br><b>보낸 시간: </b>2018년 8월 1일, 수요일 오후 8:19:28<br><b>제목: </b>Re: [gradsusr] Regridding in GrADS<br><div><br></div><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small" data-mce-style="font-family: verdana,sans-serif; font-size: small;">Try to use the re function within a time frame:</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small" data-mce-style="font-family: verdana,sans-serif; font-size: small;"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small" data-mce-style="font-family: verdana,sans-serif; font-size: small;">t1= initial time</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small" data-mce-style="font-family: verdana,sans-serif; font-size: small;">t2= final time</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small" data-mce-style="font-family: verdana,sans-serif; font-size: small;">'set t 't1' 't2</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small" data-mce-style="font-family: verdana,sans-serif; font-size: small;">'define newvar=re(var,0.17)</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small" data-mce-style="font-family: verdana,sans-serif; font-size: small;"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small" data-mce-style="font-family: verdana,sans-serif; font-size: small;">That will regrid var all through the time steps between times t1 and t2.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small" data-mce-style="font-family: verdana,sans-serif; font-size: small;"><br></div><div class="gmail_default" style="font-size:small" data-mce-style="font-size: small;">Edu.</div></div><br><div class="gmail_quote"><div dir="ltr">El jue., 26 de jul. de 2018 a la(s) 16:26, Wesley Ebisuzaki - NOAA Federal (<a href="mailto:wesley.ebisuzaki@noaa.gov" target="_blank" data-mce-href="mailto:wesley.ebisuzaki@noaa.gov">wesley.ebisuzaki@noaa.gov</a>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" data-mce-style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><div dir="ltr"><div><div>Joseph,<br><div><br></div></div>I would use copygb. Copygb has a few types of interpolation<br></div><div>methods and you can define fields that are vector interpolated.<br></div><div>(Affects winds near the poles.)<br></div><div><br></div>Wesley<br><div><br><div><br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 25, 2018 at 9:59 PM, Joseph Basconcillo <span dir="ltr"><<a href="mailto:jbasconcillo@pagasa.dost.gov.ph" target="_blank" data-mce-href="mailto:jbasconcillo@pagasa.dost.gov.ph">jbasconcillo@pagasa.dost.gov.ph</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" data-mce-style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">Hi, I have NCEP-RA2 data that I want to regrid to N768 resolution, which is about 0.17 deg in midlatitude.<br> <br> I used:<br> <br> 'define newvar=re(var, 0.17)'<br> <br> And it worked. <br> <br> However, the file size is smaller than I expected. The original size is 63MB (2.5 deg) and when I regrid them to 0.17 deg, the file size resulted to about 17.5MB. I have my doubts considering I re-gridded the data to higher resolution. File size should be higher. That was what I expected.<br> <br> Then when I used to tloop and area-average to test the data:<br> <br> 'd tloop(aave(var,global))'<br> <br> A prompt appeared that "entire grid are set to missing data". And it kept looping for few minutes. My guess is that the re-gridding did not "regrid" through time and considered only the first timestep. Can you help me on this?<br> <br> Also, is there an option for regridding method (e.g. bilinear)? <br> <br> Thank you.<br> <br> Yours,<br> <br> Joseph Basconcillo<br> _______________________________________________<br> gradsusr mailing list<br> <a href="mailto:gradsusr@gradsusr.org" target="_blank" data-mce-href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank" data-mce-href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></blockquote></div><br></div></div></div></div></div>_______________________________________________<br> gradsusr mailing list<br> <a href="mailto:gradsusr@gradsusr.org" target="_blank" data-mce-href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank" data-mce-href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span face="trebuchet ms, sans-serif" size="2" data-mce-style="font-family: 'trebuchet ms', sans-serif; font-size: small;" style="font-family: 'trebuchet ms', sans-serif; font-size: small;"><span face="trebuchet ms, sans-serif" size="2" data-mce-style="font-family: 'trebuchet ms', sans-serif; font-size: small;" style="font-family: 'trebuchet ms', sans-serif; font-size: small;">Eduardo Agosta Scarel<br></span></span><div><br></div><div><span style="font-size:12.8px" data-mce-style="font-size: 12.8px;">"The Carmelite NGO is a way to promote justice, peace and care for creation"</span><br></div><div><span style="font-size:12.8px" data-mce-style="font-size: 12.8px;">"La ONG Carmelita es una manera de promover la justicia, la paz y el cuidado de la creación"</span></div><div><span color="#0000ee" data-mce-style="color: #0000ee;" style="color: #0000ee;"><span data-mce-style="text-decoration: underline;" style="text-decoration: underline;"><a href="http://carmelitengo.org/" target="_blank" data-mce-href="http://carmelitengo.org/">http://carmelitengo.org/</a></span></span><br></div></div></div></div></div></div></div></div></div></div></div></div></div><br>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div><div><br></div></div></body></html>