<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>Hello,</div><div>My apologies for once again asking something very basic. I am not able to plot my data due to incorrect capture of coordinates. The first part of my script is:</div><div><span>begin<br> <br> f = addfile("~/CORDEX/DATA/pr_AFR-44_MPI-M-MPI-ESM-LR_historical_r1i1p1_MPI-CSC-REMO2009_v1_day_1971-2000.nc","r")<br> p = f->pr(0,:,:)<br><br></span><div><span> printVarSummary(p)</span></div><div><span></span><br></div><div><div>The above command (printVarSummary) gives (in part):</div><span><div><span><br></span></div></span><span>Variable: p<br>Type: float<br>Total Size: 155976 bytes<br> 38994 values<br>Number of Dimensions: 2<br>Dimensions and sizes: [y | 201] x [x | 194]<br>Coordinates: <br>Number Of Attributes: 11<br> time : 7701.5<br> standard_name : precipitation_flux<br> long_name : Precipitation<br> units : kg m-2 s-1<br> coordinates : lat lon<br> _FillValue : 1e+20<br> missing_value : 1e+20<br> <br></span>From the various ncl-talk posts I tried varying combinations of the following code<br></div><span><br> lat = f->lat<br> lon = f->lon<br><br>; p!0="time" ; assign attributes<br> p!0="lat"<br> p!1="lon"<br><br> lon@long_name="longitude"<br> lon@units="degrees_east"<br> lat@long_name="latitude"<br> lat@units="degrees_north"<br><br>; p&lon=lon<br></span><div><span>; p&lat=lat</span></div><div><span></span><br></div><div>Nothing works. Help will be appreciated.<br></div><div><br></div><span><br><br></span><br></div></div></body></html>