<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Dave, <div class="">Thank you so much, this helps. My code works perfectly now. There was an prior definition that I had done of the array and hence it was sticking to that dimensionality. Sorry, my bad. </div><div class=""><br class=""></div><div class="">Prashanth <br class=""><div class=""><blockquote type="cite" class=""><div class="">On Oct 16, 2017, at 8:51 PM, Dave Allured - NOAA Affiliate <<a href="mailto:dave.allured@noaa.gov" class="">dave.allured@noaa.gov</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: PalatinoLinotype-Roman; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">dim_avg_wgt_n (b, w, 0, 0)</span></div></blockquote></div><br class=""></div></div></body></html>