[gradsusr] Spatial Correlation
Muhammad Latif
latif.met at gmail.com
Sat Dec 26 12:39:52 EST 2015
Yes Kishore, the spatial resolution is same for both the datasets. But the
function (scorr) you have mentioned is valid only for one box (I have four
lat. and four lon. values, which are required to draw two boxes). Please
share, If you have any idea.
Thanks
Regards
On Sat, Dec 26, 2015 at 10:15 PM, Kishore Ragi <kishoreragi at gmail.com>
wrote:
> you need to have same resolution for both the datasets so that you can
> calculate the spatial correlation as below
>
> open two datasets as 1 and two and invoke the following command
>
> scorr(*var.1, var.2*, lon=x1, lon=x2, lat=y1, lat=y2)
>
> hope this helps!
>
> Regards,
> Kishore
>
>
> *PhD student in climate science,*
>
> *National Institute of Technology, Rourkela,*
>
> *India- 769008*
>
>
>
>
>
>
> *Phone: +91-8908671881
> <%2B91-8908671881>http://www.researchgate.net/profile/Kishore_Ragi
> <http://www.researchgate.net/profile/Kishore_Ragi>https://in.linkedin.com/in/kishoreragi
> <https://in.linkedin.com/in/kishoreragi>http://kishoreragi.webnode.com/
> <http://kishoreragi.webnode.com/>*
>
> On Sat, Dec 26, 2015 at 10:18 PM, Muhammad Latif <latif.met at gmail.com>
> wrote:
>
>> Hi Jeff, Let's suppose, I have two boxes on map 1 (Model) and similar on
>> map 2 (Observation) of rainfall climatologies. I want to compute spatial
>> correlation (scorr) between two maps, considering only the data within the
>> defined boxes.
>>
>> Thanks
>>
>> On Sat, Dec 26, 2015 at 9:40 PM, Muhammad Latif <latif.met at gmail.com>
>> wrote:
>>
>>> Thanks Jeff Duda, Would you please elaborate a bit more?
>>>
>>> Regards
>>>
>>> On Sat, Dec 26, 2015 at 9:26 PM, Jeff Duda <jeffduda319 at gmail.com>
>>> wrote:
>>>
>>>> Create your fields such that they have empty boxes within them. Use
>>>> maskout.
>>>>
>>>> Jeff Duda
>>>>
>>>> On Sat, Dec 26, 2015 at 9:28 AM, Muhammad Latif <latif.met at gmail.com>
>>>> wrote:
>>>>
>>>>> Hi all Grads users,
>>>>>
>>>>> As, "scorr" function calculates the spatial correlation between two
>>>>> variables over an X-Y domain, i.e. scorr(*expr1, expr2*, lon=0,
>>>>> lon=360, lat=-90, lat=90). Is there any way to use this scorr
>>>>> function when the domains are more than one (let's say, I have two boxes on
>>>>> a single map)?
>>>>>
>>>>> Thank you
>>>>>
>>>>> Regards
>>>>>
>>>>> Latif
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> gradsusr mailing list
>>>>> gradsusr at gradsusr.org
>>>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Jeff Duda
>>>> Graduate research assistant
>>>> University of Oklahoma School of Meteorology
>>>> Center for Analysis and Prediction of Storms
>>>>
>>>> _______________________________________________
>>>> gradsusr mailing list
>>>> gradsusr at gradsusr.org
>>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20151226/0c897def/attachment.html
More information about the gradsusr
mailing list