<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Maybe use&nbsp; "copy_VarCoords(var2,ccr)"
      instead of "copy_VarCoords_1(var2,ccr)"<br>
      You need to do &nbsp; "printVarSummary(var1)" first to see your data
      coordinates.<br>
      <br>
      <br>
      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>
    <br>
  </body>
</html>