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

Compute standard height, temp, and pot temp. More...

Go to the source code of this file.

Functions/Subroutines

subroutine w3fa03v (press, height, temp, theta, n)
 Computes the standard height, temperature, and potential temperature given the pressure in millibars (>8.68 mb).
 

Detailed Description

Compute standard height, temp, and pot temp.

Author
James McDonell
Date
1974-06-01

Definition in file w3fa03v.f.

Function/Subroutine Documentation

◆ w3fa03v()

subroutine w3fa03v ( real, dimension(*)  press,
real, dimension(*)  height,
real, dimension(*)  temp,
real, dimension(*)  theta,
  n 
)

Computes the standard height, temperature, and potential temperature given the pressure in millibars (>8.68 mb).

For height and temperature the results duplicate the values in the U.S. standard atmosphere (l962), which is the icao standard atmosphere to 54.7487 mb (20 km) and the proposed extension to 8.68 mb (32 km). For potential temperature a value of 2/7 is used for rd/cp.

Program history log:

  • James McDonell 1974-06-01
  • Ralph Jones 1984-06-01 Change to ibm vs fortran.
  • Dennis Keyser 1992-06-29 Convert to cray cft77 fortran.
  • Ralph Jones 1994-09-13 Vectorized version to do array instead of one word.
Parameters
[in]PRESSPressure array in millibars.
[out]HEIGHTHeight array in meters.
[out]TEMPTemperature array in degrees kelvin.
[out]THETAPotential temperature array in degrees kelvin.
[out]NNumber of points in array press.
Note
Not valid for pressures less than 8.68 millibars, declare all parameters as type real.
Height, temp, theta are now all arrays, you must have arrays of size n or you will wipe out memory.
Author
James McDonell
Date
1974-06-01

Definition at line 32 of file w3fa03v.f.