Home > atmlab > geophysics > z2p_simple.m

z2p_simple

PURPOSE ^

Z2P_SIMPLE Simple conversion from altitudes to pressures

SYNOPSIS ^

function p = z2p_simple( z )

DESCRIPTION ^

 Z2P_SIMPLE   Simple conversion from altitudes to pressures

    Altitudes are converted to pressures by assuming that the pressure
    at 0 m is 1000 hPa, and that the pressure drops with a factor of 10
    for each 16 km increase in altitude.

 FORMAT   p = z2p_simple( z )
        
 OUT   p   Pressure [Pa]
 IN    z   Altitudes [m]

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

z2p_simple.m

SOURCE CODE ^

0001 % Z2P_SIMPLE   Simple conversion from altitudes to pressures
0002 %
0003 %    Altitudes are converted to pressures by assuming that the pressure
0004 %    at 0 m is 1000 hPa, and that the pressure drops with a factor of 10
0005 %    for each 16 km increase in altitude.
0006 %
0007 % FORMAT   p = z2p_simple( z )
0008 %
0009 % OUT   p   Pressure [Pa]
0010 % IN    z   Altitudes [m]
0011 
0012 % 2004-09-26   Created by Patrick Eriksson.
0013 
0014 function p = z2p_simple( z )
0015 
0016 p = 10.^( 5 - z/16e3 );

Generated on Mon 15-Sep-2014 13:31:28 by m2html © 2005