anomaly of variables with different resolution

Eric DeWeaver deweaver at AOS.WISC.EDU
Wed Nov 2 16:15:23 EST 2005


Hi Boyin,

You can use user defined function 'regrid2':

'v2rg=regrid2(V2.2,1,1,bs)'

should make a variable v2rg which is on the same grid as V1
(assuming V2 is in file 2).

There's a doc file regrid2.txt which explains the options for
regrid2.  On my system it's in /usr/local/lib/grads/udf, and
I'm sure it's on the web too.

Good luck,

Eric


On Wed, 2 Nov 2005, Boyin Huang wrote:

> Assuming I have two variable V1 and V2 with different resolutions: 360x180
> for V1, and 180x90 for V2, how can I plot their difference?
>
> When I used
> d V1-V2
>
> A message is given:
> Operation error:  Incompatable grids
>   Dimension ranges aren't equivalent
>
> Thanks
>



More information about the gradsusr mailing list