<div dir="ltr">&#39;eofunc&#39; uses a covariance matrix as the basis for deriving EOFs. Consider two grid-points (stations) denoted by X and Y which have NT time steps.<br><br><pre><span style="font-family:arial,helvetica,sans-serif">   cov = SUM [(X(t)-Xave)*(Y(t)-Yave)]/NT   <br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">If either X(t) or Y(t) is missing it is not used in the product and NT is reduced appropriately.<br><br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">If NT=100 and there are (say) 5 cases where </span><span style="font-family:arial,helvetica,sans-serif">X(t) or Y(t) is missing then NT= 95 (=100-5)<br><br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">From the documentation:<br></span></pre>optEOF@pcrit = %: a float value that indicates the percentage of non-missing
points that must exist at any single point in order to be
included in the calculations. The default is 50%. 
Points that contain more than &#39;pcrit&#39;   
<a href="http://www.ncl.ucar.edu/Document/Language/fillval.shtml">missing values</a> will
be excluded from the computations. 
<div><br></div><div>HTH<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 2, 2017 at 9:52 PM, Shikha SIngh <span dir="ltr">&lt;<a href="mailto:08singhshikha@gmail.com" target="_blank">08singhshikha@gmail.com</a>&gt;</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><div>Hi,<br><br></div>It is possible to do it in MATLAB, but the missing values(NaN) create a problem. I am searching for a hack around it. <br>Any idea how NCL &#39;eofunc_Wrap&#39; handles missing values?<br><br></div>Thanks,<br></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Fri, Feb 3, 2017 at 9:58 AM, saurabh rathore <span dir="ltr">&lt;<a href="mailto:rohitsrb2020@gmail.com" target="_blank">rohitsrb2020@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hi Shikha<div dir="auto"><br></div><div dir="auto">There is straight forward MATLAB function for this analysis please give it a try I myself don&#39;t know MATLAB but I am confident that what you want is in MATLAB. Please update us also if you are able to solve your problem.</div></div><div class="m_-8868930857533918686HOEnZb"><div class="m_-8868930857533918686h5"><div class="gmail_extra"><br><div class="gmail_quote">On Feb 3, 2017 3:26 PM, &quot;Dennis Shea&quot; &lt;<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Sorry, no.<br><br></div>There are several Matlab , search the WWW.<br></div>There are also fortran codes<br><br></div>Good luck<br><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 2, 2017 at 9:13 PM, Shikha SIngh <span dir="ltr">&lt;<a href="mailto:08singhshikha@gmail.com" target="_blank">08singhshikha@gmail.com</a>&gt;</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 class="gmail_quote"><div dir="ltr"><div>Dear all,<br><br>Does NCL have a function to do Hilbert transform and complex EOF of a dataset?<span class="m_-8868930857533918686m_-4102320117624091766m_-6034576109267778762HOEnZb"><font color="#888888"><span class="m_-8868930857533918686m_-4102320117624091766m_-6034576109267778762m_-7700329695214083520gmail-HOEnZb"><font color="#888888"><br></font></span></font></span></div><span class="m_-8868930857533918686m_-4102320117624091766m_-6034576109267778762HOEnZb"><font color="#888888"><span class="m_-8868930857533918686m_-4102320117624091766m_-6034576109267778762m_-7700329695214083520gmail-HOEnZb"><font color="#888888"><div><div><div><div></div></div></div></div></font></span></font></span></div></div><span class="m_-8868930857533918686m_-4102320117624091766m_-6034576109267778762HOEnZb"><font color="#888888"><br clear="all"><br>-- <br><div class="m_-8868930857533918686m_-4102320117624091766m_-6034576109267778762m_-7700329695214083520gmail_signature"><div dir="ltr">Regards,<div><br></div><div>Shikha Singh</div><div>Scientist B,</div><div>Indian Institute of Tropical Meteorology,</div><div>Pune.</div><div><br></div><div><a href="tel:+91%2094222%2072531" value="+919422272531" target="_blank">+91 9422272531</a></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div></div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br></div></div><div class="m_-8868930857533918686gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div class="m_-8868930857533918686gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div class="h5">Regards,<div><br></div><div>Shikha Singh</div><div>Scientist B,</div><div>Indian Institute of Tropical Meteorology,</div></div></div><div>Pune, India<br></div><br></div></div></div></div>
</div>
</blockquote></div><br></div>