script for wind direction

Jon Hubertz hubertz at EARTHLINK.NET
Fri Nov 11 14:04:28 EST 2005


radians times 180/pi = degrees,  east equals 0 radians, north equals pi/2
radians, etc.

----- Original Message -----
From: "Michael Maxwell" <kd5giv at YAHOO.COM>
To: <GRADSUSR at LIST.CINECA.IT>
Sent: Friday, November 11, 2005 1:29 PM
Subject: Re: script for wind direction


> Hello Parthasarathi,
>
> There is a fuction named atan2(). It is built into
> grads and the way you use it is atan2(u,v) and that is
> wind direction in radians. I don't know how to change
> it to degrees though, or direction such as north,
> south, east, and west.
>
> --- "Dr. Parthasarathi Mukhopadhyay"
> <mpartha at TROPMET.RES.IN> wrote:
>
>> Hi all,
>> Is there any script (.gs) by which wind direction
>> could be obtained by giving u and v?
>> Thanks,
>> Partha
>> --------
>>
>> ------
>> DR. PARTHASARATHI MUKHOPADHYAY
>> Forecasting Research Division
>> Indian Institute of Tropical Meteorology
>> Dr. Homi Bhabha Road
>> Pashan
>> Pune-411008
>> INDIA
>>
>> Telephone:+91 20 25893600 (Office)
>> FAX       +91 20 25893825 (Office)
>> Email:mpartha at tropmet.res.in
>>       mpartha_in at yahoo.com
>> -----------------------------
>>
>
>
> KD5GIV Ham Radio call sign.
> Michael Maxwell.
> Fort Worth, Tx, USA.
> Forcaster In Charge of USAweather.net DFW office
> kd5giv at yahoo.com
>
>
>
> __________________________________
> Start your day with Yahoo! - Make it your home page!
> http://www.yahoo.com/r/hs



More information about the gradsusr mailing list