<div dir="ltr"><div><font size="4">Hi dear Karin,</font></div><div><font size="4">              I followed the same as suggested by you but it could not result into expected output. On the other hand I did 'ncdump -h' on the data file and it shows that data file contain the detail of unit of coordinate variable. May be I am still doing mistake somewhere, please suggest what should be done now, when setting lat lon unit do not work?</font></div><div><font size="4"><br></font></div><div><font size="2"><br></font></div><div><font size="2">a=addfile("WesternAgroClimRegion_MonthlySum_1901_2017Jan.nc","r")<br>b=a->rf<br>lat@units = "degrees_north"<br>lon@units = "degrees_east"<br>aveg=dim_avg_n(b,0)<br>stdev=dim_stddev_n(b,0)<br>;stdev = where(stdev.ne.0,stdev,stdev@_FillValue)<br>cv=(stdev/aveg)*100<br>;*****************************************<br>;create plot<br>;*****************************************<br>  wks  = gsn_open_wks("png","CV_map")   ; send graphics to PNG file<br>  res                     = True          ; plot mods desired<br>  res@cnFillOn            = True          ; turn on color<br>  res@cnLinesOn           = False <br>  res@cnFillMode          = "RasterFill"       ; Raster Mode<br>  res@cnFillPalette       = "gui_default" ; set color map<br>  ;res@vpWidthF           = 0.5          ; change aspect ratio of plot<br>  ;res@vpHeightF          = 0.3<br>  res@gsnMaximize         = False          ; maximize plot size<br>  ;res@gsnDraw            = False<br>  ;res@gsnFrame           = False<br>  plot = gsn_csm_contour(wks,cv,res)       ; contour the variable<br>  frame(wks)<br>  end</font></div><div><font size="4"></font><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><font size="4">Regards,</font></div><div><br></div><div><img src="https://docs.google.com/uc?export=download&id=1flpEpH50fxgPRxFvuyiLu2A70K0UoFx-&revid=0Byj9ykpbAx3od3R4N016WWh0MnlGQ1JHUTg4Nk5HVmVMS2ZNPQ" width="304" height="116"><br></div><div>                           <br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 5, 2019 at 7:16 PM Karin Meier-Fleischer via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    The lat and lon variables don't have a units attribute. <br>
    <br>
    lat@units = "degrees_north"<br>
    lon@units = "degrees_east"<br>
    <br>
    -Karin<br>
    <br>
    <div>Am 05.12.19 um 13:50 schrieb Atul Saini
      via ncl-talk:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div><font size="4">Hi NCL,</font></div>
        <div><font size="4">              In spite of getting the real
            lat-lon label, I am getting the serial number of lat-lon.
            Please suggest the solution!</font></div>
        <div><font size="4"><br>
          </font></div>
        <div><font size="4">Please find the script and data attached
            with this mail.</font></div>
        <div><font size="4">Thanks in advance.</font></div>
        <div><br>
        </div>
        <div>
          <div>
            <div dir="ltr">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div dir="ltr">
                                        <div>
                                          <div dir="ltr">
                                            <div>
                                              <div dir="ltr">
                                                <div>
                                                  <div dir="ltr">
                                                    <div>
                                                      <div dir="ltr">
                                                        <div>
                                                          <div><font size="4">Regards,</font></div>
                                                          <div><br>
                                                          </div>
                                                          <div><img src="https://docs.google.com/uc?export=download&id=1flpEpH50fxgPRxFvuyiLu2A70K0UoFx-&revid=0Byj9ykpbAx3od3R4N016WWh0MnlGQ1JHUTg4Nk5HVmVMS2ZNPQ" width="304" height="116"><br>
                                                          </div>
                                                          <div>                          
                                                          <br>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
ncl-talk mailing list
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></pre>
    </blockquote>
    <br>
  </div>

_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>