<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>

<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>                        body{FONT-SIZE:12pt; FONT-FAMILY:宋体,serif;}                </STYLE>

<META name=GENERATOR content="MSHTML 10.00.9200.16660"><BASE 
target=_blank></HEAD>
<BODY 
style="BORDER-LEFT-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; MARGIN: 12px; LINE-HEIGHT: 1.3; BORDER-TOP-WIDTH: 0px" 
marginheight="0" marginwidth="0">
<DIV><FONT color=#000000 size=3 face=宋体>Adam,</FONT></DIV>
<DIV><FONT color=#000000 size=3>&nbsp;&nbsp; Thanks for your responding. I have 
added what you mentioned, but the error is still there.</FONT></DIV>
<DIV><FONT color=#000000 size=3>(0)&nbsp;&nbsp;&nbsp;&nbsp; 
19930101</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#000000 size=3>Variable: u<BR>Type: float<BR>Total Size: 664692 
bytes<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
166173 values<BR>Number of Dimensions: 2<BR>Dimensions and sizes:&nbsp;&nbsp; 
[NbLongitudes | 579] x [NbLatitudes | 
287]<BR>Coordinates:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
NbLongitudes: 
[98.33333333332349..290.9999999999709]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
NbLatitudes: [-17.79766126545592..60.88112837177402]<BR>Number Of Attributes: 
5<BR>&nbsp; date :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1993-01-01 
00:00:00.000000 UTC<BR>&nbsp; Date_CNES_JD 
:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 15706<BR>&nbsp; units 
:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cm/s<BR>&nbsp; long_name :&nbsp;&nbsp; 
U<BR>&nbsp; _FillValue :&nbsp; 1.844674e+19</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#000000 size=3>Variable: v<BR>Type: float<BR>Total Size: 664692 
bytes<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
166173 values<BR>Number of Dimensions: 2<BR>Dimensions and sizes:&nbsp;&nbsp; 
[NbLongitudes | 579] x [NbLatitudes | 
287]<BR>Coordinates:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
NbLongitudes: 
[98.33333333332349..290.9999999999709]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
NbLatitudes: [-17.79766126545592..60.88112837177402]<BR>Number Of Attributes: 
5<BR>&nbsp; _FillValue :&nbsp; 1.844674e+19<BR>&nbsp; long_name :&nbsp;&nbsp; 
V<BR>&nbsp; units :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cm/s<BR>&nbsp; 
Date_CNES_JD :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 15706<BR>&nbsp; date 
:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1993-01-01 00:00:00.000000 
UTC</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#000000 size=3>Variable: speed<BR>Type: float<BR>Total Size: 
664692 
bytes<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
166173 values<BR>Number of Dimensions: 2<BR>Dimensions and sizes:&nbsp;&nbsp; 
[579] x [287]<BR>Coordinates:<BR>Number Of Attributes: 1<BR>&nbsp; _FillValue 
:&nbsp; 1.844674e+19<BR>(0)&nbsp;&nbsp;&nbsp;&nbsp; check_for_y_lat_coord: 
Warning: Data either does not contain a valid latitude coordinate array or 
doesn't contain one at all.<BR>(0)&nbsp;&nbsp;&nbsp;&nbsp; A valid latitude 
coordinate array should have a 'units' attribute equal to one of the following 
values:<BR>(0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'degrees_north' 
'degrees-north' 'degree_north' 'degrees north' 'degrees_N' 'Degrees_north' 
'degree_N' 'degreeN' 'degreesN' 'deg north'<BR>(0)&nbsp;&nbsp;&nbsp;&nbsp; 
check_for_lon_coord: Warning: Data either does not contain a valid longitude 
coordinate array or doesn't contain one at all.<BR>(0)&nbsp;&nbsp;&nbsp;&nbsp; A 
valid longitude coordinate array should have a 'units' attribute equal to one of 
the following values:<BR>(0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
'degrees_east' 'degrees-east' 'degree_east' 'degrees east' 'degrees_E' 
'Degrees_east' 'degree_E' 'degreeE' 'degreesE' 'deg 
east'<BR>(0)&nbsp;&nbsp;&nbsp;&nbsp; gsn_csm_map_ce: Warning: you set mpMaxLonF 
to a value &gt; 180, 
but<BR>(0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
didn't set mpCenterLonF. Setting mpCenterLonF to 194.5</FONT></DIV>
<DIV><FONT color=#000000 size=3></FONT>&nbsp;</DIV>
<DIV>The newer code is</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#0000ff>do nt=nb,ne<BR>&nbsp;&nbsp;&nbsp;&nbsp; time=in[:] 
-&gt;time(nt-1)<BR>&nbsp;&nbsp;&nbsp;&nbsp; utc_date = cd_calendar(time, 
-3)<BR>&nbsp;&nbsp;&nbsp;&nbsp; print(""+utc_date)<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>;************************************************<BR>; read in zonal [u] and 
meridional [v] winds 
<BR>;************************************************<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
tmp&nbsp;&nbsp; = 
in[:]-&gt;UGRD_10maboveground(nt-1,:,:)<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
u&nbsp;&nbsp;&nbsp;&nbsp; = 
tmp({lat_min:lat_max},{lon_min:lon_max})/100.0<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
tmp&nbsp;&nbsp; = 
in[:]-&gt;VGRD_10maboveground(nt-1,:,:)<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
v&nbsp;&nbsp;&nbsp;&nbsp; = 
tmp({lat_min:lat_max},{lon_min:lon_max})/100.0<BR>&nbsp;&nbsp;&nbsp;&nbsp; speed 
= sqrt(u^2 + v^2)<BR>&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
color=#ff0000>copy_VarCoords(u,speed)<BR></FONT>&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>&nbsp;&nbsp;&nbsp;&nbsp; </FONT><A href="mailto:vcres@tiMainString"><FONT 
color=#0000ff>vcres@tiMainString</FONT></A><FONT 
color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = "Wind 10m 
above ground"<BR>&nbsp;&nbsp;&nbsp;&nbsp; </FONT><A 
href="mailto:vcres@gsnLeftString"><FONT 
color=#0000ff>vcres@gsnLeftString</FONT></A><FONT 
color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
utc_date<BR>&nbsp;&nbsp;&nbsp;&nbsp; </FONT><A 
href="mailto:vcres@gsnRightString"><FONT 
color=#0000ff>vcres@gsnRightString</FONT></A><FONT 
color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = "m/s"</FONT></DIV>
<DIV><FONT color=#0000ff></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp; wks = gsn_open_wks(wks_type 
,"wind_"+utc_date)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
; open a ps file<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
gsn_define_colormap(wks,"rainbow")&nbsp; 
;"BlAqGrYeOrRe")&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; choose 
colormap<BR>printVarSummary(u)<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
printVarSummary(v)<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
printVarSummary(speed)<BR>&nbsp;&nbsp;&nbsp;&nbsp; <FONT 
color=#ff0000>plot=gsn_csm_vector_scalar_map_ce(wks,u(NbLatitudes|:,NbLongitudes|:),v(NbLatitudes|:,NbLongitudes|:),speed(NbLatitudes|:,NbLongitudes|:),vcres)</FONT>&nbsp; 
; create plot<BR>&nbsp; end do</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2013-09-06</FONT></DIV>
<DIV align=left><FONT size=2 face=Verdana>
<HR id=SignNameHR style="HEIGHT: 2px; WIDTH: 122px" align=left SIZE=2>
</FONT></DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana><SPAN 
id=_FlashSignName>朱学明</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Verdana>
<HR>
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>发件人:</STRONG>Adam Phillips 
&lt;asphilli@ucar.edu&gt;</FONT></DIV>
<DIV><FONT size=2 
face=Verdana><STRONG>发送时间:</STRONG>2013-09-06&nbsp;02:56</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG>Re: [ncl-talk] 
check_for_y_lat_coord</FONT></DIV>
<DIV><FONT size=2 
face=Verdana><STRONG>收件人:</STRONG>"朱学明"&lt;557xiaozhu@163.com&gt;</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG>"ncl-talk@ucar.edu 
USERS"&lt;ncl-talk@ucar.edu&gt;</FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Verdana>Thanks for sending printVarSummary's of your 
three arrays, as that likely identifies the issue. Unlike your u and v arrays, 
your speed array does not have any metadata/coordinate variables associated with 
it. <BR><BR>Try adding this after you create your speed 
array:<BR>copy_VarCoords(u,speed)<BR><BR>Alternatively, you can do 
this:<BR>speed = u<BR>speed = (/&nbsp; sqrt(u^2 + v^2) /)&nbsp;&nbsp; ; 
overwrite speed values, but leave the metadata<BR><BR>This is all assuming that 
your NbLongitudes / NbLatitudes have units attributes set. See this FAQ 
here:<BR><A class=moz-txt-link-freetext 
href="http://www.ncl.ucar.edu/FAQ/#err_msgs_027">http://www.ncl.ucar.edu/FAQ/#err_msgs_027</A><BR><BR>Finally, 
note that your u/v/speed arrays are dimensioned longitude by latitude. The 
gsn_csm_vector_scalar_map_ce plotting function expects the order to be latitude 
by longitude. Thus, you will have to reorder your dimensions like 
this:<BR>plot=gsn_csm_vector_scalar_map_ce(wks,u(NbLatitudes|:,NbLongitudes|:),v(NbLatitudes|:,NbLongitudes|:),speed(NbLatitudes|:,NbLongitudes|:),vcres) 
<BR><BR>Hope that helps. If you have any further questions please respond only 
to the ncl-talk email list.<BR>Adam<BR><BR>
<DIV class=moz-cite-prefix>On 09/05/2013 12:39 PM, 朱学明 wrote:<BR></DIV>
<BLOCKQUOTE cite=mid:325dcdf1.2f.140ef6bfde9.Coremail.557xiaozhu@163.com 
type="cite">
  <STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>

  <STYLE>                        BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}                        body{FONT-SIZE:12.1pt; COLOR:#001; FONT-FAMILY:宋体,serif;}                </STYLE>

  <META name=GENERATOR content="MSHTML 10.00.9200.16660"><BASE 
  target=_blank><STATIONERY>
  <DIV><FONT color=#000000 size=3 face=宋体>Hi All,</FONT></DIV>
  <DIV><FONT color=#000000 size=3>&nbsp;&nbsp; I am trying to plot the 
  geostrophic current fields from aviso. And get some screen output and error 
  messages as follow,</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>(0)&nbsp;&nbsp;&nbsp;&nbsp; 19930101</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Variable: u<BR>Type: float<BR>Total Size: 664692 
  bytes<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  166173 values<BR>Number of Dimensions: 2<BR>Dimensions and sizes:&nbsp;&nbsp; 
  [NbLongitudes | 579] x [NbLatitudes | 
  287]<BR>Coordinates:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  NbLongitudes: 
  [98.33333333332349..290.9999999999709]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  NbLatitudes: [-17.79766126545592..60.88112837177402]<BR>Number Of Attributes: 
  5<BR>&nbsp; date :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1993-01-01 
  00:00:00.000000 UTC<BR>&nbsp; Date_CNES_JD 
  :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 15706<BR>&nbsp; units 
  :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cm/s<BR>&nbsp; long_name :&nbsp;&nbsp; 
  U<BR>&nbsp; _FillValue :&nbsp; 1.844674e+19</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Variable: v<BR>Type: float<BR>Total Size: 664692 
  bytes<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  166173 values<BR>Number of Dimensions: 2<BR>Dimensions and sizes:&nbsp;&nbsp; 
  [NbLongitudes | 579] x [NbLatitudes | 
  287]<BR>Coordinates:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  NbLongitudes: 
  [98.33333333332349..290.9999999999709]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  NbLatitudes: [-17.79766126545592..60.88112837177402]<BR>Number Of Attributes: 
  5<BR>&nbsp; _FillValue :&nbsp; 1.844674e+19<BR>&nbsp; long_name :&nbsp;&nbsp; 
  V<BR>&nbsp; units :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cm/s<BR>&nbsp; 
  Date_CNES_JD :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 15706<BR>&nbsp; date 
  :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1993-01-01 00:00:00.000000 
  UTC</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Variable: speed<BR>Type: float<BR>Total Size: 664692 
  bytes<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  166173 values<BR>Number of Dimensions: 2<BR>Dimensions and sizes:&nbsp;&nbsp; 
  [579] x [287]<BR>Coordinates:<BR>Number Of Attributes: 1<BR>&nbsp; _FillValue 
  :&nbsp; 1.844674e+19<BR>(0)&nbsp;&nbsp;&nbsp;&nbsp; check_for_y_lat_coord: 
  Warning: Data either does not contain a valid latitude coordinate array or 
  doesn't contain one at all.<BR>(0)&nbsp;&nbsp;&nbsp;&nbsp; A valid latitude 
  coordinate array should have a 'units' attribute equal to one of the following 
  values:<BR>(0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'degrees_north' 
  'degrees-north' 'degree_north' 'degrees north' 'degrees_N' 'Degrees_north' 
  'degree_N' 'degreeN' 'degreesN' 'deg north'<BR>(0)&nbsp;&nbsp;&nbsp;&nbsp; 
  check_for_lon_coord: Warning: Data either does not contain a valid longitude 
  coordinate array or doesn't contain one at all.<BR>(0)&nbsp;&nbsp;&nbsp;&nbsp; 
  A valid longitude coordinate array should have a 'units' attribute equal to 
  one of the following 
  values:<BR>(0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'degrees_east' 
  'degrees-east' 'degree_east' 'degrees east' 'degrees_E' 'Degrees_east' 
  'degree_E' 'degreeE' 'degreesE' 'deg east'<BR>(0)&nbsp;&nbsp;&nbsp;&nbsp; 
  gsn_csm_map_ce: Warning: you set mpMaxLonF to a value &gt; 180, 
  but<BR>(0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  didn't set mpCenterLonF. Setting mpCenterLonF to 194.5<BR></DIV>
  <DIV>My code is as follow,</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;<FONT color=#0000ff> </FONT><FONT color=#0000ff 
  face="Times New Roman">do nt=nb,ne<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
  in&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
  addfile(infile(nt-1),"r")<BR>&nbsp;&nbsp;&nbsp;&nbsp; utc_date = 
  str_get_cols(infile(nt-1),44,51)<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
  print(""+utc_date)<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
  <BR>;************************************************<BR>; read in zonal [u] 
  and meridional [v] winds 
  <BR>;************************************************<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
  tmp&nbsp;&nbsp; = in-&gt;Grid_0001<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
  u&nbsp;&nbsp;&nbsp;&nbsp; = tmp({lon_min:lon_max},{lat_min:lat_max}) 
  ;/100.0<BR>&nbsp;&nbsp;&nbsp;&nbsp; tmp&nbsp;&nbsp; = 
  in-&gt;Grid_0002<BR>&nbsp;&nbsp;&nbsp;&nbsp; v&nbsp;&nbsp;&nbsp;&nbsp; = 
  tmp({lon_min:lon_max},{lat_min:lat_max}) ;/100.0<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
  speed = sqrt(u^2 + 
  v^2)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; </FONT><A 
  href="mailto:vcres@tiMainString" moz-do-not-send="true"><FONT color=#0000ff 
  face="Times New Roman">vcres@tiMainString</FONT></A><FONT color=#0000ff 
  face="Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  = "Geostrophic Current Field"<BR>&nbsp;&nbsp;&nbsp;&nbsp; </FONT><A 
  href="mailto:vcres@gsnLeftString" moz-do-not-send="true"><FONT color=#0000ff 
  face="Times New Roman">vcres@gsnLeftString</FONT></A><FONT color=#0000ff 
  face="Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
  utc_date<BR>&nbsp;&nbsp;&nbsp;&nbsp; </FONT><A 
  href="mailto:vcres@gsnRightString" moz-do-not-send="true"><FONT color=#0000ff 
  face="Times New Roman">vcres@gsnRightString</FONT></A><FONT color=#0000ff 
  face="Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 
  "m/s"</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT color=#ffff00 face="Times New Roman"><FONT 
  color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp; wks = gsn_open_wks(wks_type 
  ,"uv_"+utc_date)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ; open a ps file<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
  gsn_define_colormap(wks,"rainbow")&nbsp; 
  ;"BlAqGrYeOrRe")&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; choose 
  colormap<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
  printVarSummary(u)<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
  printVarSummary(v)<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
  printVarSummary(speed)<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
  plot=gsn_csm_vector_scalar_map_ce(wks,u,v,speed,vcres)&nbsp; ; create 
  plot<BR>&nbsp; end do</FONT><BR></FONT></DIV>
  <DIV><FONT face="Times New Roman"><FONT color=#000000>Anyone can help me for 
  figuring out the error?&nbsp; Thanks.</FONT></FONT></DIV>
  <DIV><FONT face="Times New Roman"></FONT>&nbsp;</DIV>
  <DIV align=left><FONT color=#c0c0c0 size=2 
  face=Verdana>2013-09-06</FONT></DIV><FONT size=2 face=Verdana>
  <HR id=SignNameHR style="HEIGHT: 2px; WIDTH: 122px" align=left SIZE=2>
  </FONT>
  <DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN 
  id=_FlashSignName>朱学明</SPAN></FONT></DIV></STATIONERY><BR>
  <FIELDSET class=mimeAttachmentHeader></FIELDSET> <BR><PRE wrap="">_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
<A class=moz-txt-link-freetext href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</A>
</PRE></BLOCKQUOTE><BR><PRE class=moz-signature cols="72">-- 
______________________________________________________________
Adam Phillips                                <A class=moz-txt-link-abbreviated href="mailto:asphilli@ucar.edu">asphilli@ucar.edu</A>
NCAR/Climate and Global Dynamics Division       (303) 497-1726    
P.O. Box 3000                                  
Boulder, CO 80307-3000    <A class=moz-txt-link-freetext href="http://www.cgd.ucar.edu/cas/asphilli">http://www.cgd.ucar.edu/cas/asphilli</A>
</PRE></FONT></DIV></BODY></HTML>