<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Alan,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I've added all the gsn_csm_streamline_scalar_xxx functions you contributed to NCL V6.3.0, and it is also working with paneling.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">My version of gsn_panel_return is newer than yours, of course, because I'm working with the development version, so I made the appropriate changes based on this. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Using your example code, I got the same plot as you.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I've added variations of your streamline_plot.ncl script to our streamlines example page.<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks again for your contribution and helping me close an old ticket!</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"></div><br><div class="gmail_quote">On Thu, Mar 5, 2015 at 6:58 PM, Alan Brammer <span dir="ltr"><<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Mary, <div><br><div>Having just finished my wild goose chase, here are the answers to your questions. </div><div><br></div><div>** Long story short, streamlinePlotClass wasn't supported by gsn_panel. My work around caused problems. Here's edited versions of gsn_panel so streamlinePlotClass is supported. **<br></div><div><br></div><div><br></div><div>The problem I was having with panelling was because I was drawing one plot with lbLabelBarOn = True. This was throwing off the dimensions and I think is a known thing. No big deal I should just use gsnPanelLabelBar = True. </div><div>Well here was the problem, when panelling the supported gsn_csm_streamline_map with stMonoLineColor = False, therefore with coloured streamlines, gsn_panel says it's an unsupported type and will ignore the label bar request. Hence why I was forcing one of the plots to have the label bar. I don't like having to draw it myself. </div><div><br></div><div><br></div><div>So, because I wanted the ability to panel my new gsn_csm_streamline_scalar* functions as well as the supported gsn_csm_streamline_map functions. I've have gone through and edited gsn_panel_return and also had to add "streamlinePlotClass" to get_plot_not_loglin(). </div><div><br></div><div><br></div><div>Attached below are a simple script to first identify that gsn_panel will ignore a labelbar request from the gsn_csm_streamline_map() then load my edited versions and show that it now works. </div><div><br></div><div><br></div><div>Some simple data attached as well. </div><div><br></div><div><br></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 5, 2015 at 10:10 AM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:small">Hi Alan,</div><div style="font-size:small"><br></div><div style="font-size:small">Thanks for the code. Maybe I can get it into V6.3.0.</div><div style="font-size:small"><br></div><div style="font-size:small">When you say it doesn't panel, what exactly happens? Can you provide a sample test?</div><div style="font-size:small"><br></div><div style="font-size:small">--Mary</div><div style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Mar 4, 2015 at 12:33 PM, Alan Brammer <span dir="ltr"><<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">I wanted this functionality so made an edited duplicate of the gsn_csm_vector_scalar* functions. <div><br></div><div>Have gone through a tested each function and everything seems to function without bugs. Didn't have to edit too much so there wasn't too much to break. <br></div><div><br></div><div>gsn_csm_streamline_scalar() doesn't panel as expected for me but this also happens with me for gsn_csm_vector_scalar() so that's a problem for another day. </div><div><br></div><div><br></div><div>I can edit documentation if desired, there is nothing unexpected though. </div><div><br></div><div>If passed wind speed this will function identically to the regular function with stMonoLineColor = False. I think this functionality was available through setting stScalarFieldData, but that didn't seem to match up with the functionality elsewhere and I'm still not a overly familiar with setvalues or getvalues. </div><div><br></div><div><br></div><div>Only tested in 6.2.{0,1}. I seem to have lost my 6.1 version. </div><div><br></div><div><br></div><div><br></div></div>
<br></div></div>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>