<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Lyndon,<br>
<br>
the plot function gsn_csm_vector_scalar can't handle the @cn
resources and gives the warnings. To get rid of the warnings
separate the contour (res: contour and map) and vector resources
(e.g. in vcres) as shown in the attached script.<br>
<br>
To use the @vcLineArrowColor you have to set the
@vcMonoLineArrowColor to True which is described in the
documentation:<br>
<a class="moz-txt-link-freetext" href="http://ncl.ucar.edu/Document/Graphics/Resources/vc.shtml#vcLineArrowColor">http://ncl.ucar.edu/Document/Graphics/Resources/vc.shtml#vcLineArrowColor</a><br>
<br>
It is always a good idea to take a look at the resources
documentation (and read) if a resource setting is not working as
expected.<br>
<br>
Bye,<br>
Karin<br>
<br>
<div class="moz-cite-prefix">Am 05.07.17 um 09:23 schrieb Lyndon
Mark Olaguera:<br>
</div>
<blockquote
cite="mid:CA+V+8dWxxZC4fxMXGqeT=0Pb1+WLyNDAo3Zk5kokZGuEEHTYxg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Dear NCL-experts,</div>
<div><br>
</div>
<div><br>
</div>
<div>I am trying to overlay wind vectors over an
orthographic map but I am getting the
following warning messages:</div>
<div><br>
</div>
<div>
<div>warning:cnFillOn is not a valid resource
in proj_vector at this time</div>
<div>warning:cnLineLabelsOn is not a valid
resource in proj_vector at this time</div>
<div>warning:cnLevelSelectionMode is not a
valid resource in proj_vector at this time</div>
<div>warning:cnMinLevelValF is not a valid
resource in proj_vector at this time</div>
<div>warning:cnMaxLevelValF is not a valid
resource in proj_vector at this time</div>
<div>warning:cnLevelSpacingF is not a valid
resource in proj_vector at this time</div>
<div>warning:cnFillDrawOrder is not a valid
resource in proj_vector at this time</div>
<div>warning:cnLinesOn is not a valid resource
in proj_vector at this time</div>
<div>warning:cnFillPalette is not a valid
resource in proj_vector at this time</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Also, when I try to use the <b>"LineArrow"</b>
as a glyph style, the color of the arrows are
"blue" and ignores whatever I set in <b>res@vcLineArrowColor
= "black".</b> I also tried using "<b>FilledArrow"
</b>as the glyph style and this solves the
issue. Nonetheless, I want to know why the
first one (LineArrow glyph style) does not
work and also the warning messages.</div>
<div><br>
</div>
<div><br>
</div>
<div>I'll appreciate any suggestion on how I can
do this correctly in NCL.</div>
<div><br>
</div>
<div>I am attaching my script and the output
here.</div>
<div>The sample data sets that I am using can be
found in this link:</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="https://www.dropbox.com/s/8vwk894gkyof082/sample_data.zip?dl=0">https://www.dropbox.com/s/8vwk894gkyof082/sample_data.zip?dl=0</a><br>
</div>
<div><br>
</div>
<div>Lyndz</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
</blockquote>
<br>
</body>
</html>