<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Kunal,<br>
    <br>
    because not knowing your data, please take a look at:<br>
    <br>
    <a class="moz-txt-link-freetext" href="https://www.ncl.ucar.edu/Document/Graphics/error_msg.shtml">https://www.ncl.ucar.edu/Document/Graphics/error_msg.shtml</a><b><br>
    </b><br>
    go to&nbsp; '
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    Coordinate Variables do not have correct units attribute<b>'<br>
      <br>
    </b>
    or just search (google) the first part of your error message. It
    will give <br>
    you the important links straight forward.<br>
    <br>
    Bye,<br>
    Karin<br>
    <br>
    <b><br>
    </b>
    <div class="moz-cite-prefix">Am 11.09.14 13:31, schrieb Kunal Bali:<br>
    </div>
    <blockquote
cite="mid:CAOiHCtTJ7sGHgUJLNssSHsHih-DRs8qmZ6Oti1rREhBxguEhVA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Dear NCL <br>
          <br>
        </div>
        I am trying to plot the correlation map, But showing an error
        like<br>
        <br>
        <b>check_for_lon_coord: Warning: Data either does not contain a
          val<br>
          id longitude coordinate array or doesn't contain one at all.<br>
          (0)&nbsp;&nbsp;&nbsp; A valid longitude coordinate array should have a
          'units' attribu<br>
          te equal to one of the following values: <br>
          (0)&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 'degrees_east' 'degrees-east' 'degree_east'
          'degrees east' '<br>
          degrees_E' 'Degrees_east' 'degree_E' 'degreeE' 'degreesE' 'deg
          east'<br>
        </b><br>
        <br>
        Could you please tell how to give valid longitude coordinates ??<br>
        &nbsp;<br>
        <div>The script i used is below. <br>
          ncl 0&gt; load
          "/usr/local/lib/ncl/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>
          ncl 1&gt; load
          "/usr/local/lib/ncl/lib/ncarg/nclscripts/csm/gsn_csm.ncl" <br>
          ncl 2&gt; load
          "/usr/local/lib/ncl/lib/ncarg/nclscripts/csm/contributed.ncl"<br>
          ncl 3&gt; begin<br>
          ncl 4&gt; in1 = addfile("/home/kunal/<a moz-do-not-send="true"
            href="http://14-01.nc">14-01.nc</a>","r")<br>
          ncl 5&gt; in2 = addfile("/home/kunal/<a moz-do-not-send="true"
            href="http://02-09.nc">02-09.nc</a>","r")<br>
          ncl 6&gt; var1 = in1-&gt;TotCH4_A<br>
          ncl 7&gt; var2 = in2-&gt;TotCH4_A <br>
          ncl 8&gt; maxlag = 1<br>
          ncl 9&gt; ccr = esccr(var1,var2,maxlag)<br>
          ncl 10&gt; copy_VarAtts(var1,ccr)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
          ncl 11&gt; copy_VarCoords_1(var2,ccr)<br>
          ncl 12&gt; wks = gsn_open_wks("x11","corr")<br>
          ncl 13&gt; gsn_define_colormap(wks,"ncl_default")<br>
          ncl 14&gt; res = True<br>
          ncl 15&gt; res@cnFillOn = True<br>
          ncl 16&gt; res@tiMainString = "Correlation"<br>
          ncl 17&gt; plot = gsn_csm_contour_map_ce(wks,ccr(:,:),res)<br>
          ncl 18&gt; end<br>
          <br>
          &nbsp;<br>
        </div>
        <div><br>
          <br>
          <br>
          <br>
          <br clear="all">
          <div>
            <div>
              <div dir="ltr">
                <div>Kunal Bali<br>
                </div>
                <div>Research Scholar <br>
                </div>
                <div>Radio &amp; Atmospheric Science Division <br>
                </div>
                <div>CSIR - National Physical Laboratory<br>
                </div>
                <div>New Delhi - 110012<br>
                  <br>
                </div>
                <div><br>
                </div>
                <div><br>
                </div>
                <div><br>
                </div>
                <div>
                  <p
style="margin:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font
                      color="#1F497D"><br>
                    </font></p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <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">-- 
Dipl. Geophys. Karin Meier-Fleischer
Visualization
Application Support

Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstrasse 45a - D20146 Hamburg - Germany

Phone:    +49 (0)40 460094 126
Fax:      +49 (0)40 460094 270
E-Mail:   <a class="moz-txt-link-abbreviated" href="mailto:meier-fleischer@dkrz.de">meier-fleischer@dkrz.de</a>
URL:      <a class="moz-txt-link-abbreviated" href="http://www.dkrz.de">www.dkrz.de</a>

Gesch&auml;ftsf&uuml;hrer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784
</pre>
  </body>
</html>