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

Compute standard pressure, temp, pot temp. More...

Go to the source code of this file.

Functions/Subroutines

subroutine w3fa04 (height, press, temp, theta)
 Computes the standard pressure, temperature, and poten- tial temperature given the height in meters (<32 km).
 

Detailed Description

Compute standard pressure, temp, pot temp.

Author
James McDonell
Date
1974-06-01

Definition in file w3fa04.f.

Function/Subroutine Documentation

◆ w3fa04()

subroutine w3fa04 (   height,
  press,
  temp,
  theta 
)

Computes the standard pressure, temperature, and poten- tial temperature given the height in meters (<32 km).

For the pressure and temperature the results duplicate the values in the U.S. standard atmosphere (1962), 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-07-05 Change to ibm vs fortran.
  • Ralph Jones 1990-04-27 Change to cray cft77 fortran.
Parameters
[in]HEIGHTHeight in meters.
[out]PRESSStandard pressure in millibars.
[out]TEMPTemperature in degrees kelvin.
[out]THETAPotential temperature in degrees kelvin.
Note
Not valid for heights greater than 32 km. declare all parameters as type real*4.
Author
James McDonell
Date
1974-06-01

Definition at line 28 of file w3fa04.f.