<div dir="ltr">Thanks Sir Dennis!<div><br></div><div>-Lyndz</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 17, 2021 at 10:39 AM Dennis Shea <<a href="mailto:shea@ucar.edu">shea@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>As notes in the <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/specx_anal.shtml" target="_blank"><b>specx_anal</b></a> documentation: <br></div><div>-====<br></div><div><p>

These spectra have been normalized so that the area under the curve:

</p><blockquote>
(<i>spcx</i>(0)+<i>spcx</i>(<i>N</i>/2-1))*(df/2) +
SUM{<i>spcx</i>(1:N/2-2)*df}
</blockquote>

equals the variance of the detrended series, where
df=(1/<i>N</i>)=frequency spacing.<p>

The units are variance/(unit frequency interval).</p><p>====</p><p>You know the frequencies corresponding to  5-to-10 days.</p><p><br></p><p>5-to-10day variance:   var_510 = SUM{<i>spcx</i>('f5->f10')*df} <br></p><p><br></p><p>fractional_variance = var_510/total_variance<br></p><p><br></p><p><br></p></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 16, 2021 at 2:39 AM Lyndz via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Dear NCL-experts,</div><div><br></div><div>I have a sample data that I attached here and below is the script that I used to plot the spectra.</div><div><br></div><div>I found significant peaks between 5-10 (days).</div><div><br></div><div>I would like to ask how to estimate the fractional variance of total rainfall variability explained by this 5-10 days ISO. Im not sure if this can be estimated from the spectra. If not, any suggestions on how to do this NCL?</div><div><br></div><div><br></div><div>-Lyndz</div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>
</blockquote></div>