<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font face="Calibri,sans-serif" size="2" style="font-size:10pt;" color="#2672EC"><b>Hi Zalib,</b></font><div><font face="Calibri,sans-serif" size="2" style="font-size:10pt;" color="#2672EC"><b><br></b></font></div><div><font face="Calibri,sans-serif" size="2" style="font-size:10pt;" color="#2672EC"><b>You could try with..</b></font></div><div><font face="Calibri,sans-serif" size="2" style="font-size:10pt;" color="#2672EC"><b><br></b></font></div><div><font face="Calibri,sans-serif" size="2" style="font-size:10pt;" color="#2672EC"><b>define u=ave(ugrd,t=1,t=5)</b></font></div><div><font face="Calibri,sans-serif" size="2" style="font-size:10pt;" color="#2672EC"><b>define v=ave(vgrd,t=1,t=5)</b></font></div><div><font face="Calibri,sans-serif" size="2" style="font-size:10pt;" color="#2672EC"><b><br></b></font></div><div><font face="Calibri,sans-serif" size="2" style="font-size:10pt;" color="#2672EC"><b>d u;v<br id="FontBreak"></b></font><br><br><span class="ecxHOEnZb ecxadL"><font style="" color="#888888">Julio N. Martínez Sánchez<br>M.C. en Oceanografía Física<br>Consultor en Sitio</font></span><div><font color="#888888">Subgerencia de Pronóstico a Mediano y Largo Plazo</font></div><div><font color="#888888">Gerencia de Meteorología y Climatología</font></div><div><font color="#888888">Servicio Meteorológico Nacional</font></div><div><font color="#888888">Ext. 3156</font></div><br><br><div><hr id="stopSpelling">Date: Mon, 24 Nov 2014 19:31:18 +0500<br>From: zaib.envsc@gmail.com<br>To: gradsusr@gradsusr.org<br>Subject: [gradsusr] how to display average wind speed and direction<br><br><div dir="ltr">Hi there,<div><br></div><div>i am trying to display five days average wind speed and direction on map by following commands </div><div><br></div><div><div>'sdfopen d:/jra/dec2011/<a href="http://dec2011.nc" target="_blank">dec2011.nc</a>'</div><div>'set display color white'</div><div>'c'</div><div>'set z 7'</div><div>'set timelab off'</div><div>'set grads off'</div><div>'set grid off'</div><div>'set mpdset hires'</div><div>'set gxout vector'</div><div>'set t 72 92'</div><div>'define wspd=ave(mag(ugrd,vgrd),t=72,t=92))'</div><div>'d wspd'</div><div><br></div></div><div>but output is contours, while i need wind vectors, can anyone improve this script? i guess i need to average wind direction too but they can be displayed together as wind vector.</div><div><br></div><div><br></div><div>Regards</div><div>Zaib</div></div>
<br>_______________________________________________
gradsusr mailing list
gradsusr@gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr</div></div>                                            </div></body>
</html>