Hi James,
In order to use those resources with gsn_csm_vector_scalar_map, you need
to set gsnScalarContour = True. If you don't set this resource, the
vectors are colored according to the input scalar field. By setting this
resource, a separate scalar plot will be drawn underneath the vectors,
and you can use the resources you cited below.
(See example 1 here: http://www.ncl.ucar.edu/Applications/vector.shtml)
Let us know if that doesn't fix the problem.
Adam
James Correia wrote:
> I am using NARR netcdf data and trying to use the
> gsn_csm_vector_scalar_map routine (modified from example 2)
> I have tried to specify:
> res_at_cnLevelSelectionMode = "ExplicitLevels"
> res_at_cnLinesOn = True
> res_at_cnFillOn = True
> res_at_cnLevels = (/.../)
>
> But these resources are apparently unavailable. I have used this gsn
> routine before for WRF data without issue. Is this an issue associated
> with the map projection of the NARR dataset?
>
> The gsn_csm_contour routine works well, so is there another way to
> display wind vectors without using gsn_csm_vector_scalar_map?
> --
> James Correia Jr.
> Post Doc
> Climate Physics Group, PNNL
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- -------------------------------------------------------------- Adam Phillips asphilli_at_ucar.edu National Center for Atmospheric Research tel: (303) 497-1726 ESSL/CGD/CAS fax: (303) 497-1333 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Tue Aug 26 2008 - 14:39:52 MDT
This archive was generated by hypermail 2.2.0 : Wed Aug 27 2008 - 10:22:44 MDT