[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #IKQ-879398]: caluclating wind direction from U and V components

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #IKQ-879398]: caluclating wind direction from U and V components
  • Date: Mon, 25 Jun 2007 13:02:42 -0600

Hi Rich,

If you're using NCO operators like ncap, then the atan() function returns its 
result in radians, not degrees, so you should adjust your formula 
appropriately.  That seems like a reasonable way to do it.  I think this would 
not necessarily be a good question for the netcdfgroup mailing list, because 
it's not really about netCDF, but about converting from cartesian to polar 
coordinates. There also may be some knowledge needed of whether the u and v 
components of wind speed are relative to the grid or relative to true north and 
true east.

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: IKQ-879398
Department: Support netCDF
Priority: Normal
Status: Closed