<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  "copy_VarCoords(var2,ccr)"
      instead of "copy_VarCoords_1(var2,ccr)"<br>
      You need to do   "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)    A valid longitude coordinate array should have a
          'units' attribu<br>
          te equal to one of the following values: <br>
          (0)        '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>
         <br>
        <div>The script i used is below. <br>
          ncl 0> load
          "/usr/local/lib/ncl/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>
          ncl 1> load
          "/usr/local/lib/ncl/lib/ncarg/nclscripts/csm/gsn_csm.ncl" <br>
          ncl 2> load
          "/usr/local/lib/ncl/lib/ncarg/nclscripts/csm/contributed.ncl"<br>
          ncl 3> begin<br>
          ncl 4> in1 = addfile("/home/kunal/<a moz-do-not-send="true"
            href="http://14-01.nc">14-01.nc</a>","r")<br>
          ncl 5> in2 = addfile("/home/kunal/<a moz-do-not-send="true"
            href="http://02-09.nc">02-09.nc</a>","r")<br>
          ncl 6> var1 = in1->TotCH4_A<br>
          ncl 7> var2 = in2->TotCH4_A <br>
          ncl 8> maxlag = 1<br>
          ncl 9> ccr = esccr(var1,var2,maxlag)<br>
          ncl 10> copy_VarAtts(var1,ccr)                           <br>
          ncl 11> copy_VarCoords_1(var2,ccr)<br>
          ncl 12> wks = gsn_open_wks("x11","corr")<br>
          ncl 13> gsn_define_colormap(wks,"ncl_default")<br>
          ncl 14> res = True<br>
          ncl 15> res@cnFillOn = True<br>
          ncl 16> res@tiMainString = "Correlation"<br>
          ncl 17> plot = gsn_csm_contour_map_ce(wks,ccr(:,:),res)<br>
          ncl 18> end<br>
          <br>
           <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 & 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>