<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Cheryl,<br>
    Please add the following code to your script and respond back to the
    ncl-talk email list with the results:<br>
    <br>
    printVarSummary(f)<br>
    ff = dim_avg_n_Wrap(f,0)<br>
    printVarSummary(ff)<br>
    <br>
    I not sure what you mean by: "Lon in the contour plotting changed
    180 degree compare to the plotting for each time. " Can you also
    send back some plots showing the issue? <br>
    <br>
    Thanks,<br>
    Adam<br>
    <br>
    <div class="moz-cite-prefix">On 10/22/2013 08:27 AM, cheryl Ma
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAPTg03haDteH0CZ67GY7S6y72G_Xz==3Uuvmacm-pCRq34kSsA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Thanks, Dennis.<br>
        <br>
        The problem is still there. Lon in the contour plotting changed
        180 degree compare to the plotting for each time. <br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Oct 22, 2013 at 10:08 AM,
          Dennis Shea <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">You should
            use<br>
            <br>
            &nbsp; &nbsp;ff = dim_ang_n_Wrap(f, 0)<br>
            <br>
            --<br>
            Please read the Mini-Language Manual (Section 5.6.1)<br>
            <br>
            <a moz-do-not-send="true"
              href="http://www.ncl.ucar.edu/Document/Manuals/language_man.pdf"
              target="_blank">http://www.ncl.ucar.edu/Document/Manuals/language_man.pdf</a>
            <div>
              <div class="h5"><br>
                <br>
                On 10/22/13 7:31 AM, cheryl Ma wrote:<br>
              </div>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div>
                <div class="h5">
                  Hi everyone,<br>
                  <br>
                  I made contour plotting to an array f (time,lat,lon)
                  on each time and<br>
                  checked lat and lon using printVarSummary(f), and the
                  f look good as<br>
                  <br>
                  Number of Dimensions: 3<br>
                  Dimensions and sizes: &nbsp; [31] x [lat | 180] x [lon |
                  360]<br>
                  Coordinates:<br>
                  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lat: [-89.5..89.5]<br>
                  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;lon: [-179.5..179.5]<br>
                  <br>
                  But when I calculate the average by using
                  ff=dim_avg_n(f),<br>
                  printVarSummary(ff) does not show the Coordinates,
                  i.e.<br>
                  <br>
                  Number of Dimensions: 2<br>
                  Dimensions and sizes: &nbsp; [180] x [360]<br>
                  Coordinates:<br>
                  <br>
                  Also I made a contour plot of ff and saw that somehow
                  the lon changed by<br>
                  180 degree. dim_avg_n suppose keep the original lat
                  and lon, right?<br>
                  <br>
                  what caused the change of lon? thanks,<br>
                  <br>
                  <br>
                  <br>
                </div>
              </div>
              _______________________________________________<br>
              ncl-talk mailing list<br>
              List instructions, subscriber options, unsubscribe:<br>
              <a moz-do-not-send="true"
                href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk"
                target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
              <br>
            </blockquote>
          </blockquote>
        </div>
        <br>
      </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">-- 
______________________________________________________________
Adam Phillips                                <a class="moz-txt-link-abbreviated" href="mailto:asphilli@ucar.edu">asphilli@ucar.edu</a>
NCAR/Climate and Global Dynamics Division       (303) 497-1726    
P.O. Box 3000                                  
Boulder, CO 80307-3000    <a class="moz-txt-link-freetext" href="http://www.cgd.ucar.edu/cas/asphilli">http://www.cgd.ucar.edu/cas/asphilli</a>
</pre>
  </body>
</html>