[gradsusr] Visualize Wind Vectors

Daniele Gandini daniele.gandini at arpa.piemonte.it
Fri Oct 15 05:52:14 EDT 2010


Hi Nena.

Here a simple formula to have U and V in m/s from wind speed (velv) and direction (dirv):

 'set gxout barb'
 'd -velv*cos((dirv-90)/180*3.14);-velv*cos(dirv/180*3.14)'

To display these data with OACRES function first you must create a base grid file
with a "dummy" constant value for example and then you can interpolate wind data:

  'vel=oacres(dummy.1,velv.2,4,3,3,1)'
  'd vel'
  'run cbarn.gs'

Good luck.

Daniele

----- Messaggio originale -----
Da: "Nena Carina Española" <nena at asti.dost.gov.ph>
A: "GrADS Users Forum" <gradsusr at gradsusr.org>
Inviato: Venerdì, 15 ottobre 2010 5:32:26
Oggetto: [gradsusr] Visualize Wind Vectors


Hello Guys! 

I am trying to create a visualization of the wind vectors. I am not sure where to begin as my data is not split into U and V components. Here's a snippet of the sample data I have. These are from 24 weather stations in the Philippines. Can I also interpolate these scattered data to create a gridded data using the OACRES function? 



	Station ID 	Latitude 	Longitude 	Wind Speed (m/s) 	Wind Direction (degrees) 
	12 	15.721279 	121.522293 	0.8 	204 
	70 	7.135233 	124.814758 	2.21 	148 
	72 	6.960916 	126.212082 	6.34 	286 
	73 	9.282162 	123.244572 	9.6 	20 
	74 	8.997093 	124.883595 	1.54 	85 
	75 	9.217067 	124.713134 	3.84 	89 
Thanks, 

Nena 


-- 
GRID OPERATIONS TEAM 
Advanced Science & Technology Institute 
Department Of Science & Technology 
ASTI Bldg., C.P. Garcia Ave., Technology Park Complex 
U.P. Campus, Diliman, Quezon City, PHILIPPINES 1101 
Tel No: +63 2 4269760 
Email: nena at asti.dost.gov.ph 
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr




More information about the gradsusr mailing list