[ncl-talk] Performance Diagrams (superimposing forecast values?)

Barry Lynn barry.h.lynn at gmail.com
Wed Sep 11 08:39:13 MDT 2019


Hello:

Here is the code (again) for the performance diagram.

It now adds numbers next to the markers.   The diagram itself is also
attached as an example.

Barry

On Mon, Sep 9, 2019 at 8:19 PM Adam Phillips <asphilli at ucar.edu> wrote:

> Hi Barry,
> Yes, you could call gsn_add_text and add the values at each xaxis/yaxis
> value, possibly with a small offset if needed:
>
> ; values contains the text you want to place next to each marker
> txres = True
> txres at txFontHeightF = 0.018
> dum = gsn_add_text(wks,plot_stat,values,xaxis+0.02, yaxis-0.02,txres)
> overlay(plot_stat,plot_csi)
> overlay(plot_stat,plot_bias)
> draw(plot_stat)
> frame(wks)
>
> Adam
>
> On Sun, Sep 8, 2019 at 5:16 AM Barry Lynn via ncl-talk <ncl-talk at ucar.edu>
> wrote:
>
>> Hello:
>>
>> After some angst (and some ncl help suggestions), I created a program to
>> create "Performance Diagrams" (see Figure 2 in Roebber et al., 2009:
>> https://journals.ametsoc.org/doi/full/10.1175/2008WAF2222159.1).
>>
>> Of course, anyone is welcome to use it (as it is attached).
>>
>> The markers show the Probability of Detection versus Success Ratio for
>> different precipitation threshold values.  The location on the graph
>> provides information about the "performance" of the forecast.
>>
>> My question: is it possible to superimpose the threshold value (as a
>> number) on the marker itself? The markers are added beginning at line 205.
>>
>> This would probably improve the clarity of the presented graph, so I
>> would think it is worth doing (just didn't find anything in Google).
>>
>> Thank you,
>>
>> Barry
>> P
>> --
>> Barry H. Lynn, Ph.D
>> Senior Associate Scientist, Lecturer,
>> The Institute of the Earth Science,
>> The Hebrew University of Jerusalem,
>> Givat Ram, Jerusalem 91904, Israel
>> Tel: 972 547 231 170
>> Fax: (972)-25662581
>>
>> C.E.O, Weather It Is, LTD
>> Weather and Climate Focus
>> http://weather-it-is.com
>> Jerusalem, Israel
>> Local: 02 930 9525
>> Cell: 054 7 231 170
>> Int-IS: x972 2 930 9525
>>
>> _______________________________________________
>> 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
>
> <http://www.cgd.ucar.edu/staff/asphilli>
>


-- 
Barry H. Lynn, Ph.D
Senior Associate Scientist, Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190911/3422b9b2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graph_model_statistics.ncl
Type: application/octet-stream
Size: 22559 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190911/3422b9b2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: performance.pdf
Type: application/pdf
Size: 75524 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190911/3422b9b2/attachment.pdf>


More information about the ncl-talk mailing list