<div dir="ltr">mstd = dim_stddev_n_Wrap(Methanes,1) ; mstd(lat)<br><br>---<br><a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/dim_stddev_n_Wrap.shtml">https://www.ncl.ucar.edu/Document/Functions/Contributed/dim_stddev_n_Wrap.shtml</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 5, 2014 at 3:12 PM, Verena Lili <span dir="ltr"><<a href="mailto:verena.prick@gmail.com" target="_blank">verena.prick@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Denis,<div><br></div><div>I meant something like this (attached). </div><div>My data is zonal mean Methanes (lat,time).</div><div>How could i determine the standard deviation of the trend each latitudes.</div><div>Thanks</div><div class="HOEnZb"><div class="h5"><div><br></div><div><br><br>On Friday, September 5, 2014, Dennis Shea <<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>> 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><div><div><div><div><div><div>This question is a bit ambiguous.<br><br></div>Assuming y(time,lat,lon) ; (ntim,nlat,mlon)<br><br></div> yNew = dtrend_n(y, True, 0) ; yNew=dtrend(y(lat|:,lon|:,time|:), True)<br><br></div> slope = <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/onedtond.shtml" target="_blank"><strong>onedtond</strong></a>(yNew@slope,(/nlat,nlon/)) ; slope(nlat,mlon)<br></div> copy_VarCoords(y(0,:,:), slope)<br></div><div> slope@long_name = "..."<br></div><div> slope@units = "..."<br></div> printVarSummary(slope)<br><br></div>; arithmetic stddev<br><br></div> slope_std = stddev(slope)<br><br></div>The weighted stddev could also be determined by weight the grid by (say) cos(lat*rad)<br><br><br><div><div><div><div><div><div> <br><br> <br></div></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Aug 30, 2014 at 2:51 PM, Verena Lili <span dir="ltr"><<a>verena.prick@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hallo,<div><br></div>Anybody try to have a standard deviation of the trend using "dtrend" function? I'd like to plot the trend values together with the their stdev. Thank you..,<div><br></div><div>Cheers</div><span><font color="#888888">
<br><br>-- <br><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Regards,</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Dr. Verena.</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><font face="verdana, sans-serif">School of Marine and Atmospheric Sciences<br>Stony Brook University</font><div><span style="font-family:verdana,sans-serif">homepage: </span><a href="http://www.somas.stonybrook.edu/" target="_blank">http://www.somas.stonybrook.edu/</a></div>
</div></div><br>
</font></span><br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br>-- <br><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Regards,</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Dr. Verena.</div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><font face="verdana, sans-serif">School of Marine and Atmospheric Sciences<br>Stony Brook University</font><div><span style="font-family:verdana,sans-serif">homepage: </span><a href="http://www.somas.stonybrook.edu/" target="_blank">http://www.somas.stonybrook.edu/</a></div></div></div><br>
</div></div></blockquote></div><br></div>