<div dir="ltr"><div class="gmail_default" 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"><br></div><div class="gmail_default" 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">t2= final time</div><div class="gmail_default" 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">'define newvar=re(var,0.17)</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" 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"><br></div><div class="gmail_default" 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">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"><div dir="ltr"><div><div>Joseph,<br><br></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><br><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">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">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">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">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">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="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"><font face="trebuchet ms, sans-serif" size="2">Eduardo Agosta Scarel<br><br></font><div><span 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">"La ONG Carmelita es una manera de promover la justicia, la paz y el cuidado de la creación"</span></div><div><font color="#0000ee"><u><a href="http://carmelitengo.org/" target="_blank">http://carmelitengo.org/</a></u></font><br></div></div></div></div></div></div></div></div></div></div></div></div></div>