[ncl-talk] Overlay wind vectors on orthographic map

Lyndon Mark Olaguera olagueralyndonmark429 at gmail.com
Wed Jul 5 02:53:27 MDT 2017


Hi Karin,

Thank you for the help.


On Wed, Jul 5, 2017 at 4:52 PM, Karin Meier-Fleischer <
meier-fleischer at dkrz.de> wrote:

> Hi Lyndon,
>
> 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.
>
> To use the @vcLineArrowColor you have to set the @vcMonoLineArrowColor to
> True which is described in the documentation:
> http://ncl.ucar.edu/Document/Graphics/Resources/vc.shtml#vcLineArrowColor
>
> 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.
>
> Bye,
> Karin
>
> Am 05.07.17 um 09:23 schrieb Lyndon Mark Olaguera:
>
> Dear NCL-experts,
>
>
> I am trying to overlay wind vectors over an orthographic map but I am
> getting the following warning messages:
>
> warning:cnFillOn is not a valid resource in proj_vector at this time
> warning:cnLineLabelsOn is not a valid resource in proj_vector at this time
> warning:cnLevelSelectionMode is not a valid resource in proj_vector at
> this time
> warning:cnMinLevelValF is not a valid resource in proj_vector at this time
> warning:cnMaxLevelValF is not a valid resource in proj_vector at this time
> warning:cnLevelSpacingF is not a valid resource in proj_vector at this time
> warning:cnFillDrawOrder is not a valid resource in proj_vector at this time
> warning:cnLinesOn is not a valid resource in proj_vector at this time
> warning:cnFillPalette is not a valid resource in proj_vector at this time
>
>
> Also, when I try to use the *"LineArrow"* as a glyph style, the color of
> the arrows are "blue" and ignores whatever I set in *res at vcLineArrowColor
> = "black".* I also tried using "*FilledArrow" *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.
>
>
> I'll appreciate any suggestion on how I can do this correctly in NCL.
>
> I am attaching my script and the output here.
> The sample data sets that I am using can be found in this link:
>
> https://www.dropbox.com/s/8vwk894gkyof082/sample_data.zip?dl=0
>
> Lyndz
>
>
> _______________________________________________
> ncl-talk mailing listncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170705/98ae6e6e/attachment.html 


More information about the ncl-talk mailing list