<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Amina,
<div><br>
</div>
<div>I f your precipitation variable is named precip, then you could do:</div>
<div><br>
</div>
<div>Precip_StDev = sqrt(ave(pow(precip , 2), t = 1 , t = nt))</div>
<div><br>
<div>where, sort function is the square root</div>
<div>ave function is average over time dimension in this case.</div>
<div>pow function is the power function to square precip variable.</div>
<div><br>
</div>
<div>Hope this helps.</div>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">Hosmay Lopez<br>
<span style="font-family:verdana,arial,sans-serif; background-color:rgb(255,255,255)">UM/CIMAS/RSMAS NOAA/AOML/PHOD</span><br style="font-family:verdana,arial,sans-serif; background-color:rgb(255,255,255)">
<span style="font-family:verdana,arial,sans-serif; background-color:rgb(255,255,255)">4301 Rickenbacker Causeway,</span><br style="font-family:verdana,arial,sans-serif; background-color:rgb(255,255,255)">
<span style="font-family:verdana,arial,sans-serif; background-color:rgb(255,255,255)">Miami, FL 33149, USA</span><br style="font-family:verdana,arial,sans-serif; background-color:rgb(255,255,255)">
<span style="font-family:verdana,arial,sans-serif; background-color:rgb(255,255,255)">Phone: (305) 361-4329</span><br>
<br>
</div>
</div>
</div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF646802" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> gradsusr-bounces@gradsusr.org [gradsusr-bounces@gradsusr.org] on behalf of Amina Khan [k.amina93@yahoo.com]<br>
<b>Sent:</b> Monday, August 31, 2015 1:35 PM<br>
<b>To:</b> gradsusr@gradsusr.org<br>
<b>Subject:</b> [gradsusr] how to compute standard deviation in grads<br>
</font><br>
</div>
<div></div>
<div>
<div style="color:#000; background-color:#fff; font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size:16px">
<div id="yui_3_16_0_1_1441041602162_2781">Hi all,&nbsp;</div>
<div id="yui_3_16_0_1_1441041602162_2781" dir="ltr">I want to compute standard deviation from nc file having precipitation data.</div>
<div id="yui_3_16_0_1_1441041602162_2781" dir="ltr">There are also some undefined values in file. How can i do this. Please guide me.</div>
<div id="yui_3_16_0_1_1441041602162_2781" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1441041602162_2781" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1441041602162_2781" dir="ltr">Thanks</div>
<div id="yui_3_16_0_1_1441041602162_2781" dir="ltr">Amina</div>
<div id="yui_3_16_0_1_1441041602162_2781" dir="ltr"><br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>