Dear Xiaoming,
Are the streamlines in the same data space as the contours? If not,
then the overlay will not work.
Since you are not providing any coordinate information via the
sfXArray/sfYArray/vfXArray/vfYArray,
then you must have coordinate array information attached to the
variables that you're plotting.
Please look at your variables with "printVarSummary" to see if there's
any coordinate information:
printVarSummary(wa)
printVarSummary(va)
I noticed that attached a coordinate array to one of the dimensions of
T:
T&bottom_top = pres_coor
I believe you need to do something similar for "va" and "wa".
Also note that it looks like you only added a coordinate array for the
Y axis.
The x axis doesn't have anything, and that's why the X axis values are
going from 0 to nx-1.
--Mary
On Nov 2, 2011, at 8:36 AM, xiaoming Hu wrote:
> Hello
>
> I would like to draw streamlines for a south-north cross-section for
> WRF output using gsn_csm_pres_hgt_streamline.
> The contours show up but the streamlines do not show.
> Please see the attached script and figure.
>
> Any idea what happened?
>
> Thanks a lot
>
> Xiaoming
>
> <plot_stream.ncl><wrfout_d05_T_crossSNstremline_0.png>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Nov 2 09:03:46 2011
This archive was generated by hypermail 2.1.8 : Fri Nov 04 2011 - 08:43:41 MDT