<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Atul,<br>
    <br>
    do you want to calculate the avg and the stddev on the longitude
    coordinate? The functions dim_avg and dim_stddev do the calculations
    on the right- most dimension. If you want to do it on the time
    dimension then you should use dim_avg_n and dim_stddev_n functions.<br>
    <br>
    To prevent division by 0 you can use the where function. Searching
    the internet will give you some ncl-talk answers to this issue.<br>
    <br>
    -Karin<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Am 05.12.19 um 10:51 schrieb Atul Saini
      via ncl-talk:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACqmUapU4H_xRk58g5sMO9tusGPSkVXx6TfSaz0iKgdha0SrGA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div><font size="4">Hi NCL,</font></div>
        <div><font size="4">              I am trying to plot the map
            showing calculate gridwise coefficient of variation but it
            is not getting plotted and one error is Division by 0, Can't
            continue. Please help!</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"><br>
                                                          </font></div>
                                                          <div><font
                                                          size="4">Please
                                                          find the
                                                          script file
                                                          and data file
                                                          attached.</font></div>
                                                          <div><font
                                                          size="4">Please
                                                          help, it's
                                                          urgent.<br>
                                                          </font></div>
                                                          <div><font
                                                          size="4"><br>
                                                          </font></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"
moz-do-not-send="true" 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 class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>
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>
  </body>
</html>