NCEPLIBS-w3emc 2.12.0
Loading...
Searching...
No Matches
w3fc06.f File Reference

Wind dir and spd to Earth U,V components. More...

Go to the source code of this file.

Functions/Subroutines

subroutine w3fc06 (dir, spd, u, v)
 Given the wind direction and speed, compute Earth-oriented (true) wind components.
 

Detailed Description

Wind dir and spd to Earth U,V components.

Author
John Stackpole
Date
1981-12-30

Definition in file w3fc06.f.

Function/Subroutine Documentation

◆ w3fc06()

subroutine w3fc06 (   dir,
  spd,
  u,
  v 
)

Given the wind direction and speed, compute Earth-oriented (true) wind components.

Input direction at the pole point must be consistent with WMO conventions, and output components will follow those conventions. (See office note 241 for WMO definition.)

Program history log:

  • John Stackpole 1981-12-30
  • Ralph Jones 1991-03-06 Change to cray cft77 fortran.
Parameters
[in]DIRREAL*4 Wind direction, degrees
[in]SPDREAL*4 Wind speed, any units
[out]UREAL*4 Earth-oriented U-component.
[out]VREAL*4 Earth-oriented V-component.
Note
This code will not vectorize on cray, you could put the four lines in your code with a couple of do loops.
Author
John Stackpole
Date
1981-12-30

Definition at line 26 of file w3fc06.f.