Skip to content

how do you interpolate a gaussian grid to a standard 2.5 degree grid?

2 messages · Jenny Barnes, Zhuanshi He

#
Dear R-help community,

I have looked on the R search site and archives but cannot find mention of a way 
of interpolating a gaussian distribution of data to a standard 2.5 degree grid. 

I have two global dataset and I need to correlate - unfortunately one is a 2.5 
degree grid dim[longitude=144,latitude=72] and one is gaussian 
dim[longitude=192,latitude=94].

I would rally appreciate hearing back from any of you who may have wanted to 
interpolate your data is this way. If there is no ready-made function you know 
of but you are willing to share your own methods I would also appreciate any 
pointers.

Many thanks for your time,

Jenny Barnes


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jennifer Barnes
PhD student - long range drought prediction
Climate Extremes
Department of Space and Climate Physics
University College London
Holmbury St Mary, Dorking
Surrey
RH5 6NT
Web: http://climate.mssl.ucl.ac.uk
#
Hi Jenny,

Maybe the following links will be useful for you. Both of thoes are
used in meteorological and climate research community. But u can used
the codes to create the data values that you need.


g2fsh : Interpolates a scalar quantity from a Gaussian grid to a fixed grid.

http://www.ncl.ucar.edu/Document/Functions/Built-in/g2fsh.shtml


g2fshv : Interpolates a vector quantity from a Gaussian grid to a fixed grid.
http://www.ncl.ucar.edu/Document/Functions/Built-in/g2fshv.shtml


In addition, both of those functions based on a package named
SPHEREPACK (http://www.cisl.ucar.edu/css/software/spherepack/ ).

you can write call subroutines shipped from SPHEREPACK to get values
at your fixed grids.

Good luck.

Zhuanshi He
On 12/12/06, Jenny Barnes <jmb at mssl.ucl.ac.uk> wrote: