<div dir="ltr">Hi Alan,<div><br></div><div>As for the defaults, I use a function like these two:</div><div><br></div><div><a href="https://k3.cicsnc.org/carl/carl-ncl-library/blob/master/cjs_graphics/cjs_shade_defaults.ncl">https://k3.cicsnc.org/carl/carl-ncl-library/blob/master/cjs_graphics/cjs_shade_defaults.ncl</a><br></div><div><a href="https://k3.cicsnc.org/carl/carl-ncl-library/blob/master/cjs_graphics/cjs_draw_shaded_map.ncl">https://k3.cicsnc.org/carl/carl-ncl-library/blob/master/cjs_graphics/cjs_draw_shaded_map.ncl</a><br></div><div><br></div><div>The first one sets things that I always do in shading, the second calls that first one and draws it on a map. Not sure why I never thought of setting the map limits automatically in there.</div><div><br></div><div>Carl</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 18, 2016 at 10:52 AM, Alan Brammer <span dir="ltr">&lt;<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span class=""><div><br></div><div><blockquote type="cite">2) Could gsn_csm_contour_map and its siblings default mp(Min/Max)(Lat/Lon)F to the bounds of the data?</blockquote><br><div class="gmail_default" style="font-size:small"></div></div></span><span class=""><blockquote type="cite"><div><div class="gmail_default" style="font-size:small">2) I&#39;ve often thought about this myself. It&#39;s annoying when you have a regional plot and you get a global plot. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This is a major change to the default behavior, however, and we would have to consider this very carefully before moving forward with it.  Perhaps as an interim solution, we can offer up a new logical resource that tells NCL to crop the map based on the lat/lon values provided by the user, so at least you only have one resource to set instead of four. </div></div></blockquote><div><br></div><div><br></div></span><div>I also find this annoying but rather than change the default or existing features. </div><div>Could you add another option to mpLimitMode as “Data” which sets the limits to the data extents. </div><div>Makes it a quick thing to type out without having to manually set the extents and doesn’t (shouldn’t) break anything existing. </div><div><br></div><div><br></div><div>3)  Similar to this discussion, is there any feasibility to have a “defaults” file where the user could change some of these options?  </div><div>I have tons of repeat resources in every script, which just change font sizes etc and I pretty much always change them to the same value. </div><div>I personally also will willingly take the time hit to have nice coastlines.  Globally these things probably shouldn’t be changed, but if the user could set their own defaults it could be quite nice. </div><div><br></div><div>Actually this is kind of done with the set_default_fillvalue().  </div><div>Could we have e.g.  </div><div>set_default_resource(“txFontHeightF”, 0.018)  </div><div>A file with these could then be loaded at the top of scripts without having to think too much about it. </div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Alan.</div></font></span><span class=""><div><br></div><div><br></div><div><br></div><br><div><blockquote type="cite"><div>On 17 Mar 2016, at 13:45, Mary Haley &lt;<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>&gt; wrote:</div><br><div><div class="gmail_default" style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small"><br>1) We had discussed the zooming idea before posting to this list. We decided against it because it&#39;s hard to define that &quot;threshold&quot;. However, we are open to ideas. It just makes it more difficult to describe the behavior of resources to users once you start putting complication conditions on it.</div><div class="gmail_default" style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small"><br></div><div class="gmail_default" style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:small">2) I&#39;ve often thought about this myself. It&#39;s annoying when you have a regional plot and you get a global plot. </div><br></div></blockquote></div><br></span></div><br>_______________________________________________<br>
nclpy-group mailing list<br>
<a href="mailto:nclpy-group@ucar.edu">nclpy-group@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/nclpy-group" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/nclpy-group</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><table border="0" cellpadding="2" cellspacing="2" style="max-width:100%;border-collapse:collapse;border-spacing:0px;color:rgb(51,51,51);font-size:14px;border:3px solid rgb(170,170,170);font-family:Times;line-height:12px;background-color:transparent"><tbody><tr><td align="center" height="71" width="71"><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><a href="http://www.cicsnc.org/" style="color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank"><img src="http://www.cicsnc.org/assets/images/cicsnc-logo.png" width="96" height="93"></a>  <a href="http://www.researcherid.com/rid/B-8711-2011" target="_blank"><br></a></span></span><br><font size="4"><b style="text-align:start;color:rgb(38,58,143);font-family:arial,helvetica,sans-serif"> <a href="http://www.cyclonecenter.org/" style="color:rgb(38,58,143);text-decoration:none" target="_blank">Cyclone</a></b><a href="http://www.cyclonecenter.org/" style="text-align:start;color:rgb(38,58,143);font-family:arial,helvetica,sans-serif;text-decoration:none" target="_blank">Center.org</a>  </font></td><td valign="top"><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><b>Carl J. Schreck III, PhD</b><br></span></span><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><b>Research Scholar / Research </b></span></span><b style="font-family:arial,helvetica,sans-serif;font-size:11px">Assistant Professor</b><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><br></span></span><a href="http://www.cicsnc.org/" style="font-family:arial,helvetica,sans-serif;font-size:11px;color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank">Cooperative Institute for Climate and Satellites NC (CICS</a><b><a href="http://www.cicsnc.org/" style="font-family:arial,helvetica,sans-serif;font-size:11px;color:rgb(38,58,143);text-decoration:none" target="_blank">-NC)</a> /</b><br><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif"><a href="https://meas.sciences.ncsu.edu/" style="color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank">Department of Marine, Earth, and Atmospheric Sciences (MEAS)</a> <br><a href="http://ncsu.edu/" style="color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank">North Carolina State University</a><br><a href="http://ncei.noaa.gov/" style="color:rgb(38,58,143);text-decoration:none;font-weight:bold" target="_blank">NOAA National Centers for Environmental Information (NCEI)</a><br>151 Patton Ave, Asheville, NC 28801<br>e: </span></span><a href="mailto:carl_schreck@ncsu.edu" style="color:rgb(38,58,143);font-family:arial,helvetica,sans-serif;font-size:11px;text-decoration:none;font-weight:bold" target="_blank">carl_schreck@ncsu.edu</a><br style="font-family:arial,helvetica,sans-serif;font-size:11px"><span style="font-size:11px"><span style="font-family:arial,helvetica,sans-serif">o: +1 828 257 3140<br></span></span><span style="font-family:arial,helvetica,sans-serif;font-size:11px">c: +1 828 484 1702<br></span><a href="http://scholar.google.com/citations?hl=en&amp;user=th8ONEcAAAAJ&amp;view_op=list_works&amp;sortby=pubdate" style="color:rgb(38,58,143);font-family:arial,helvetica,sans-serif;font-size:11px;text-decoration:none;font-weight:bold" target="_blank">Publications</a><br><a href="http://monitor.cicsnc.org/mjo/" style="color:rgb(38,58,143);font-family:arial,helvetica,sans-serif;font-size:11px;text-decoration:none;font-weight:bold" target="_blank">monitor.cicsnc.org/mjo</a><br style="font-family:arial,helvetica,sans-serif;font-size:11px"></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>