Re: gsn_csm_pres_hgt_streamline is not working

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Jan 03 2013 - 14:25:33 MST

Yong Sun,

Can you also provide your script? If the vectors are not showing up, then you may want to check that the coordinate arrays, if any, are in the same data space as your contours.

I generally recommend that people not use scripts that do multiple things, like gsn_csm_vector_scalar_map or gsn_csm_pres_hgt_streamline.
This is because it's harder to control the individual contour and streamline plots.

Instead, I recommend using "gsn_csm_contour_map" to create a contour/map plot, "gsn_csm_streamline" to create a streamline plot, and then "overlay" to overlay the streamline plot on the contour/map plot.

Please see example "overlay_1.ncl" at:

This actually creates a contour/map plot and a contour plot, but you can easily substitute a streamline plot for the contour plot.

You can also look at overlay_6.ncl on the same page. This is more complicated because there are contours, vectors, *and* streamlines being created.


On Jan 3, 2013, at 12:47 PM, Yong Sun wrote:

> Hi all,
> I plan to show streamline using the gsn_csm_pres_hgt_streamline´╝îbut it couldn't display the vector.
> the V and W used for this function is IPSL model output(see the attachment)
> However, when I apply the same code on the V and W of DOE/NCEP, it works well.
> I don't know why. Could you give me some advice on me solve this problem?
> Thanks in advance.
> Best regards
> <><>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Thu Jan 3 14:25:47 2013

This archive was generated by hypermail 2.1.8 : Fri Jan 04 2013 - 15:34:10 MST