[nclpy-group] Thoughts on changing NCL's default map database to "MediumRes"

Carl Schreck cjschrec at ncsu.edu
Fri Mar 18 09:30:51 MDT 2016


Hi Alan,

As for the defaults, I use a function like these two:

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_draw_shaded_map.ncl

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.

Carl

On Fri, Mar 18, 2016 at 10:52 AM, Alan Brammer <abrammer at albany.edu> wrote:

>
> 2) Could gsn_csm_contour_map and its siblings default
> mp(Min/Max)(Lat/Lon)F to the bounds of the data?
>
>
> 2) I've often thought about this myself. It's annoying when you have a
> regional plot and you get a global plot.
>
> 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.
>
>
>
> I also find this annoying but rather than change the default or existing
> features.
> Could you add another option to mpLimitMode as “Data” which sets the
> limits to the data extents.
> Makes it a quick thing to type out without having to manually set the
> extents and doesn’t (shouldn’t) break anything existing.
>
>
> 3)  Similar to this discussion, is there any feasibility to have a
> “defaults” file where the user could change some of these options?
> 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.
> 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.
>
> Actually this is kind of done with the set_default_fillvalue().
> Could we have e.g.
> set_default_resource(“txFontHeightF”, 0.018)
> A file with these could then be loaded at the top of scripts without
> having to think too much about it.
>
>
>
>
>
> Alan.
>
>
>
>
> On 17 Mar 2016, at 13:45, Mary Haley <haley at ucar.edu> wrote:
>
>
> 1) We had discussed the zooming idea before posting to this list. We
> decided against it because it's hard to define that "threshold". 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.
>
> 2) I've often thought about this myself. It's annoying when you have a
> regional plot and you get a global plot.
>
>
>
> _______________________________________________
> nclpy-group mailing list
> nclpy-group at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/nclpy-group
>
>


-- 

<http://www.cicsnc.org/>
<http://www.researcherid.com/rid/B-8711-2011>
* Cyclone <http://www.cyclonecenter.org/>*Center.org
<http://www.cyclonecenter.org/>   *Carl J. Schreck III, PhD*
*Research Scholar / Research **Assistant Professor*
Cooperative Institute for Climate and Satellites NC (CICS
<http://www.cicsnc.org/>*-NC) <http://www.cicsnc.org/> /*
Department of Marine, Earth, and Atmospheric Sciences (MEAS)
<https://meas.sciences.ncsu.edu/>
North Carolina State University <http://ncsu.edu/>
NOAA National Centers for Environmental Information (NCEI)
<http://ncei.noaa.gov/>
151 Patton Ave, Asheville, NC 28801
e: carl_schreck at ncsu.edu
o: +1 828 257 3140
c: +1 828 484 1702
Publications
<http://scholar.google.com/citations?hl=en&user=th8ONEcAAAAJ&view_op=list_works&sortby=pubdate>
monitor.cicsnc.org/mjo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/nclpy-group/attachments/20160318/ad192b27/attachment.html 


More information about the nclpy-group mailing list