<div dir="ltr"><div><div><div><div>Attached is an <b>un</b>documented and <b>un</b>supported function that (hopefully) will 'pad' a series.<br><br></div><div>If you have x(lat,lon,time) .... it will have to be reordered because the function currently pad only the leftmost dimension.<br><br></div><div>load "dim_pad.ncl"<br></div><div><br> .....<br></div><div> xr = x(time|:,lat|:,lon|:)<br> <wbr> <br> X = <b>dim_pad</b>(xr, <b>12, 0</b>) ; xr[<b>164</b>,nlat,mlon] ===> dim_pad(xr,12, 0) ===> X[<b>168</b> ][nlat][mlon]]<br><br></div></div></div></div><div> x_clm = <b>clmMonTLL</b>(X) ; <b>(12,lat,lon)</b><br> printVarSummary(x_clm)<br> delete([/X, xr/]) ; delete temporary/work arrays </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 13, 2017 at 1:55 PM, Debasish Hazra <span dir="ltr"><<a href="mailto:debasish.hazra5@gmail.com" target="_blank">debasish.hazra5@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="border-width:0px 0px 15px;border-style:solid;border-color:transparent;margin:0px;padding:0px;text-align:left;color:rgb(0,0,0);text-transform:none;line-height:12pt;text-indent:0px;letter-spacing:normal;font-family:courier;font-size:13.33px;font-style:normal;word-spacing:0px;background-color:rgb(255,255,255)"><font face="times new roman,serif">Hi,</font></div><div style="border-width:0px 0px 15px;border-style:solid;border-color:transparent;margin:0px;padding:0px;text-align:left;color:rgb(0,0,0);text-transform:none;line-height:12pt;text-indent:0px;letter-spacing:normal;font-family:courier;font-size:13.33px;font-style:normal;word-spacing:0px;background-color:rgb(255,255,255)"><font face="Times New Roman">I have 14 years of monthly satelitte data, but there are some missing months in between (total 164 files, inplace of 168). I am trying to calculate monthly climatology and anomaly for each of the months. But as I am using either clmMonLLT or calcMonAnomLLT it needs "time dimension must be multiple of 12". Is there any other function available to calculate anomalies when time dimension is not exactly divisible by 12.</font></div><div style="border-width:0px 0px 15px;border-style:solid;border-color:transparent;margin:0px;padding:0px;text-align:left;color:rgb(0,0,0);text-transform:none;line-height:12pt;text-indent:0px;letter-spacing:normal;font-family:courier;font-size:13.33px;font-style:normal;word-spacing:0px;background-color:rgb(255,255,255)"><font face="Times New Roman">Thanks.</font></div><span class="HOEnZb"><font color="#888888"><div style="border-width:0px 0px 15px;border-style:solid;border-color:transparent;margin:0px;padding:0px;text-align:left;color:rgb(0,0,0);text-transform:none;line-height:12pt;text-indent:0px;letter-spacing:normal;font-family:courier;font-size:13.33px;font-style:normal;word-spacing:0px;background-color:rgb(255,255,255)"><font face="Times New Roman">Debasish</font></div><div style="border-width:0px 0px 15px;border-style:solid;border-color:transparent;margin:0px;padding:0px;text-align:left;color:rgb(0,0,0);text-transform:none;line-height:12pt;text-indent:0px;letter-spacing:normal;font-family:courier;font-size:13.33px;font-style:normal;word-spacing:0px;background-color:rgb(255,255,255)"><font face="Times New Roman"></font><br></div><div style="border-width:0px 0px 15px;border-style:solid;border-color:transparent;margin:0px;padding:0px;text-align:left;color:rgb(0,0,0);text-transform:none;line-height:12pt;text-indent:0px;letter-spacing:normal;font-family:courier;font-size:13.33px;font-style:normal;word-spacing:0px;background-color:rgb(255,255,255)"><br></div><div style="border-width:0px 0px 15px;border-style:solid;border-color:transparent;margin:0px;padding:0px;text-align:left;color:rgb(0,0,0);text-transform:none;line-height:12pt;text-indent:0px;letter-spacing:normal;font-family:courier;font-size:13.33px;font-style:normal;word-spacing:0px;background-color:rgb(255,255,255)"><font face="Times New Roman"></font><br></div></font></span></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>