Comparison between two files with different resolution

Arlindo da Silva arlindo.dasilva at GMAIL.COM
Thu May 14 08:00:52 EDT 2009


On Thu, May 14, 2009 at 12:39 AM, Sachin Ghude
<sachinghude at tropmet.res.in>wrote:

>  Dear all,
>
> I am trying to calculate mean between product 1 (2.8X2.8 degree of
> resolution), product 2 (2.8X2.8 degree of resolution) and  product 3 (1X1
> degree resolution).  I do not know how to increase the resolution of
> product 3 to 2.8X2.8 degree.
>
You will need to use a regridding function. Your options depend on the
version of grads you are working with (always give us the version of grads
you are using). In older versions (v1.9b4 ad earlier) the classic regrid2()
UDF used to be the norm. Version 2.0 comes with lterp() function built in:

         http://grads.iges.org/grads/gadoc/gadocindex.html

while the OpenGrADS builds (available from
https://sourceforge.net/project/showfiles.php?group_id=161773) comes with
the re() function:

         http://opengrads.org/doc/udxt/re/

re() is a C implementation of the classic regrid2() UDF and is much faster.

  Arlindo

--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090514/636f614e/attachment.html 


More information about the gradsusr mailing list