Ignore:
Timestamp:
07/12/06 11:52:09 (18 years ago)
Author:
smasson
Message:

update documentation and .idlwave_catalog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_html_output/Interpolation/ll_narcs_distances.html

    r121 r138  
    328328table.variables td.image { width: 64px; } 
    329329 
    330 div#file_comments {  
     330div#file_comments { white-space: pre;  
    331331  margin: 2em; 
    332332  font-size: 80%; 
     
    698698      <div id="file_comments"> 
    699699 This function returns the longitude and latitude [lon, lat] of 
    700 a point a given arc distance (-pi <= Arc_Dist <= pi), and azimuth (Az), 
    701 from a specified location Lon0, lat0. 
    702        Same as LL_ARC_DISTANCE but for n points without do loop. 
    703  
    704  
    705 Formula from Map Projections - a working manual.  USGS paper 
    706 1395.  Equations (5-5) and (5-6). 
     700 a point a given arc distance (-pi <= Arc_Dist <= pi), and azimuth (Az), 
     701 from a specified location Lon0, lat0. 
     702 Same as LL_ARC_DISTANCE but for n points without do loop. 
     703 
     704 Formula from Map Projections - a working manual.  USGS paper 
     705 1395. Equations (5-5) and (5-6). 
    707706</div> 
    708707 
     
    729728</div> 
    730729 
    731           <h3>Return value</h3><div class="value"> 
    732  a (2, n) array containing the  
    733        longitude / latitude of the resultings points. Values are in radians 
    734        unless the keyword DEGREES is set. 
     730          <h3>Return value</h3><div class="preformat"> 
     731 a (2, n) array containing the longitude/latitude of the resultings points. 
     732 Values are in radians unless the keyword DEGREES is set. 
    735733</div> 
    736734 
     
    750748            </h4> 
    751749         
    752           <div class="comments">  An array containing the longitude of the starting point. 
    753              Values are assumed to be in radians unless the keyword 
    754              DEGREES is set.</div> 
     750          <div class="comments"> 
     751 An array containing the longitude of the starting point. 
     752 Values are assumed to be in radians unless the keyword DEGREES is set. 
     753</div> 
    755754             
    756755            <h4 id="_LL_NARCS_DISTANCES_param_lat0">lat0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     
    765764            </h4> 
    766765         
    767           <div class="comments">  An array containing the latitude of the starting point. 
    768              Values are assumed to be in radians unless the keyword 
    769              DEGREES is set.</div> 
     766          <div class="comments"> 
     767 An array containing the latitude of the starting point. 
     768 Values are assumed to be in radians unless the keyword DEGREES is set. 
     769</div> 
    770770             
    771771            <h4 id="_LL_NARCS_DISTANCES_param_arc_dist">arc_dist&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     
    780780            </h4> 
    781781         
    782           <div class="comments">  The arc distance from Lon_lat0. The value must be between 
     782          <div class="comments"> 
     783 The arc distance from Lon_lat0. The value must be between 
    783784 -!PI and +!PI. To express distances in arc units, divide 
    784785  by the radius of the globe expressed in the original units. 
    785786  For example, if the radius of the earth is 6371 km, divide 
    786   the distance in km by 6371 to obtain the arc distance.    </div> 
     787  the distance in km by 6371 to obtain the arc distance. 
     788</div> 
    787789             
    788790            <h4 id="_LL_NARCS_DISTANCES_param_az">az&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     
    797799            </h4> 
    798800         
    799           <div class="comments">   The azimuth from Lon_lat0. The value is assumed to be in 
    800   radians unless the keyword DEGREES is set. 
     801          <div class="comments"> 
     802 The azimuth from Lon_lat0. The value is assumed to be in 
     803 radians unless the keyword DEGREES is set. 
    801804</div> 
    802805             
     
    819822            </h4> 
    820823         
    821             <div class="comments">  Set this keyword to express all measurements and 
    822   results in degrees. 
     824            <div class="comments"> 
     825 Set this keyword to express all measurements and results in degrees. 
    823826</div> 
    824827             
    825828           
    826829 
    827           <h3>Examples</h3><div class="value">  
     830          <h3>Examples</h3><div class="preformat"> 
    828831 IDL> Lon_lat0 = [1.0, 2.0]; Initial point specified in radians 
    829832 IDL> Arc_Dist = 2.0; Arc distance in radians 
     
    833836       2.91415    -0.622234 
    834837 
    835 IDL> lon0 = [-10, 20, 100] 
    836 IDL> lat0 = [0, -10, 45] 
    837 IDL> lon1 = [10, 60, 280] 
    838 IDL> lat1 = [0, 10, 45] 
    839 IDL> dist = map_npoints(lon0, lat0, lon1, lat1, azimuth = azi, /two_by_two) 
    840 IDL> earthradius = 6378206.4d0 
    841 IDL> res = ll_narcs_distances(lon0, lat0, dist/earthradius, azi, /degrees) 
    842 IDL> print, reform(res[0, *]) 
     838 IDL> lon0 = [-10, 20, 100] 
     839 IDL> lat0 = [0, -10, 45] 
     840 IDL> lon1 = [10, 60, 280] 
     841 IDL> lat1 = [0, 10, 45] 
     842 IDL> dist = map_npoints(lon0, lat0, lon1, lat1, azimuth = azi, /two_by_two) 
     843 IDL> earthradius = 6378206.4d0 
     844 IDL> res = ll_narcs_distances(lon0, lat0, dist/earthradius, azi, /degrees) 
     845 IDL> print, reform(res[0, *]) 
    843846       10.000000       60.000000       280.00000 
    844 IDL> print, reform(res[1, *]) 
    845           1.1999280e-15       10.000000       45.000000 
     847 IDL> print, reform(res[1, *]) 
     848           1.1999280e-15       10.000000       45.000000 
    846849</div> 
    847850          <h3>Version history</h3> 
    848851           
    849           <h4>Version</h4><div class="value"> $Id: ll_narcs_distances.pro 118 2006-06-27 15:47:06Z pinsard $ 
    850 </div> 
    851           <h4>History</h4><div class="value"> 
     852          <h4>Version</h4><div class="preformat"> $Id: ll_narcs_distances.pro 136 2006-07-10 15:20:19Z pinsard $ 
     853</div> 
     854          <h4>History</h4><div class="preformat"> 
    852855       Based on the IDL function ll_arc_distance.pro,v 1.11 2003/02/03 
    853856 Sebastien Masson (smasson@lodyc.jussieu.fr) 
Note: See TracChangeset for help on using the changeset viewer.