Hello everyone,
I tried to make a simple wrf vector plot, but got blank. The following
is the code (I copied from ncl webpage and made some small modification
to replace the nc file). WRFUserARW.ncl was newly downloaded from ncl
webpage.
Does any have any idea where the problem is?
By the way, I am using NCLVersion 5.0.0
Thanks a lot!
Hui
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
; load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"
load "./WRFUserARW.ncl"
begin
a = addfile("wrfout.10km.lonlat.nc","r")
wks = gsn_open_wks("x11","test")
res=True
u10 = wrf_user_getvar(a,"U10",0) ; U component of the wind at 10m
v10 = wrf_user_getvar(a,"V10",0) ; V component of the wind at 10m
; respect to speed use False
vector = wrf_vector(a,wks,u10,v10,res)
end
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Mar 24 2009 - 13:39:40 MDT
This archive was generated by hypermail 2.2.0 : Wed Mar 25 2009 - 15:36:00 MDT