<!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>                        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></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"><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><FONT color=#000000 size=3></FONT>&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"><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"><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"><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><FONT color=#0000ff face="Times New Roman"></FONT>&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 color=#000000></FONT>&nbsp;</DIV></FONT>
<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></BODY></HTML>