[gradsusr] how to display average wind speed and direction

Julio Martinez julioms24 at hotmail.com
Mon Nov 24 10:39:29 EST 2014


Hi Zalib,
You could try with..
define u=ave(ugrd,t=1,t=5)define v=ave(vgrd,t=1,t=5)
d u;v

Julio N. Martínez Sánchez
M.C. en Oceanografía Física
Consultor en SitioSubgerencia de Pronóstico a Mediano y Largo PlazoGerencia de Meteorología y ClimatologíaServicio Meteorológico NacionalExt. 3156

Date: Mon, 24 Nov 2014 19:31:18 +0500
From: zaib.envsc at gmail.com
To: gradsusr at gradsusr.org
Subject: [gradsusr] how to display average wind speed and direction

Hi there,
i am trying to display five days average wind speed and direction on map by following commands 
'sdfopen d:/jra/dec2011/dec2011.nc''set display color white''c''set z 7''set timelab off''set grads off''set grid off''set mpdset hires''set gxout vector''set t 72 92''define wspd=ave(mag(ugrd,vgrd),t=72,t=92))''d wspd'
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.

RegardsZaib

_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20141124/dba39cf1/attachment.html 


More information about the gradsusr mailing list