Home > atmlab > forwardmodel > za2geomztan.m

za2geomztan

PURPOSE ^

------------------------------------------------------------------------

SYNOPSIS ^

function z_tan = za2geomztan(r_geoid,z_plat,za);

DESCRIPTION ^

------------------------------------------------------------------------
 NAME:    za2geomztan

          Converts a vector of zenith angles to geometrical tangent altitudes.

 FORMAT:  z_tan = za2geomztan(r_geoid,z_plat,za)

 RETURN:  z_tan     tangent altitudes corresponding to za.
 IN:      r_geoid   Geoid radius.
          z_plat    Platform altitude (above geoid).
          za        zenith angles. 
------------------------------------------------------------------------

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

za2geomztan.m

SOURCE CODE ^

0001 %------------------------------------------------------------------------
0002 % NAME:    za2geomztan
0003 %
0004 %          Converts a vector of zenith angles to geometrical tangent altitudes.
0005 %
0006 % FORMAT:  z_tan = za2geomztan(r_geoid,z_plat,za)
0007 %
0008 % RETURN:  z_tan     tangent altitudes corresponding to za.
0009 % IN:      r_geoid   Geoid radius.
0010 %          z_plat    Platform altitude (above geoid).
0011 %          za        zenith angles.
0012 %------------------------------------------------------------------------
0013 
0014 % HISTORY: 2004-09-11   Adapted from AMI function za2geomztan
0015 
0016 function z_tan =  za2geomztan(r_geoid,z_plat,za);
0017 
0018 
0019 z_tan = (r_geoid+z_plat)*sin(constants('DEG2RAD')*za) - r_geoid;
0020 
0021

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