[ncl-talk] Station correlation plot in map

Adam Phillips asphilli at ucar.edu
Fri Dec 9 15:52:56 MST 2016


Hi Debasish,
In the original code the R array contained the data values for the points,
and the arr array contained the bin settings (or levels) that is used to
color code the polymarkers and is passed to the labelbar function. It looks
to me like you put your data values in the arr array and then completely
removed the R array from your script.

I would recommend you try running the original script and experimenting
changing the settings yourself to get a feel for what the script is doing.
Once you are comfortable with what the original script is doing only then
should you start to plug in your own data.
Adam

On Fri, Dec 9, 2016 at 3:19 PM, Debasish Hazra <debasish.hazra5 at gmail.com>
wrote:

> I used "http://www.ncl.ucar.edu/Applications/station.shtml#ex2" and
> modified to plot correlations of stations. I am getting the lcoation of
> points on map right, but not getting the labelbarand correlation values of
> points right. Attached is the code and figure.
>
> Thanks.
> Debasish
>
> On Fri, Dec 9, 2016 at 4:37 PM, Adam Phillips <asphilli at ucar.edu> wrote:
>
>> Hi Debasish,
>> See example #2 here:
>> http://www.ncl.ucar.edu/Applications/station.shtml#ex2
>>
>> Hope that helps!
>> Adam
>>
>> On Fri, Dec 9, 2016 at 1:22 PM, Debasish Hazra <debasish.hazra5 at gmail.com
>> > wrote:
>>
>>> Hi,
>>>
>>> I have ~60 stations data that are measuring rainfall and would like to
>>> show their correlation with a model  in a map. The figure will show the
>>> locations of those points (in circles) with each station color indicate the
>>> correlation and  a colorbar of correlation at bottom. Any help on this or
>>> point to similar example of this sort will be appreciated.
>>>
>>> Thanks.
>>> Debasish.
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>>
>>
>> --
>> Adam Phillips
>> Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
>> www.cgd.ucar.edu/staff/asphilli/   303-497-1726 <(303)%20497-1726>
>>
>> <http://www.cgd.ucar.edu/staff/asphilli>
>>
>
>


-- 
Adam Phillips
Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/   303-497-1726

<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161209/cd91d490/attachment.html 


More information about the ncl-talk mailing list