gsn_csm_coutour_map and reource file

From: SR Nelson, School Geographical Sciences <S.R.Nelson_at_nyahnyahspammersnyahnyah>
Date: Tue, 11 Nov 2008 15:20:44 +0000

Hi all,

I need to plot a large number of data sets using the
gsn_csm_contour_map_xxx functions and was hoping to use a resource file to
cut down on large amounts of identical code being repeated in several NCL
scripts. However, I'm having a few issues setting these resources.

1) Not all of the resources seem to be being passed to the plotting
function and used as switches as indicted by the web documentation page.
e.g.
*cnFillOn : True
results in the plot having filled contours, but does not turn off the
information label or add the label bar or continent outlines as it does
when set directly in the script.

2) Despite setting *mpFillOn : False this has no effect, and using
getvalues after plotting function is called shows mpFillOn = True.

Are these problems related to when the resource file is load in relation to
when the he gsn_csm_contour_map function is called? Or are they being
overwritten? I've tried looking at the code and not found any indication
that the latter is happening, but appreciate I may have missed something.

Also, I've noticed that when using cnFillOn = True (even when not using a
resource file), the contour lines are not turned off as indicated in the
web documentation page. Is this correct?

Apologises for the long message, any help would be much appreciated,
Regards,
Sarah

----------------------
Sarah Nelson
School Geographical Sciences
University of Bristol
University Road
Bristol BS8 1SS
Tel: 0117 3317316
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Nov 11 2008 - 08:20:44 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 14 2008 - 16:42:12 MST