force grads to interpolate

Brian Doty doty at COLA.IGES.ORG
Sun Dec 2 11:29:46 EST 2007


If you have one degree data, and want to "interpolate" to lon 90.5,
you can use the expression:

     display (var(lon=90)+var(lon=91))/2

...Brian

On Dec 1, 2007, at 12:39 PM, Patrick Reuter wrote:

> Hi everybody,
>
> maybe this question is pretty basic - but I just can't find it.
>
> ga-> set lat 90.5
> LAT set to 91 91
>
> How could I force grads to use linear interpolation between the values
> ? I mean, that it takes the values of grid point 90 and 91, and
> linearly interpolates, so that I can display the (one dimensional)
> data ?
>
> Thanks in advance !
>
>   Patrick



More information about the gradsusr mailing list