[gradsusr] Regridding in GrADS

Joseph Basconcillo jbasconcillo at pagasa.dost.gov.ph
Wed Aug 1 22:30:12 EDT 2018


Thanks for the help. It seems bilinear interpolation is the default technique for regridding to finer resolution based on this link: http://opengrads.org/doc/udxt/re/re.html . 

So I used: 

'set t 1 last' 
'define newvar=re(var,0.17, bl)' 

to define bilinear technique in regridding. Thank you. 

Cheers, 
Joseph 

----- 원래 메시지 -----

보낸 사람: "Eduardo Agosta Scarel" <eduardo.agosta at gmail.com> 
수신: "GrADS Users Forum" <gradsusr at gradsusr.org> 
보낸 시간: 2018년 8월 1일, 수요일 오후 8:19:28 
제목: Re: [gradsusr] Regridding in GrADS 

Try to use the re function within a time frame: 

t1= initial time 
t2= final time 
'set t 't1' 't2 
'define newvar=re(var,0.17) 

That will regrid var all through the time steps between times t1 and t2. 

Edu. 

El jue., 26 de jul. de 2018 a la(s) 16:26, Wesley Ebisuzaki - NOAA Federal ( wesley.ebisuzaki at noaa.gov ) escribió: 



Joseph, 

I would use copygb. Copygb has a few types of interpolation 
methods and you can define fields that are vector interpolated. 
(Affects winds near the poles.) 

Wesley 



On Wed, Jul 25, 2018 at 9:59 PM, Joseph Basconcillo < jbasconcillo at pagasa.dost.gov.ph > wrote: 

<blockquote>
Hi, I have NCEP-RA2 data that I want to regrid to N768 resolution, which is about 0.17 deg in midlatitude. 

I used: 

'define newvar=re(var, 0.17)' 

And it worked. 

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. 

Then when I used to tloop and area-average to test the data: 

'd tloop(aave(var,global))' 

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? 

Also, is there an option for regridding method (e.g. bilinear)? 

Thank you. 

Yours, 

Joseph Basconcillo 
_______________________________________________ 
gradsusr mailing list 
gradsusr at gradsusr.org 
http://gradsusr.org/mailman/listinfo/gradsusr 




_______________________________________________ 
gradsusr mailing list 
gradsusr at gradsusr.org 
http://gradsusr.org/mailman/listinfo/gradsusr 

</blockquote>



-- 
Eduardo Agosta Scarel 

"The Carmelite NGO is a way to promote justice, peace and care for creation" 
"La ONG Carmelita es una manera de promover la justicia, la paz y el cuidado de la creación" 
http://carmelitengo.org/ 

_______________________________________________ 
gradsusr mailing list 
gradsusr at gradsusr.org 
http://gradsusr.org/mailman/listinfo/gradsusr 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20180802/c64ff557/attachment.html>


More information about the gradsusr mailing list