Ignore:
Timestamp:
06/27/06 17:47:06 (18 years ago)
Author:
pinsard
Message:

add $ in Calendar, Grid, Interpolation, Obsolete and Postscript *.pro files, add svn:keywords Id to all these files, some improvements in header

File:
1 edited

Legend:

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

    r111 r118  
    752752            </h4> 
    753753         
    754           <div class="comments"> np0 elements vector. longitudes and latitudes of np0 points P0 </div> 
     754          <div class="comments"></div> 
    755755             
    756756            <h4 id="_Map_npoints_param_lat0">lat0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    757                
    758                
    759                
    760                
     757              <span class="attr">in</span> 
     758               
     759               
     760              <span class="attr">required</span> 
    761761               
    762762               
     
    765765            </h4> 
    766766         
    767           <div class="comments"></div> 
     767          <div class="comments">  
     768 np0 elements vector. longitudes and latitudes of np0 points P0  
     769</div> 
    768770             
    769771            <h4 id="_Map_npoints_param_lon1">lon1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     
    778780            </h4> 
    779781         
    780           <div class="comments">  np1 elements vector. longitude and latitude of np1 points P1  
    781 </div> 
     782          <div class="comments"></div> 
    782783             
    783784            <h4 id="_Map_npoints_param_lat1">lat1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    784                
    785                
    786                
    787                
     785              <span class="attr">in</span> 
     786               
     787               
     788              <span class="attr">required</span> 
    788789               
    789790               
     
    792793            </h4> 
    793794         
    794           <div class="comments"></div> 
     795          <div class="comments">   
     796 np1 elements vector. longitude and latitude of np1 points P1  
     797</div> 
    795798             
    796799 
     
    826829            </h4> 
    827830         
    828             <div class="comments"> = if set, inputs and angular outputs are in radians, otherwise 
     831            <div class="comments"> if set, inputs and angular outputs are in radians, otherwise 
    829832degrees.</div> 
    830833             
     
    842845            <div class="comments"> If given, return the distance between the two points 
    843846calculated using the given radius. 
    844        Default value is the earth radius : 6378206.4d0</div> 
     847 Default value is the earth radius : 6378206.4d0 
     848</div> 
    845849             
    846850            <h4 id="_Map_npoints_keyword_MIDDLE">MIDDLE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     
    868872            </h4> 
    869873         
    870             <div class="comments">:If given,then Map_nPoints returns the distances between 
     874            <div class="comments"> If given,then Map_nPoints returns the distances between 
    871875       number n of P0 points and number n of P1 points (in that case, 
    872876       np0 and np1 must be equal). 
     
    876880 
    877881          <h3>Examples</h3><div class="value">  
    878 Result = Map_nPoints(lon0, lat0, lon1, lat1) 
    879  
    880  
    881 IDL> print, $ 
    882 map_npoints([-105.15,1],[40.02,1],[-0.07,100,50],[51.30,20,0]) 
     882 IDL> Result = Map_nPoints(lon0, lat0, lon1, lat1) 
     883 
     884 
     885 IDL> print, $ 
     886 map_npoints([-105.15,1],[40.02,1],[-0.07,100,50],[51.30,20,0]) 
    883887       7551369.3       5600334.8 
    884888       12864354.       10921254. 
    885889       14919237.       5455558.8 
    886890 
    887 IDL> lon0 = [-10, 20, 100] 
    888 IDL> lat0 = [0, -10, 45] 
    889 IDL> lon1 = [10, 60, 280] 
    890 IDL> lat1 = [0, 10, 45] 
    891 IDL> dist = map_npoints(lon0, lat0, lon1, lat1, azimuth = azi) 
    892 IDL> help, dist, azi 
    893 DIST            DOUBLE    = Array[3, 3] 
    894 AZI             DOUBLE    = Array[3, 3] 
    895 IDL> print, dist[4*lindgen(3)], azi[4*lindgen(3)] 
     891 IDL> lon0 = [-10, 20, 100] 
     892 IDL> lat0 = [0, -10, 45] 
     893 IDL> lon1 = [10, 60, 280] 
     894 IDL> lat1 = [0, 10, 45] 
     895 IDL> dist = map_npoints(lon0, lat0, lon1, lat1, azimuth = azi) 
     896 IDL> help, dist, azi 
     897 DIST            DOUBLE    = Array[3, 3] 
     898 AZI             DOUBLE    = Array[3, 3] 
     899 IDL> print, dist[4*lindgen(3)], azi[4*lindgen(3)] 
    896900       2226414.0       4957944.5       10018863. 
    897901       90.000000       64.494450   4.9615627e-15 
    898 IDL> dist = map_npoints(lon0, lat0, lon1, lat1, azimuth = azi, /two_by_two) 
    899 IDL> help, dist, azi 
    900 DIST            DOUBLE    = Array[3] 
    901 AZI             DOUBLE    = Array[3] 
    902 IDL> print, dist, azi 
     902 IDL> dist = map_npoints(lon0, lat0, lon1, lat1, azimuth = azi, /two_by_two) 
     903 IDL> help, dist, azi 
     904 DIST            DOUBLE    = Array[3] 
     905 AZI             DOUBLE    = Array[3] 
     906 IDL> print, dist, azi 
    903907       2226414.0       4957944.5       10018863. 
    904908       90.000000       64.494450   4.9615627e-15 
    905 IDL> print, map_2points(lon0[0], lat0[0], lon1[0], lat1[0]) 
     909 IDL> print, map_2points(lon0[0], lat0[0], lon1[0], lat1[0]) 
    906910       20.000000       90.000000 
    907 IDL> print, map_npoints(lon0[0], lat0[0], lon1[0], lat1[0], azi=azi)/6378206.4d0 / !dtor, azi 
     911 IDL> print, map_npoints(lon0[0], lat0[0], lon1[0], lat1[0], azi=azi)/6378206.4d0 / !dtor, azi 
    908912       20.000000 
    909913       90.000000 
    910914 
    911 IDL> lon0 = [-10, 20, 100] 
    912 IDL> lat0 = [0, -10, 45] 
    913 IDL> lon1 = [10, 60, 280] 
    914 IDL> lat1 = [0, 10, 45] 
    915 IDL> mid = map_npoints(lon0, lat0, lon1, lat1, /middle, /two_by_two) 
    916 IDL> print, reform(mid[0,*]), reform(mid[1,*]) 
     915 IDL> lon0 = [-10, 20, 100] 
     916 IDL> lat0 = [0, -10, 45] 
     917 IDL> lon1 = [10, 60, 280] 
     918 IDL> lat1 = [0, 10, 45] 
     919 IDL> mid = map_npoints(lon0, lat0, lon1, lat1, /middle, /two_by_two) 
     920 IDL> print, reform(mid[0,*]), reform(mid[1,*]) 
    917921       0.0000000       40.000000       190.00000 
    918922       0.0000000  -1.5902773e-15       90.000000 
    919 IDL> print, (map_2points(lon0[0], lat0[0], lon1[0], lat1[0], npath = 3))[*, 1] 
     923 IDL> print, (map_2points(lon0[0], lat0[0], lon1[0], lat1[0], npath = 3))[*, 1] 
    920924       0.0000000       0.0000000 
    921 IDL> print, (map_2points(lon0[1], lat0[1], lon1[1], lat1[1], npath = 3))[*, 1] 
     925 IDL> print, (map_2points(lon0[1], lat0[1], lon1[1], lat1[1], npath = 3))[*, 1] 
    922926       40.000000  -1.5902773e-15 
    923 IDL> print, (map_2points(lon0[2], lat0[2], lon1[2], lat1[2], npath = 3))[*, 1] 
     927 IDL> print, (map_2points(lon0[2], lat0[2], lon1[2], lat1[2], npath = 3))[*, 1] 
    924928       190.00000       90.000000 
    925929</div> 
    926930          <h3>Version history</h3> 
    927931           
    928            
     932          <h4>Version</h4><div class="value"> $Id$ 
     933</div> 
    929934          <h4>History</h4><div class="value"> 
    930935       Based on the IDL function map_2points.pro,v 1.6 2001/01/15 
    931936 Sebastien Masson (smasson@lodyc.jussieu.fr) 
    932                   October 2003</div> 
     937                  October 2003 
     938</div> 
    933939           
    934940           
Note: See TracChangeset for help on using the changeset viewer.