<div>Hi:</div><div>&nbsp; All,I have write a script to read and trmm 3B42 data <span style="line-height: 1.5;">,but it appears warning :</span></div><div><br></div><div>&nbsp;(0) &nbsp; &nbsp; gsn_add_cyclic: Warning: The range of your longitude coordinate array is at least 360.</div><div>(0) &nbsp; &nbsp; You may want to set gsnAddCyclic to False to avoid a warning</div><div>(0) &nbsp; &nbsp; message from the spline function.</div><div>warning:_NhlCreateSplineCoordApprox: Attempt to create spline approximation for X axis failed: consider adjusting trXTensionF value</div><div>warning:IrTransInitialize: error creating spline approximation for trXCoordPoints; defaulting to linear</div><div><br></div><div>And there is no&nbsp;<span style="line-height: 1.5;">contour appeared on the plot</span></div><div><img src="cid:9BAF46A4@EB530F0A.37BFE858.jpg" filesize="76049" modifysize="72%" diffpixels="15px" scalingmode="zoom" style="width: 466px; height: 404px;"></div><div><br></div><div>This is my script:</div><div>&nbsp; &nbsp;;</div><div><div>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"</div><div>load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"</div><div><br></div><div>begin</div><div><br></div><div>&nbsp; a = addfile("/backup/hl/z_20min/2010.nc","r")</div><div><br></div><div><br></div><div>; We generate plots, but what kind do we prefer?</div><div>; &nbsp;type = "x11"</div><div>&nbsp; type = "pdf"</div><div>; type = "ps"</div><div>; type = "ncgm"</div><div>&nbsp; wks = gsn_open_wks(type,"trmmPrecip2010_0808")</div><div>; get data</div><div>pcp &nbsp;= a-&gt;PCP</div><div>lat &nbsp;= a-&gt;LAT</div><div>lon &nbsp;= a-&gt;LON1_1441</div><div>pcp_sum=dim_sum_n(pcp(0:8,:,:),0)</div><div><br></div><div>pcp_sum!0="lat"</div><div>pcp_sum!1="lon"</div><div>pcp_sum&amp;lat=lat(0:399)</div><div>pcp_sum&amp;lon=lon(0:1440)</div><div>printVarSummary(pcp_sum)</div><div><br></div><div>;printVarSummary(pcp1)</div><div><br></div><div>; Set some basic resources</div></div><div><div>res = True</div><div>&nbsp; res@gsnDraw &nbsp;= False</div><div>&nbsp; res@gsnFrame = False</div><div>&nbsp;res@cnLinesOn = False</div><div>res@lbLabelBarOn &nbsp; &nbsp; &nbsp; &nbsp;= False</div><div>res@cnInfoLabelOn &nbsp; &nbsp; &nbsp; = False</div><div>res@cnLineLabelsOn &nbsp; &nbsp; &nbsp;= False</div><div>res@mpPerimOn &nbsp; = True</div><div>res@gsnMaximize=True</div><div>res@pmTickMarkDisplayMode &nbsp; = "Always"</div><div>res@gsnDraw &nbsp; = False &nbsp; &nbsp; &nbsp; &nbsp;; don't draw yet</div><div>res@gsnFrame &nbsp;= False</div><div><br></div><div>res@mpGeophysicalLineColor = "Black"</div><div>res@mpNationalLineColor &nbsp; &nbsp;= "Black"</div><div>res@mpDataSetName &nbsp; &nbsp; &nbsp; &nbsp; = "Earth..4"</div><div>res@mpDataBaseVersion &nbsp; &nbsp; = "MediumRes"</div><div>res@mpOutlineSpecifiers = ("China:states")</div><div>res@mpNationalLineThicknessF= 0.1</div><div>res@mpOutlineDrawOrder &nbsp; &nbsp;= "PostDraw"</div><div>res@mpLimitMode = "LatLon" &nbsp; &nbsp;; Limit the map view.</div><div>res@mpMinLonF &nbsp; = 104.8</div><div>res@mpMaxLonF &nbsp; = 112</div><div>res@mpMinLatF &nbsp; = 31.9</div><div>res@mpMaxLatF &nbsp; = 39.3</div><div><br></div></div><div><div>&nbsp;plot=gsn_csm_contour_map(wks,pcp_sum,res)</div><div>&nbsp; &nbsp; &nbsp; &nbsp;shp_name &nbsp; &nbsp;= "/public/home/huanglei/map/shaanxi_city_l.shp"</div><div>&nbsp; &nbsp; &nbsp; &nbsp;lnres &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= True</div><div>&nbsp; &nbsp; &nbsp; &nbsp; lnres@gsLineColor &nbsp; &nbsp; &nbsp;= "black"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; lnres@gsLineThicknessF = 1.5</div><div>&nbsp;id = gsn_add_shapefile_polylines(wks,plot,shp_name,lnres)</div><div><br></div><div>&nbsp; txres2 &nbsp;= True</div><div>&nbsp; &nbsp;txres2@txFont &nbsp;= 10</div><div>&nbsp; &nbsp;txres2@txFontHeightF =0.01</div><div>&nbsp; &nbsp;txres2@txFontColor = "Blue"</div><div>&nbsp; &nbsp;txdum1 =gsn_add_text(wks, plot, "Xian", 108.93,34.27, txres2)</div><div>&nbsp; draw(plot)</div><div>&nbsp; frame(wks)</div><div>&nbsp; delete(res)</div><div>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</div><div><br></div><div><br></div><div>end</div></div><div><br></div><div><br></div><div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.7999992370605px;">My NCL version is 6.2.0.</div><div style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.7999992370605px;">&nbsp;How can I slove the problem?</div></div><div></div>