Dear Everyone,
I am trying use version 4.2.0.a031 and trying to migrate to version
4.2.0.a032.
When I tried to use the wmbarb function, it failed to plot the windbarb
as expected.
Attached is a sample code which works fine in the previous version but
not the latest one. The sample has been tested under CYGWIN and RH9
platform and both got the same result. Please note the program will work
well when the function "datatondc" has been called.
It will be great if able to know if something has been changed
implicitly in the new version.
Thanks a lot for all your help.
Best regards,
Addy
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
begin
wks = gsn_open_wks ("x11", "test_sample")
res_temp = True
res_temp@gsnDraw = False
res_temp@gsnFrame = False
plot_temp = gsn_csm_xy(wks, (/28.2, 16.7/), (/0.5, 49.2/), res_temp)
;========================================================
; Must call datatondc function once in 4.2.0.a032 ??
;
; a = 0.1
; b = 0.1
; datatondc(plot_temp, 1,1, a,b)
;========================================================
wmbarb(wks, (/22.2,20.3/), (/14.3,12.0/), (/22.2,20.3/), (/14.3,12.0/))
draw(wks)
frame(wks)
end
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Tue Dec 14 2004 - 09:45:50 MST