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

Jenny Barnes jmb at mssl.ucl.ac.uk
Tue Dec 12 16:56:19 CET 2006


Zhuanshi

Thanks for that! I've never seen that website before and it looks really useful! 
I think those functions look a lot more straight forward than any of the others 
I've seen today in my searching. 

I'll let you know if I get it sorted!

Jenny

>
>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:
>>
>> 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
>>
>> ______________________________________________
>> R-help at stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>>
>
>
>-- 
>Zhuanshi He / Z. He (PhD)
>Waterloo Centre for Atmospheric Sciences (WCAS)
>Department of Chemistry
>Phy Bldg, Rm 2022
>University of Waterloo,
>Waterloo, ON N2L 3G1
>Canada
>Tel: +1-519-888-4567 ext 38053        FAX: +1-519-746-0435

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
01483 204149
07916 139187
Web: http://climate.mssl.ucl.ac.uk




More information about the R-help mailing list