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

Karin Meier-Fleischer meier-fleischer at dkrz.de
Fri Mar 18 12:35:27 MDT 2016


Hi all,

as suggested before I would appreciate to have a resource, something 
like 'mpDataGrid', too, to just set one resource instead of 4 resources 
for regional grids.

Bye,
Karin
>
>> 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 
>> <mailto: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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/nclpy-group/attachments/20160318/f8b1e270/attachment.html 


More information about the nclpy-group mailing list