Changeset 138 for trunk/SRC/Documentation/idldoc_html_output/Interpolation
- Timestamp:
- 07/12/06 11:52:09 (18 years ago)
- Location:
- trunk/SRC/Documentation/idldoc_html_output/Interpolation
- Files:
-
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/Interpolation/angle.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> north stereographic polar projection 698 <div id="file_comments"> 699 north stereographic polar projection 699 700 700 701 Compute angles between grid lines and direction of the North … … 736 737 <div class="comments"></div> 737 738 738 <h3>Return value</h3><div class=" value">739 gsinu,gcosu : sinus and cosinus of the angle 740 gsinv,gcosv between north-south direction 739 <h3>Return value</h3><div class="preformat"> 740 gsinu,gcosu : sinus and cosinus of the angle 741 gsinv,gcosv between north-south direction 741 742 gsint,gcost and the j-direction of the mesh 742 743 </div> … … 771 772 </h4> 772 773 773 <div class="comments"> 774 <div class="comments"> 774 775 </div> 775 776 … … 792 793 </h4> 793 794 794 <div class="comments"> use double precision (default is float) 795 <div class="comments"> 796 use double precision (default is float) 795 797 </div> 796 798 … … 800 802 <h3>Version history</h3> 801 803 802 <h4>Version</h4><div class="value"> $Id: angle.pro 118 2006-06-27 15:47:06Z pinsard $ 803 </div> 804 <h4>History</h4><div class="value"> 805 -------------- 804 <h4>Version</h4><div class="preformat"> $Id: angle.pro 136 2006-07-10 15:20:19Z pinsard $ 805 </div> 806 <h4>History</h4><div class="preformat"> 806 807 Original : 96-07 (O. Marti) 807 808 98-06 (G. Madec) 808 Feb 2005: IDL adaptation S. Masson 809 Feb 2005: IDL adaptation S. Masson 809 810 </div> 810 811 … … 814 815 815 816 816 <h4>Restrictions</h4><div class=" value"> to compute the lateral boundary conditions, we assume817 t hat:817 <h4>Restrictions</h4><div class="preformat"> 818 to compute the lateral boundary conditions, we assume that: 818 819 (1) the first line is similar to the second line 819 => gcosu[*, 0] = gcosu[*, 1] 820 => gsinu[*, 0] = gsinu[*, 1] 820 => gcosu[*, 0] = gcosu[*, 1] 821 => gsinu[*, 0] = gsinu[*, 1] 821 822 (2) the grid follows OPA x periodicity rule, first column is 822 823 equal to the next to last column -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/clickincell.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> click on a map and find in which cell the click was 698 <div id="file_comments"> 699 click on a map and find in which cell the click was 699 700 </div> 700 701 … … 720 721 <div class="comments"></div> 721 722 722 <h3>Return value</h3><div class=" value">723 <h3>Return value</h3><div class="preformat"> 723 724 the index of the selected cells regarding to the grid which 724 725 is in memory in the variable of the common. If /ij keyword is 725 726 activated give 2D array (2, n) which are the i,j position of the 726 n selected cells. 727 n selected cells. 727 728 </div> 728 729 … … 824 825 825 826 826 <h3>Examples</h3><div class=" value">827 828 827 <h3>Examples</h3><div class="preformat"> 828 829 IDL> res = clickincell() 829 830 Click with the left button to select a cell. Clicking one more 830 831 time in the same cell remove the cell from the selection. 831 Click on the right button to quit. 832 833 834 832 Click on the right button to quit. 833 834 IDL> plt, findgen(jpi,jpj),/nodata,map=[90,0,0],/ortho 835 IDL> print, clickincell(/draw,color=150,/xy) 835 836 </div> 836 837 <h3>Version history</h3> 837 838 838 <h4>Version</h4><div class="value"> $Id: clickincell.pro 118 2006-06-27 15:47:06Z pinsard $ 839 840 </div> 841 <h4>History</h4><div class="value"> 839 <h4>Version</h4><div class="preformat"> $Id: clickincell.pro 136 2006-07-10 15:20:19Z pinsard $ 840 </div> 841 <h4>History</h4><div class="preformat"> 842 842 Sebastien Masson (smasson@lodyc.jussieu.fr) 843 843 August 2003 … … 854 854 855 855 856 <h4>Uses routines</h4><div class=" value"> common.pro856 <h4>Uses routines</h4><div class="preformat"> common.pro 857 857 </div> 858 858 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/compute_fromirr_bilinear_weigaddr.html
r119 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> compute the weight and address needed to interpolate data from 699 an "irregular 2D grid" (defined as a grid made of quadrilateral cells) 700 to any grid using the bilinear method 701 </div> 698 <div id="file_comments"> 699 compute the weight and address needed to interpolate data from 700 an "irregular 2D grid" (defined as a grid made of quadrilateral cells) 701 to any grid using the bilinear method 702 </div> 702 703 703 704 … … 739 740 </h4> 740 741 741 <div class="comments"> longitudeof the input data </div> 742 <div class="comments"> 743 longitude of the input data 744 </div> 742 745 743 746 <h4 id="_compute_fromirr_bilinear_weigaddr_param_olat">olat … … 752 755 </h4> 753 756 754 <div class="comments"> latitude of the input data </div> 757 <div class="comments"> 758 latitude of the input data 759 </div> 755 760 756 761 <h4 id="_compute_fromirr_bilinear_weigaddr_param_omsk">omsk … … 765 770 </h4> 766 771 767 <div class="comments"> land/se mask of the input data </div> 772 <div class="comments"> 773 land/sea mask of the input data 774 </div> 768 775 769 776 <h4 id="_compute_fromirr_bilinear_weigaddr_param_alonin">alonin … … 778 785 </h4> 779 786 780 <div class="comments"> longitude of the output data </div> 787 <div class="comments"> 788 longitude of the output data 789 </div> 781 790 782 791 <h4 id="_compute_fromirr_bilinear_weigaddr_param_alat">alat … … 791 800 </h4> 792 801 793 <div class="comments"> latitude of the output data </div> 802 <div class="comments"> 803 latitude of the output data 804 </div> 794 805 795 806 <h4 id="_compute_fromirr_bilinear_weigaddr_param_amsk">amsk … … 804 815 </h4> 805 816 806 <div class="comments"> land/sea mask of the output data 817 <div class="comments"> 818 land/sea mask of the output data 807 819 </div> 808 820 … … 846 858 <h3>Version history</h3> 847 859 848 <h4>Version</h4><div class="value"> $Id: compute_fromirr_bilinear_weigaddr.pro 118 2006-06-27 15:47:06Z pinsard $ 849 </div> 850 <h4>History</h4><div class="value"> 851 June 2006: Sebastien Masson (smasson@lodyc.jussieu.fr) 852 860 <h4>Version</h4><div class="preformat"> $Id: compute_fromirr_bilinear_weigaddr.pro 136 2006-07-10 15:20:19Z pinsard $ 861 </div> 862 <h4>History</h4><div class="preformat"> 863 June 2006: Sebastien Masson (smasson@lodyc.jussieu.fr) 853 864 </div> 854 865 … … 858 869 859 870 860 <h4>Restrictions</h4><div class=" value">861 - the input grid must be an "irregular 2D grid", defined as a grid made 862 871 <h4>Restrictions</h4><div class="preformat"> 872 - the input grid must be an "irregular 2D grid", defined as a grid made 873 of quadrilateral cells which corners positions are defined with olonin and olat 863 874 - We supposed the data are located on a sphere, with a periodicity along 864 875 the longitude 865 876 - to perform the bilinear interpolation within quadrilateral cells, we 866 867 868 - if some corners of the cell are land points, their weight is set to 0 869 877 first morph the cell into a square cell and then compute the bilinear 878 interpolation. 879 - if some corners of the cell are land points, their weight is set to 0 880 and the weight is redistributed on the remaining "water" corners 870 881 - points located out of the southern and northern boundaries or in cells 871 containing only land points are set the the same value as their closest neighbor l; </div> 882 containing only land points are set the the same value as their closest neighbor l 883 </div> 872 884 873 885 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/compute_fromreg_bilinear_weigaddr.html
r119 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> compute the weight and address needed to interpolate data from a 699 "regular grid" to any grid using the bilinear method 700 </div> 698 <div id="file_comments"> 699 compute the weight and address needed to interpolate data from a 700 "regular grid" to any grid using the bilinear method 701 </div> 701 702 702 703 … … 738 739 </h4> 739 740 740 <div class="comments"> longitudeof the input data </div> 741 <div class="comments"> 742 longitude of the input data 743 </div> 741 744 742 745 <h4 id="_compute_fromreg_bilinear_weigaddr_param_alatin">alatin … … 751 754 </h4> 752 755 753 <div class="comments"> latitude of the input data </div> 756 <div class="comments"> 757 latitude of the input data 758 </div> 754 759 755 760 <h4 id="_compute_fromreg_bilinear_weigaddr_param_olonin">olonin … … 764 769 </h4> 765 770 766 <div class="comments"> longitude of the output data </div> 771 <div class="comments"> 772 longitude of the output data 773 </div> 767 774 768 775 <h4 id="_compute_fromreg_bilinear_weigaddr_param_olat">olat … … 777 784 </h4> 778 785 779 <div class="comments"> latitude of the output data 786 <div class="comments"> 787 latitude of the output data 780 788 </div> 781 789 … … 829 837 </h4> 830 838 831 <div class="comments"> activate if you don't whant to take into 832 account the northen line of the input data when perfoming the</div> 839 <div class="comments"> 840 activate if you don't want to take into 841 account the northen line of the input data when perfoming the interpolation. 842 </div> 833 843 834 844 <h4 id="_compute_fromreg_bilinear_weigaddr_keyword_NOSOUTHERNLINE">NOSOUTHERNLINE … … 843 853 </h4> 844 854 845 <div class="comments"> activate if you don't whant to take into846 account the southern line of the input data when perfoming the847 855 <div class="comments"> 856 activate if you don't want to take into 857 account the southern line of the input data when perfoming the interpolation. 848 858 </div> 849 859 … … 853 863 <h3>Version history</h3> 854 864 855 <h4>Version</h4><div class=" value"> $Id: compute_fromreg_bilinear_weigaddr.pro 118 2006-06-27 15:47:06Z pinsard $856 </div> 857 <h4>History</h4><div class=" value">858 November 2005: Sebastien Masson (smasson@lodyc.jussieu.fr) 859 865 <h4>Version</h4><div class="preformat"> $Id: compute_fromreg_bilinear_weigaddr.pro 136 2006-07-10 15:20:19Z pinsard $ 866 </div> 867 <h4>History</h4><div class="preformat"> 868 November 2005: Sebastien Masson (smasson@lodyc.jussieu.fr) 869 </div> 860 870 861 871 … … 864 874 865 875 866 <h4>Restrictions</h4><div class=" value">867 - 868 869 870 - 871 872 - 873 874 876 <h4>Restrictions</h4><div class="preformat"> 877 - the input grid must be a "regular grid", defined as a grid for which each 878 lontitudes lines have the same latitude and each latitudes columns have the 879 same longitude. 880 - We supposed the data are located on a sphere, with a periodicity along 881 the longitude. 882 - points located out of the southern and northern boundaries are interpolated 883 using a linear interpolation only along the longitudinal direction. 884 </div> 875 885 876 886 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/compute_fromreg_imoms3_weigaddr.html
r119 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> compute the weight and address neede to interpolate data from a 699 "regular grid" to any grid using the imoms3 method 700 </div> 698 <div id="file_comments"> 699 compute the weight and address neede to interpolate data from a 700 "regular grid" to any grid using the imoms3 method 701 </div> 701 702 702 703 … … 739 740 </h4> 740 741 741 <div class="comments"> longitude of the input data </div> 742 <div class="comments"> 743 longitude of the input data 744 </div> 742 745 743 746 <h4 id="_compute_fromreg_imoms3_weigaddr_param_alatin">alatin … … 752 755 </h4> 753 756 754 <div class="comments"> latitude of the input data </div> 757 <div class="comments"> 758 latitude of the input data 759 </div> 755 760 756 761 <h4 id="_compute_fromreg_imoms3_weigaddr_param_olonin">olonin … … 765 770 </h4> 766 771 767 <div class="comments"> longitude of the output data </div> 772 <div class="comments"> 773 longitude of the output data</div> 768 774 769 775 <h4 id="_compute_fromreg_imoms3_weigaddr_param_olat">olat … … 778 784 </h4> 779 785 780 <div class="comments"> latitude of the output data 786 <div class="comments"> 787 latitude of the output data 781 788 </div> 782 789 … … 830 837 </h4> 831 838 832 <div class="comments"> 839 <div class="comments"></div> 833 840 834 841 <h4 id="_compute_fromreg_imoms3_weigaddr_keyword_NOSOUTHERNLINE">NOSOUTHERNLINE … … 843 850 </h4> 844 851 845 <div class="comments"> 846 activate if you don't w hant to take into account the northen/southern line852 <div class="comments"> 853 activate if you don't want to take into account the northen/southern line 847 854 of the input data when perfoming the interpolation. 848 855 </div> … … 853 860 <h3>Version history</h3> 854 861 855 <h4>Version</h4><div class=" value"> $Id: compute_fromreg_imoms3_weigaddr.pro 118 2006-06-27 15:47:06Z pinsard $856 </div> 857 <h4>History</h4><div class=" value">858 November 2005: Sebastien Masson (smasson@lodyc.jussieu.fr) 862 <h4>Version</h4><div class="preformat"> $Id: compute_fromreg_imoms3_weigaddr.pro 136 2006-07-10 15:20:19Z pinsard $ 863 </div> 864 <h4>History</h4><div class="preformat"> 865 November 2005: Sebastien Masson (smasson@lodyc.jussieu.fr) 859 866 March 2006: works for rectangular grids 860 867 </div> … … 865 872 866 873 867 <h4>Restrictions</h4><div class=" value">868 - 869 870 874 <h4>Restrictions</h4><div class="preformat"> 875 - the input grid must be a "regular/rectangular grid", defined as a grid for 876 which each lontitudes lines have the same latitude and each latitudes columns 877 have the same longitude. 871 878 - We supposed the data are located on a sphere, with a periodicity along 872 879 the longitude. 873 880 - points located between the first/last 2 lines are interpolated 874 875 876 - 877 878 881 using a imoms3 interpolation along the longitudinal direction and linear 882 interpolation along the latitudinal direction 883 - points located out of the southern and northern boundaries are interpolated 884 using a imoms3 interpolation only along the longitudinal direction. 885 </div> 879 886 880 887 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/cutpar.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> cut p parallelogram(s) into p*n^2 parallelograms 698 <div id="file_comments"> 699 cut p parallelogram(s) into p*n^2 parallelograms 699 700 </div> 700 701 … … 716 717 717 718 <p class="header"> 718 <span class="result">result = </span>cutpar(<span class="result"><a href="#_cutpar_param_x0">x0</a>, <a href="#_cutpar_param_y0">y0</a>, <a href="#_cutpar_param_x1">x1</a>, <a href="#_cutpar_param_y1">y1</a>, <a href="#_cutpar_param_x2">x2</a>, <a href="#_cutpar_param_y2">y2</a>, <a href="#_cutpar_param_x3">x3</a>, <a href="#_cutpar_param_y3">y3</a>, <a href="#_cutpar_param_n">n</a></span>, <a href="#_cutpar_keyword_ endpoints">endpoints</a>=<span class="result">endpoints</span>, <a href="#_cutpar_keyword_onsphere">onsphere</a>=<span class="result">onsphere</span>)</p>719 <span class="result">result = </span>cutpar(<span class="result"><a href="#_cutpar_param_x0">x0</a>, <a href="#_cutpar_param_y0">y0</a>, <a href="#_cutpar_param_x1">x1</a>, <a href="#_cutpar_param_y1">y1</a>, <a href="#_cutpar_param_x2">x2</a>, <a href="#_cutpar_param_y2">y2</a>, <a href="#_cutpar_param_x3">x3</a>, <a href="#_cutpar_param_y3">y3</a>, <a href="#_cutpar_param_n">n</a></span>, <a href="#_cutpar_keyword_ENDPOINTS">ENDPOINTS</a>=<span class="result">ENDPOINTS</span>, <a href="#_cutpar_keyword_ONSPHERE">ONSPHERE</a>=<span class="result">ONSPHERE</span>)</p> 719 720 720 721 <div class="comments"> 721 722 </div> 722 723 723 <h3>Return value</h3><div class=" value">724 - default:3d array(2,n^2,p) giving the center position of each725 726 - /endpoints:3d array(2,(n+1)^2,p) giving the edge positions727 724 <h3>Return value</h3><div class="preformat"> 725 - default: a 3d array(2,n^2,p) giving the center position of each 726 piece of the parallelograms 727 - if /ENDPOINTS : a 3d array(2,(n+1)^2,p) giving the edge positions 728 of each piece of the parallelograms 728 729 </div> 729 730 … … 756 757 </h4> 757 758 758 <div class="comments"> 759 <div class="comments"></div> 759 760 760 761 <h4 id="_cutpar_param_x1">x1 … … 782 783 </h4> 783 784 784 <div class="comments"> 785 <div class="comments"></div> 785 786 786 787 <h4 id="_cutpar_param_x2">x2 … … 808 809 </h4> 809 810 810 <div class="comments"> 811 <div class="comments"></div> 811 812 812 813 <h4 id="_cutpar_param_x3">x3 … … 834 835 </h4> 835 836 836 <div class="comments"> 837 1d arrays of p elements, giving the edge positions. The 838 edges must be given as in plot to traw the parallelogram. (see 839 example). 837 <div class="comments"> 838 1d arrays of p elements, giving the edge positions. 839 The edges must be given as in plot to draw the parallelogram. (see example). 840 840 </div> 841 841 … … 851 851 </h4> 852 852 853 <div class="comments"> each parallelogram will be cutted in n^2 pieces 853 <div class="comments"> 854 each parallelogram will be cutted in n^2 pieces 854 855 </div> 855 856 … … 861 862 <h3>Keywords</h3> 862 863 863 <h4 id="_cutpar_keyword_ endpoints">endpoints 864 <h4 id="_cutpar_keyword_ENDPOINTS">ENDPOINTS 864 865 865 866 … … 872 873 </h4> 873 874 874 <div class="comments"> see outputs 875 </div> 876 877 <h4 id="_cutpar_keyword_onsphere">onsphere 875 <div class="comments"> 876 see outputs 877 </div> 878 879 <h4 id="_cutpar_keyword_ONSPHERE">ONSPHERE 878 880 879 881 … … 886 888 </h4> 887 889 888 <div class="comments"> to specify that the points are located on a 889 sphere. In this case, x and y corresponds to longitude and 890 latitude in degrees. 891 </div> 892 893 894 895 <h3>Examples</h3><div class="value"> 890 <div class="comments"> 891 to specify that the points are located on a 892 sphere. In this case, x and y corresponds to longitude and 893 latitude in degrees. 894 </div> 895 896 897 898 <h3>Examples</h3><div class="preformat"> 896 899 897 900 IDL> x0 = [2,6,2] … … 911 914 <h3>Version history</h3> 912 915 913 <h4>Version</h4><div class=" value"> $Id: cutpar.pro 118 2006-06-27 15:47:06Z pinsard $914 </div> 915 <h4>History</h4><div class=" value">916 <h4>Version</h4><div class="preformat"> $Id: cutpar.pro 136 2006-07-10 15:20:19Z pinsard $ 917 </div> 918 <h4>History</h4><div class="preformat"> 916 919 S. Masson (smasson@lodyc.jussieu.fr) 917 920 July 5th, 2002 … … 928 931 929 932 930 <h4>Uses routines</h4><div class=" value"> cutsegment.pro933 <h4>Uses routines</h4><div class="preformat"> cutsegment.pro 931 934 </div> 932 935 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/cutsegment.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> cut p segments into p*n equal parts 698 <div id="file_comments"> 699 cut p segments into p*n equal parts 699 700 </div> 700 701 … … 716 717 717 718 <p class="header"> 718 <span class="result">result = </span>cutsegment(<span class="result"><a href="#_cutsegment_param_x0">x0</a>, <a href="#_cutsegment_param_y0">y0</a>, <a href="#_cutsegment_param_x1">x1</a>, <a href="#_cutsegment_param_y1">y1</a>, <a href="#_cutsegment_param_n">n</a></span>, <a href="#_cutsegment_keyword_ endpoints">endpoints</a>=<span class="result">endpoints</span>, <a href="#_cutsegment_keyword_onsphere">onsphere</a>=<span class="result">onsphere</span>)</p>719 <span class="result">result = </span>cutsegment(<span class="result"><a href="#_cutsegment_param_x0">x0</a>, <a href="#_cutsegment_param_y0">y0</a>, <a href="#_cutsegment_param_x1">x1</a>, <a href="#_cutsegment_param_y1">y1</a>, <a href="#_cutsegment_param_n">n</a></span>, <a href="#_cutsegment_keyword_ENDPOINTS">ENDPOINTS</a>=<span class="result">ENDPOINTS</span>, <a href="#_cutsegment_keyword_ONSPHERE">ONSPHERE</a>=<span class="result">ONSPHERE</span>)</p> 719 720 720 721 <div class="comments"> 721 722 </div> 722 723 723 <h3>Return value</h3><div class=" value">724 725 726 if /endpoints, a 3d array (2,n+1,p) that gives the727 724 <h3>Return value</h3><div class="preformat"> 725 - default: a 3d array (2,n,p) that gives the coordinates of the 726 middle of the cutted segments. 727 - if /ENDPOINTS, a 3d array (2,n+1,p) that gives the 728 coordinates of the endpoints of the cutted segments. 728 729 </div> 729 730 … … 797 798 </h4> 798 799 799 <div class="comments"> the number of pieces we want to cut each segment 800 <div class="comments"> 801 the number of pieces we want to cut each segment 800 802 </div> 801 803 … … 807 809 <h3>Keywords</h3> 808 810 809 <h4 id="_cutsegment_keyword_ endpoints">endpoints 811 <h4 id="_cutsegment_keyword_ENDPOINTS">ENDPOINTS 810 812 811 813 … … 818 820 </h4> 819 821 820 <div class="comments"> see ouputs 822 <div class="comments"> 823 see ouputs 821 824 </div> 822 825 823 <h4 id="_cutsegment_keyword_ onsphere">onsphere 826 <h4 id="_cutsegment_keyword_ONSPHERE">ONSPHERE 824 827 825 828 … … 832 835 </h4> 833 836 834 <div class="comments"> to specify that the points are located on a835 sphere. In this case, x and y corresponds to longitude and836 837 <div class="comments"> 838 to specify that the points are located on a sphere. 839 In this case, x and y corresponds to longitude and latitude in degrees. 837 840 </div> 838 841 839 842 840 843 841 <h3>Examples</h3><div class=" value">842 843 844 845 846 847 848 849 850 851 852 844 <h3>Examples</h3><div class="preformat"> 845 846 IDL> x0=[2,5] 847 IDL> y0=[5,1] 848 IDL> x1=[9,3] 849 IDL> y1=[1,8] 850 IDL> res=cutsegment(x0, y0, x1, y1, 10) 851 IDL> splot, [0,10], [0,10], xstyle = 1, ystyle = 1,/nodata 852 IDL> oplot, [x0[0], x1[0]], [y0[0], y1[0]] 853 IDL> oplot, [res[0,*,0]], [res[1,*,0]], color = 20, psym = 1, thick = 3 854 IDL> oplot, [x0[1], x1[1]], [y0[1], y1[1]] 855 IDL> oplot, [res[0,*,1]], [res[1,*,1]], color = 40, psym = 1, thick = 3 853 856 </div> 854 857 <h3>Version history</h3> 855 858 856 <h4>Version</h4><div class=" value"> $Id: cutsegment.pro 118 2006-06-27 15:47:06Z pinsard $857 </div> 858 <h4>History</h4><div class=" value">859 <h4>Version</h4><div class="preformat"> $Id: cutsegment.pro 136 2006-07-10 15:20:19Z pinsard $ 860 </div> 861 <h4>History</h4><div class="preformat"> 859 862 S. Masson (smasson@lodyc.jussieu.fr) 860 863 July 5th, 2002 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/directory-overview.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 699 699 700 700 <dt><a href="angle.html?format=raw">angle.pro</a></dt> 701 <dd> north stereographic polar projection Compute angles between grid lines and direction of the North (fom angle.</dd>701 <dd> north stereographic polar projection Compute angles between grid lines and direction of the North (fom angle.</dd> 702 702 703 703 <dt><a href="clickincell.html?format=raw">clickincell.pro</a></dt> 704 <dd> click on a map and find in which cell the click was </dd>704 <dd> click on a map and find in which cell the click was </dd> 705 705 706 706 <dt><a href="compute_fromirr_bilinear_weigaddr.html?format=raw">compute_fromirr_bilinear_weigaddr.pro</a></dt> 707 <dd> compute the weight and address needed to interpolate data from an "irregular 2D grid" (defined as a grid made of quadrilateral cells) to any grid using the bilinear method</dd>707 <dd> compute the weight and address needed to interpolate data from an "irregular 2D grid" (defined as a grid made of quadrilateral cells) to any grid using the bilinear method </dd> 708 708 709 709 <dt><a href="compute_fromreg_bilinear_weigaddr.html?format=raw">compute_fromreg_bilinear_weigaddr.pro</a></dt> 710 <dd> compute the weight and address needed to interpolate data from a "regular grid" to any grid using the bilinear method</dd>710 <dd> compute the weight and address needed to interpolate data from a "regular grid" to any grid using the bilinear method </dd> 711 711 712 712 <dt><a href="compute_fromreg_imoms3_weigaddr.html?format=raw">compute_fromreg_imoms3_weigaddr.pro</a></dt> 713 <dd> compute the weight and address neede to interpolate data from a "regular grid" to any grid using the imoms3 method</dd>713 <dd> compute the weight and address neede to interpolate data from a "regular grid" to any grid using the imoms3 method </dd> 714 714 715 715 <dt><a href="cutpar.html?format=raw">cutpar.pro</a></dt> 716 <dd> cut p parallelogram(s) into p*n^2 parallelograms </dd>716 <dd> cut p parallelogram(s) into p*n^2 parallelograms </dd> 717 717 718 718 <dt><a href="cutsegment.html?format=raw">cutsegment.pro</a></dt> 719 <dd> cut p segments into p*n equal parts </dd>719 <dd> cut p segments into p*n equal parts </dd> 720 720 721 721 <dt><a href="extrapolate.html?format=raw">extrapolate.pro</a></dt> 722 <dd> extrapolate data (zinput) where maskinput eq 0 by fillingstep by step the coastline points with the mean value of the 8 neighbourgs.</dd>722 <dd> extrapolate data (zinput) where maskinput eq 0 by filling step by step the coastline points with the mean value of the 8 neighbourgs.</dd> 723 723 724 724 <dt><a href="fromirr.html?format=raw">fromirr.pro</a></dt> 725 <dd> interpolate data from an irregular 2D grid to any 2D grid.</dd>725 <dd> interpolate data from an irregular 2D grid to any 2D grid.</dd> 726 726 727 727 <dt><a href="fromreg.html?format=raw">fromreg.pro</a></dt> 728 <dd> interpolate data from a "regular/rectangular grid" to any grid.</dd>728 <dd> interpolate data from a "regular/rectangular grid" to any grid.</dd> 729 729 730 730 <dt><a href="get_gridparams.html?format=raw">get_gridparams.pro</a></dt> 731 <dd> 1) extract from a NetCDF file the longitude, latidude, and their dimensions and make sure it is 1D or 2D arrays or 2) given longitude and latitude arrays get their dimensions and makesure they are 1D or 2D arrays </dd>731 <dd> 1) extract from a NetCDF file the longitude, latidude, and their dimensions and make sure it is 1D or 2D arrays or 2) given longitude and latitude arrays get their dimensions and make sure they are 1D or 2D arrays </dd> 732 732 733 733 <dt><a href="imoms3.html?format=raw">imoms3.pro</a></dt> … … 735 735 736 736 <dt><a href="inquad.html?format=raw">inquad.pro</a></dt> 737 <dd> to find if an (x,y) point is in a quadrilateral (x1,x2,x3,x4) </dd>737 <dd> to find if an (x,y) point is in a quadrilateral (x1,x2,x3,x4) </dd> 738 738 739 739 <dt><a href="inrecgrid.html?format=raw">inrecgrid.pro</a></dt> 740 <dd> given - a list of points, (x,y) position - the x and y limits of a rectangular gridfind in which cell is located each given point.</dd>740 <dd> given - a list of points, (x,y) position - the x and y limits of a rectangular grid find in which cell is located each given point.</dd> 741 741 742 742 <dt><a href="ll_narcs_distances.html?format=raw">ll_narcs_distances.pro</a></dt> 743 <dd> This function returns the longitude and latitude [lon, lat] of a point a given arc distance (-pi <= Arc_Dist <= pi), and azimuth (Az),from a specified location Lon0, lat0.</dd>743 <dd> This function returns the longitude and latitude [lon, lat] of a point a given arc distance (-pi <= Arc_Dist <= pi), and azimuth (Az), from a specified location Lon0, lat0.</dd> 744 744 745 745 <dt><a href="map_npoints.html?format=raw">map_npoints.pro</a></dt> 746 <dd> Return the distance in meter between all np0 points P0 and allnp1 points P1 on a sphere.</dd>746 <dd> Return the distance in meter between all np0 points P0 and all np1 points P1 on a sphere.</dd> 747 747 748 748 <dt><a href="neighbor.html?format=raw">neighbor.pro</a></dt> 749 <dd> find the closetest point of (P0) within a list of np1 points P1 Which can be on a sphere</dd>749 <dd> find the closetest point of (P0) within a list of np1 points P1 Which can be on a sphere </dd> 750 750 751 751 <dt><a href="quadrilateral2square.html?format=raw">quadrilateral2square.pro</a></dt> 752 <dd> warm (or map) an arbitrary quadrilateral onto a unit squareaccording to the 4-point correspondences: (x0,y0) -> (0,0) (x1,y1) -> (1,0) (x2,y2) -> (1,1) (x3,y3) -> (0,1) This is the inverse function of square2quadrilateral.</dd>752 <dd> warm (or map) an arbitrary quadrilateral onto a unit square according to the 4-point correspondences: (x0,y0) -> (0,0) (x1,y1) -> (1,0) (x2,y2) -> (1,1) (x3,y3) -> (0,1) This is the inverse function of square2quadrilateral.</dd> 753 753 754 754 <dt><a href="spl_fstdrv.html?format=raw">spl_fstdrv.pro</a></dt> 755 <dd> SPL_FSTDRV returns the values of the first derivative of the interpolating function at the points X2i.</dd>755 <dd> SPL_FSTDRV returns the values of the first derivative of the interpolating function at the points X2i.</dd> 756 756 757 757 <dt><a href="spl_incr.html?format=raw">spl_incr.pro</a></dt> … … 762 762 763 763 <dt><a href="square2quadrilateral.html?format=raw">square2quadrilateral.pro</a></dt> 764 <dd> warm (or map) a unit square onto an arbitrary quadrilateral according to the 4-point correspondences: (0,0) -> (x0,y0) (1,0) -> (x1,y1) (1,1) -> (x2,y2) (0,1) -> (x3,y3) The mapping is done using perspective transformation which preserve lines in all orientations and permit quadrilateral to quadrilateral mappings.</dd>764 <dd> warm (or map) a unit square onto an arbitrary quadrilateral according to the 4-point correspondences: (0,0) -> (x0,y0) (1,0) -> (x1,y1) (1,1) -> (x2,y2) (0,1) -> (x3,y3) The mapping is done using perspective transformation which preserve lines in all orientations and permit quadrilateral to quadrilateral mappings.</dd> 765 765 766 766 </dl> -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/extrapolate.html
r119 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> extrapolate data (zinput) where maskinput eq 0 by filling 698 <div id="file_comments"> 699 extrapolate data (zinput) where maskinput eq 0 by filling 699 700 step by step the coastline points with the mean value of the 8 neighbourgs. 700 701 </div> … … 822 823 <h3>Version history</h3> 823 824 824 <h4>Version</h4><div class=" value"> $Id: extrapolate.pro 118 2006-06-27 15:47:06Z pinsard $825 <h4>Version</h4><div class="preformat"> $Id: extrapolate.pro 136 2006-07-10 15:20:19Z pinsard $ 825 826 </div> 826 827 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/fromirr.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> interpolate data from an irregular 2D grid to any 2D grid. 699 Only 1 metod available = bilinear 700 </div> 698 <div id="file_comments"> 699 interpolate data from an irregular 2D grid to any 2D grid. 700 Only 1 method available = bilinear 701 </div> 701 702 702 703 … … 722 723 </div> 723 724 724 <h3>Return value</h3><div class="value"> 2D array the interpolated data 725 <h3>Return value</h3><div class="preformat"> 726 2D array the interpolated data 725 727 </div> 726 728 … … 740 742 </h4> 741 743 742 <div class="comments"> a string defining the interpolation method. must be 'bilinear'</div> 744 <div class="comments"> 745 a string defining the interpolation method. must be 'bilinear' 746 </div> 743 747 744 748 <h4 id="_fromirr_param_datain">datain … … 753 757 </h4> 754 758 755 <div class="comments"> a 2D array the input data to interpolate</div> 759 <div class="comments"> 760 a 2D array the input data to interpolate 761 </div> 756 762 757 763 <h4 id="_fromirr_param_lonin">lonin … … 766 772 </h4> 767 773 768 <div class="comments"> a 2D array defining the longitude of the input data</div> 774 <div class="comments"> 775 a 2D array defining the longitude of the input data 776 </div> 769 777 770 778 <h4 id="_fromirr_param_latin">latin … … 779 787 </h4> 780 788 781 <div class="comments"> a 2D array defining the latitude of the input data.</div> 789 <div class="comments"> 790 a 2D array defining the latitude of the input data. 791 </div> 782 792 783 793 <h4 id="_fromirr_param_mskin">mskin … … 792 802 </h4> 793 803 794 <div class="comments"> a 2D array, the land-sea mask of the input data (1 on ocean, 0 on land)</div> 804 <div class="comments"> 805 a 2D array, the land-sea mask of the input data (1 on ocean, 0 on land) 806 </div> 795 807 796 808 <h4 id="_fromirr_param_lonout">lonout … … 805 817 </h4> 806 818 807 <div class="comments"> 1D or 2D array defining the longitude of the output data.</div> 819 <div class="comments"> 820 1D or 2D array defining the longitude of the output data. 821 </div> 808 822 809 823 <h4 id="_fromirr_param_latout">latout … … 818 832 </h4> 819 833 820 <div class="comments"> 1D or 2D array defining the latitude of the output data.</div> 834 <div class="comments"> 835 1D or 2D array defining the latitude of the output data. 836 </div> 821 837 822 838 <h4 id="_fromirr_param_mskout">mskout … … 831 847 </h4> 832 848 833 <div class="comments"> a 2D array, the land-sea mask of the ouput data (1 on ocean, 0 on land) 849 <div class="comments"> 850 a 2D array, the land-sea mask of the ouput data (1 on ocean, 0 on land) 834 851 </div> 835 852 … … 866 883 867 884 <div class="comments"> 2D arrays, weig and addr are the weight and addresses used to 868 885 perform the interpolation: 869 886 dataout = total(weig*datain[addr], 1) 870 887 dataout = reform(dataout, jpio, jpjo, /over) 871 872 873 874 875 </div> 876 877 878 879 <h3>Examples</h3><div class=" value">880 888 Those keywords can be set to named variables (that are undefined or equal to 0) into which the 889 values will be copied when the current routine exits. Next, they can be used to perform 890 the interpolation whithout computing again those 2 parameters. This greatly 891 speed-up the interpolation! In that case, lonin, latin, lonout and latout are not necessary. 892 </div> 893 894 895 896 <h3>Examples</h3><div class="preformat"> 897 881 898 IDL> tncep = fromirr('bilinear', topa, glamt, gphit, tmask[*,*,0], lonout, latout, mskout) 882 899 883 or 900 or 884 901 885 902 IDL> t1ncep = fromirr('bilinear', topa, glamt, gphit, tmask[*,*,0], lonout, latout, mskout $ … … 890 907 <h3>Version history</h3> 891 908 892 <h4>Version</h4><div class=" value"> $Id: fromirr.pro 118 2006-06-27 15:47:06Z pinsard $893 </div> 894 <h4>History</h4><div class=" value">895 June 2006: Sebastien Masson (smasson@lodyc.jussieu.fr) 896 909 <h4>Version</h4><div class="preformat"> $Id: fromirr.pro 136 2006-07-10 15:20:19Z pinsard $ 910 </div> 911 <h4>History</h4><div class="preformat"> 912 June 2006: Sebastien Masson (smasson@lodyc.jussieu.fr) 913 </div> 897 914 898 915 … … 901 918 902 919 903 <h4>Restrictions</h4><div class="value"> We supposed the data are located on a sphere, with a periodicity along 904 the longitude. 905 Note that the input data can contain the same cells several times 906 (like ORCA grid near the north pole boundary) 920 <h4>Restrictions</h4><div class="preformat"> 921 We supposed the data are located on a sphere, with a periodicity along 922 the longitude. 923 Note that the input data can contain the same cells several times 924 (like ORCA grid near the north pole boundary) 907 925 </div> 908 926 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/fromreg.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> interpolate data from a "regular/rectangular grid" to any grid. 699 2 metods availables: bilinear and imoms3 700 A "regular/rectangular grid" is defined as a grid for which each lontitudes lines have 698 <div id="file_comments"> 699 interpolate data from a "regular/rectangular grid" to any grid. 700 2 methods availables: bilinear and imoms3 701 A "regular/rectangular grid" is defined as a grid for which each lontitudes lines have 701 702 the same latitude and each latitudes columns have the same longitude. 702 703 </div> 703 704 704 705 … … 724 725 </div> 725 726 726 <h3>Return value</h3><div class="value"> 2D array the interpolated data 727 <h3>Return value</h3><div class="preformat"> 728 2D array the interpolated data 727 729 </div> 728 730 … … 742 744 </h4> 743 745 744 <div class="comments"> a string defining the interpolation method. 745 must be 'bilinear' or 'imoms3'</div> 746 <div class="comments"> 747 a string defining the interpolation method. 748 must be 'bilinear' or 'imoms3' 749 </div> 746 750 747 751 <h4 id="_fromreg_param_datain">datain … … 756 760 </h4> 757 761 758 <div class="comments"> a 2D array the input data to interpolate</div> 762 <div class="comments"> 763 a 2D array the input data to interpolate 764 </div> 759 765 760 766 <h4 id="_fromreg_param_lonin">lonin … … 769 775 </h4> 770 776 771 <div class="comments"> 1D or 2D array defining the longitude of the input data</div> 777 <div class="comments"> 778 1D or 2D array defining the longitude of the input data 779 </div> 772 780 773 781 <h4 id="_fromreg_param_latin">latin … … 782 790 </h4> 783 791 784 <div class="comments"> 1D or 2D array defining the latitude of the input data</div> 792 <div class="comments"> 793 1D or 2D array defining the latitude of the input data 794 </div> 785 795 786 796 <h4 id="_fromreg_param_lonout">lonout … … 795 805 </h4> 796 806 797 <div class="comments"> 1D or 2D array defining the longitude of the output data</div> 807 <div class="comments"> 808 1D or 2D array defining the longitude of the output data 809 </div> 798 810 799 811 <h4 id="_fromreg_param_latout">latout … … 808 820 </h4> 809 821 810 <div class="comments"> 1D or 2D array defining the latitude of the output data 822 <div class="comments"> 823 1D or 2D array defining the latitude of the output data 811 824 </div> 812 825 … … 843 856 844 857 <div class="comments"> 2D arrays, weig and addr are the weight and addresses used to 845 858 perform the interpolation: 846 859 dataout = total(weig*datain[addr], 1) 847 860 dataout = reform(dataout, jpio, jpjo, /over) 848 849 850 851 861 Those keywords can be set to named variables (that are undefined or equal to 0) into which the 862 values will be copied when the current routine exits. Next, they can be used to perform 863 the interpolation whithout computing again those 2 parameters. In that 864 case, lonin, latin, lonout and latout are not necessary. 852 865 </div> 853 866 … … 863 876 </h4> 864 877 865 <div class="comments"> 878 <div class="comments"></div> 866 879 867 880 <h4 id="_fromreg_keyword_NOSOUTHERNLINE">NOSOUTHERNLINE … … 876 889 </h4> 877 890 878 <div class="comments"> 879 activate if you don't w hant to take into account the northen/southern line891 <div class="comments"> 892 activate if you don't want to take into account the northen/southern line 880 893 of the input data when perfoming the interpolation. 881 894 </div> … … 883 896 884 897 885 <h3>Examples</h3><div class=" value">886 887 888 889 or 890 891 892 893 898 <h3>Examples</h3><div class="preformat"> 899 900 IDL> topa = fromreg('bilinear', tncep, xncep, yncep, glamt, gphit) 901 902 or 903 904 IDL> t1opa = fromreg('bilinear', t1ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b) 905 IDL> help, a, b 906 IDL> t2opa = fromreg('bilinear', t2ncep, xncep, WEIG = a, ADDR = b) 894 907 </div> 895 908 <h3>Version history</h3> 896 909 897 <h4>Version</h4><div class=" value"> $Id: fromreg.pro 118 2006-06-27 15:47:06Z pinsard $898 </div> 899 <h4>History</h4><div class=" value">900 November 2005: Sebastien Masson (smasson@lodyc.jussieu.fr) 910 <h4>Version</h4><div class="preformat"> $Id: fromreg.pro 136 2006-07-10 15:20:19Z pinsard $ 911 </div> 912 <h4>History</h4><div class="preformat"> 913 November 2005: Sebastien Masson (smasson@lodyc.jussieu.fr) 901 914 </div> 902 915 … … 906 919 907 920 908 <h4>Restrictions</h4><div class="value"> We supposed the data are located on a sphere, with a 909 periodicity along the longitude. 921 <h4>Restrictions</h4><div class="preformat"> 922 We supposed the data are located on a sphere, with a periodicity along the 923 longitude. 910 924 </div> 911 925 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/get_gridparams.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 697 697 698 698 <div id="file_comments"> 699 700 701 702 or703 704 699 1) extract from a NetCDF file the longitude, latidude, and their dimensions 700 and make sure it is 1D or 2D arrays 701 702 or 703 2) given longitude and latitude arrays get their dimensions and make 704 sure they are 1D or 2D arrays 705 705 </div> 706 706 … … 744 744 </h4> 745 745 746 <div class="comments"> the name of the netcdf file 746 <div class="comments"> 747 the name of the netcdf file 748 749 747 750 1d or 2D arrays defining longitudes and latitudes. 748 the variable that will contain the longitudes</div> 751 752 753 the variable that will contain the longitudes 754 </div> 749 755 750 756 <h4 id="_get_gridparams_param_in2">in2 … … 759 765 </h4> 760 766 761 <div class="comments"> the name of the variable that contains the longitude in the NetCDF file 767 <div class="comments"> 768 the name of the variable that contains the longitude in the NetCDF file 769 770 762 771 1d or 2D arrays defining longitudes and latitudes. 763 Note that these arrays are also outputs and can therefore be modified. 764 765 the variable that will contain the latitudes</div> 772 Note that these arrays are also outputs and can therefore be modified. 773 774 775 the variable that will contain the latitudes 776 </div> 766 777 767 778 <h4 id="_get_gridparams_param_in3">in3 … … 776 787 </h4> 777 788 778 <div class="comments"> the name of the variable that contains the latitude in the NetCDF file 779 the number of points in the longitudinal direction</div> 789 <div class="comments"> 790 the name of the variable that contains the latitude in the NetCDF file 791 792 793 the number of points in the longitudinal direction 794 </div> 780 795 781 796 <h4 id="_get_gridparams_param_in4">in4 … … 790 805 </h4> 791 806 792 <div class="comments"> the number of points in the longitudinal direction 793 the number of points in the latitudinal direction</div> 807 <div class="comments"> 808 the number of points in the longitudinal direction 809 810 811 the number of points in the latitudinal direction 812 </div> 794 813 795 814 <h4 id="_get_gridparams_param_in5">in5 … … 804 823 </h4> 805 824 806 <div class="comments"> the number of points in the latitudinal direction 825 <div class="comments"> 826 the number of points in the latitudinal direction 827 828 807 829 1 or 2 to specify if lon and lat should be 1D (jpi or jpj) 808 809 810 830 arrays or 2D arrays (jpi,jpj). Note that of n_dimensions = 1, then the 831 grid must be regular (each longitudes must be the same for all latitudes 832 and each latitudes should be the sae for all longitudes). 811 833 </div> 812 834 … … 822 844 </h4> 823 845 824 <div class="comments"> the variable that will contain the longitudes</div> 846 <div class="comments"> 847 the variable that will contain the longitudes 848 </div> 825 849 826 850 <h4 id="_get_gridparams_param_in7">in7 … … 835 859 </h4> 836 860 837 <div class="comments"> the variable that will contain the latitudes</div> 861 <div class="comments"> 862 the variable that will contain the latitudes 863 </div> 838 864 839 865 <h4 id="_get_gridparams_param_in8">in8 … … 848 874 </h4> 849 875 850 <div class="comments"> 1 or 2 to specify if lon and lat should be 1D (jpi or jpj) 876 <div class="comments"> 877 1 or 2 to specify if lon and lat should be 1D (jpi or jpj) 851 878 852 879 or … … 872 899 </h4> 873 900 874 <div class="comments"> use double precision to perform the computation 875 </div> 876 877 878 879 <h3>Examples</h3><div class="value"> 880 881 1) 901 <div class="comments"> 902 use double precision to perform the computation 903 </div> 904 905 906 907 <h3>Examples</h3><div class="preformat"> 908 909 1) 882 910 IDL> get_gridparams, file, lonname, latname, lon, lat, jpi, jpj, n_dimensions 883 911 884 912 or 885 913 886 2) 914 2) 887 915 IDL> get_gridparams, lon, lat, jpi, jpj, n_dimensions 888 916 … … 897 925 <h3>Version history</h3> 898 926 899 <h4>Version</h4><div class=" value"> $Id: get_gridparams.pro 118 2006-06-27 15:47:06Z pinsard $900 </div> 901 <h4>History</h4><div class=" value">927 <h4>Version</h4><div class="preformat"> $Id: get_gridparams.pro 136 2006-07-10 15:20:19Z pinsard $ 928 </div> 929 <h4>History</h4><div class="preformat"> 902 930 November 2005: Sebastien Masson (smasson@lodyc.jussieu.fr) 903 931 </div> -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/imoms3.html
r119 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 717 717 718 718 <div class="comments"> 719 720 719 720 </div> 721 721 722 722 … … 748 748 <h3>Version history</h3> 749 749 750 <h4>Version</h4><div class=" value"> $Id: imoms3.pro 118 2006-06-27 15:47:06Z pinsard$750 <h4>Version</h4><div class="preformat"> $Id: imoms3.pro 134 2006-07-07 10:19:08Z navarro $ 751 751 </div> 752 752 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/inquad.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> to find if an (x,y) point is in a quadrilateral (x1,x2,x3,x4) 698 <div id="file_comments"> 699 to find if an (x,y) point is in a quadrilateral (x1,x2,x3,x4) 699 700 </div> 700 701 … … 720 721 <div class="comments"></div> 721 722 722 <h3>Return value</h3><div class=" value">723 724 725 723 <h3>Return value</h3><div class="preformat"> 724 a n element vector. Where n is the number of elements of 725 x. res[i]=j means that the point number i is located in the 726 quadrilateral number j with (0 <= j <= n_elements(x0)-1) 726 727 </div> 727 728 … … 755 756 756 757 <div class="comments"> 757 the coordinates of the point we want to know where it is.758 Must be a scalar if /onsphere activated else can be scalar or array.758 the coordinates of the point we want to know where it is. 759 Must be a scalar if /ONSPHERE activated else can be scalar or array. 759 760 </div> 760 761 … … 862 863 863 864 <div class="comments"> 864 the coordinates of the quadrilateral given in the CLOCKWISE order.865 865 the coordinates of the quadrilateral given in the CLOCKWISE order. 866 Scalar or array. 866 867 </div> 867 868 … … 884 885 </h4> 885 886 886 <div class="comments"> to specify that the quadilateral are on a sphere and 887 that teir coordinates are longitude-latitude coordinates. In this 888 case, est-west periodicity, poles singularity and other pbs 889 related to longitude-latitude coordinates are managed 890 automatically. 887 <div class="comments"> 888 to specify that the quadilateral are on a sphere and 889 that teir coordinates are longitude-latitude coordinates. In this 890 case, est-west periodicity, poles singularity and other pbs 891 related to longitude-latitude coordinates are managed 892 automatically. 891 893 </div> 892 894 … … 902 904 </h4> 903 905 904 <div class="comments"> use double precision to perform the computation 906 <div class="comments"> 907 use double precision to perform the computation 905 908 </div> 906 909 … … 918 921 <div class="comments"> 919 922 the zoom (circle centred on the (x,y) with a radius of 920 921 922 when /onsphere is activated.923 4 seems to be the minimum which can be used.924 925 923 zoomradius degree where we look for the the quadrilateral which 924 contains the (x,y) point) used for the satellite projection 925 when /ONSPHERE is activated. 926 4 seems to be the minimum which can be used. 927 Can be increase if the cell size is larger than 5 degrees. 928 </div> 926 929 927 930 <h4 id="_inquad_keyword_NOPRINT">NOPRINT … … 936 939 </h4> 937 940 938 <div class="comments"> to suppress the print messages. 941 <div class="comments"> 942 to suppress the print messages. 939 943 </div> 940 944 … … 955 959 956 960 957 <h3>Examples</h3><div class=" value">961 <h3>Examples</h3><div class="preformat"> 958 962 959 963 IDL> x = 1.*[1, 2, 6, 7, 3] … … 972 976 IDL> print, inquad(x, y, x1, y1, x2, y2, x3, y3, x4, y4) 973 977 974 978 On a sphere see clickincell.pro... 975 979 </div> 976 980 <h3>Version history</h3> 977 981 978 <h4>Version</h4><div class=" value"> $Id: inquad.pro 118 2006-06-27 15:47:06Z pinsard $979 </div> 980 <h4>History</h4><div class=" value">982 <h4>Version</h4><div class="preformat"> $Id: inquad.pro 136 2006-07-10 15:20:19Z pinsard $ 983 </div> 984 <h4>History</h4><div class="preformat"> 981 985 Sebastien Masson (smasson@lodyc.jussieu.fr) 982 986 August 2003 983 Based on Convert_clic_ij.pro written by Gurvan Madec 987 Based on Convert_clic_ij.pro written by Gurvan Madec 984 988 </div> 985 989 … … 989 993 990 994 991 <h4>Restrictions</h4><div class="value"> I think degenerated quadrilateral (e.g. flat of 992 twisted) is not work. This has to be tested. 995 <h4>Restrictions</h4><div class="preformat"> 996 I think degenerated quadrilateral (e.g. flat of twisted) is not work. 997 This has to be tested. 993 998 </div> 994 999 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/inrecgrid.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> given - a list of points, (x,y) position 699 - the x and y limits of a rectangular grid 700 find in which cell is located each given point. 698 <div id="file_comments"> 699 given - a list of points, (x,y) position 700 - the x and y limits of a rectangular grid 701 find in which cell is located each given point. 701 702 </div> 702 703 … … 718 719 719 720 <p class="header"> 720 <span class="result">result = </span>inrecgrid(<span class="result"><a href="#_inrecgrid_param_x1d">x1d</a>, <a href="#_inrecgrid_param_y1d">y1d</a>, <a href="#_inrecgrid_param_left">left</a>, <a href="#_inrecgrid_param_bottom">bottom</a></span>, <a href="#_inrecgrid_keyword_ output2d">output2d</a>=<span class="result">output2d</span>, <a href="#_inrecgrid_keyword_checkout">checkout</a>=<span class="result">checkout</span>)</p>721 <span class="result">result = </span>inrecgrid(<span class="result"><a href="#_inrecgrid_param_x1d">x1d</a>, <a href="#_inrecgrid_param_y1d">y1d</a>, <a href="#_inrecgrid_param_left">left</a>, <a href="#_inrecgrid_param_bottom">bottom</a></span>, <a href="#_inrecgrid_keyword_OUTPUT2D">OUTPUT2D</a>=<span class="result">OUTPUT2D</span>, <a href="#_inrecgrid_keyword_CHECKOUT">CHECKOUT</a>=<span class="result">CHECKOUT</span>)</p> 721 722 722 723 <div class="comments"> 723 724 </div> 724 725 725 <h3>Return value</h3><div class=" value"> the index on the cell accoring to the 2d array defined by726 left and bottom.726 <h3>Return value</h3><div class="preformat"> 727 the index on the cell according to the 2d array defined by left and bottom. 727 728 </div> 728 729 … … 742 743 </h4> 743 744 744 <div class="comments"> a 1d array, the x position on the points</div> 745 <div class="comments"> 746 a 1d array, the x position on the points 747 </div> 745 748 746 749 <h4 id="_inrecgrid_param_y1d">y1d … … 755 758 </h4> 756 759 757 <div class="comments"> a 1d array, the y position on the points</div> 760 <div class="comments"> 761 a 1d array, the y position on the points 762 </div> 758 763 759 764 <h4 id="_inrecgrid_param_left">left … … 768 773 </h4> 769 774 770 <div class="comments"> a 1d, monotonically increasing array, 771 the position of the "left" border of each cell.</div> 775 <div class="comments"> 776 a 1d, monotonically increasing array, 777 the position of the "left" border of each cell. 778 </div> 772 779 773 780 <h4 id="_inrecgrid_param_bottom">bottom … … 782 789 </h4> 783 790 784 <div class="comments"> a 1d, monotonically increasing array, 791 <div class="comments"> 792 a 1d, monotonically increasing array, 785 793 the position of the "bottom" border of each cell. 786 794 </div> … … 793 801 <h3>Keywords</h3> 794 802 795 <h4 id="_inrecgrid_keyword_ output2d">output2d 803 <h4 id="_inrecgrid_keyword_OUTPUT2D">OUTPUT2D 796 804 797 805 … … 804 812 </h4> 805 813 806 <div class="comments"> to get the output as a 2d array (2,n_elements(x1d)),807 with res[0,*] the x index accoring to the 1d array defined by808 left and res[1,*] the y index accoring to the 1d array defined by809 814 <div class="comments"> 815 to get the output as a 2d array (2,n_elements(x1d)), 816 with res[0,*] the x index according to the 1d array defined by 817 left and res[1,*] the y index according to the 1d array defined by bottom. 810 818 </div> 811 819 812 <h4 id="_inrecgrid_keyword_ checkout">checkout 820 <h4 id="_inrecgrid_keyword_CHECKOUT">CHECKOUT 813 821 814 822 … … 821 829 </h4> 822 830 823 <div class="comments">=[rbgrid,ubgrid] specify the right and upper bondaries of 824 the grid and check if some points are out. 831 <div class="comments"> 832 = [rbgrid,ubgrid] specify the right and upper boundaries of 833 the grid and check if some points are out. 825 834 </div> 826 835 827 836 828 837 829 <h3>Examples</h3><div class=" value">830 831 832 833 834 838 <h3>Examples</h3><div class="preformat"> 839 840 IDL> a=indgen(5) 841 IDL> b=indgen(7) 842 IDL> r=inrecgrid([0.25,3.25,2],[4.25,2.8,1.4],a,b) 843 IDL> print, r 835 844 20 13 7 836 837 845 IDL> r=inrecgrid([0.25,3.25,2],[4.25,2.8,1.4],a,a+1,b,b+1,/output2d) 846 IDL> print, r 838 847 0.00000 4.00000 839 848 3.00000 2.00000 840 849 2.00000 1.00000 841 850 </div> 842 851 <h3>Version history</h3> 843 852 844 <h4>Version</h4><div class=" value"> $Id: inrecgrid.pro 118 2006-06-27 15:47:06Z pinsard $845 </div> 846 <h4>History</h4><div class=" value">847 848 849 853 <h4>Version</h4><div class="preformat"> $Id: inrecgrid.pro 136 2006-07-10 15:20:19Z pinsard $ 854 </div> 855 <h4>History</h4><div class="preformat"> 856 S. Masson (smasson@lodyc.jussieu.fr) 857 July 3rd, 2002 858 October 3rd, 2003: use value_locate 850 859 </div> 851 860 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/ll_narcs_distances.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 698 698 <div id="file_comments"> 699 699 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). 707 706 </div> 708 707 … … 729 728 </div> 730 729 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. 735 733 </div> 736 734 … … 750 748 </h4> 751 749 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> 755 754 756 755 <h4 id="_LL_NARCS_DISTANCES_param_lat0">lat0 … … 765 764 </h4> 766 765 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> 770 770 771 771 <h4 id="_LL_NARCS_DISTANCES_param_arc_dist">arc_dist … … 780 780 </h4> 781 781 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 783 784 -!PI and +!PI. To express distances in arc units, divide 784 785 by the radius of the globe expressed in the original units. 785 786 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> 787 789 788 790 <h4 id="_LL_NARCS_DISTANCES_param_az">az … … 797 799 </h4> 798 800 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. 801 804 </div> 802 805 … … 819 822 </h4> 820 823 821 <div class="comments"> Set this keyword to express all measurements and822 results in degrees.824 <div class="comments"> 825 Set this keyword to express all measurements and results in degrees. 823 826 </div> 824 827 825 828 826 829 827 <h3>Examples</h3><div class=" value">830 <h3>Examples</h3><div class="preformat"> 828 831 IDL> Lon_lat0 = [1.0, 2.0]; Initial point specified in radians 829 832 IDL> Arc_Dist = 2.0; Arc distance in radians … … 833 836 2.91415 -0.622234 834 837 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.4d0841 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, *]) 843 846 10.000000 60.000000 280.00000 844 IDL> print, reform(res[1, *])845 1.1999280e-15 10.000000 45.000000847 IDL> print, reform(res[1, *]) 848 1.1999280e-15 10.000000 45.000000 846 849 </div> 847 850 <h3>Version history</h3> 848 851 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"> 852 855 Based on the IDL function ll_arc_distance.pro,v 1.11 2003/02/03 853 856 Sebastien Masson (smasson@lodyc.jussieu.fr) -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/map_npoints.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 697 697 698 698 <div id="file_comments"> 699 Return the distance in meter between all np0 points P0 and all700 701 702 703 704 699 Return the distance in meter between all np0 points P0 and all 700 np1 points P1 on a sphere. If keyword /TWO_BY_TWO is given then 701 returns the distances between number n of P0 points and number 702 n of P1 points (in that case, np0 and np1 must be equal). 703 Same as map_2points with the meter parameter but for n points 704 without do loop. 705 705 </div> 706 706 … … 722 722 723 723 <p class="header"> 724 <span class="result">result = </span>Map_npoints(<span class="result"><a href="#_Map_npoints_param_lon0">lon0</a>, <a href="#_Map_npoints_param_lat0">lat0</a>, <a href="#_Map_npoints_param_lon1">lon1</a>, <a href="#_Map_npoints_param_lat1">lat1</a></span>, <a href="#_Map_npoints_keyword_ azimuth">azimuth</a>=<span class="result">azimuth</span>, <a href="#_Map_npoints_keyword_RADIANS">RADIANS</a>=<span class="result">RADIANS</span>, <a href="#_Map_npoints_keyword_RADIUS">RADIUS</a>=<span class="result">RADIUS</span>, <a href="#_Map_npoints_keyword_MIDDLE">MIDDLE</a>=<span class="result">MIDDLE</span>, <a href="#_Map_npoints_keyword_TWO_BY_TWO">TWO_BY_TWO</a>=<span class="result">TWO_BY_TWO</span>)</p>724 <span class="result">result = </span>Map_npoints(<span class="result"><a href="#_Map_npoints_param_lon0">lon0</a>, <a href="#_Map_npoints_param_lat0">lat0</a>, <a href="#_Map_npoints_param_lon1">lon1</a>, <a href="#_Map_npoints_param_lat1">lat1</a></span>, <a href="#_Map_npoints_keyword_AZIMUTH">AZIMUTH</a>=<span class="result">AZIMUTH</span>, <a href="#_Map_npoints_keyword_RADIANS">RADIANS</a>=<span class="result">RADIANS</span>, <a href="#_Map_npoints_keyword_RADIUS">RADIUS</a>=<span class="result">RADIUS</span>, <a href="#_Map_npoints_keyword_MIDDLE">MIDDLE</a>=<span class="result">MIDDLE</span>, <a href="#_Map_npoints_keyword_TWO_BY_TWO">TWO_BY_TWO</a>=<span class="result">TWO_BY_TWO</span>)</p> 725 725 726 726 <div class="comments"> 727 727 </div> 728 728 729 <h3>Return value</h3><div class="value"> 730 An (np0,np1) array giving the distance in meter between np0 731 points P0 and np1 points P1. Element (i,j) of the ouput is the 732 distance between element P0[i] and P1[j]. 733 If keyword /TWO_BY_TWO is given then Map_nPoints returns 734 an np-element vector giving the distance in meter between P0[i] 735 and P1[i] (in that case, we have np0 = np1 = np) 736 if /MIDDLE see this keyword. 737 </div> 729 <h3>Return value</h3><div class="preformat"> 730 An (np0,np1) array giving the distance in meter between np0 731 points P0 and np1 points P1. Element (i,j) of the ouput is the 732 distance between element P0[i] and P1[j]. 733 If keyword /TWO_BY_TWO is given then Map_nPoints returns 734 an np-element vector giving the distance in meter between P0[i] 735 and P1[i] (in that case, we have np0 = np1 = np) ; if /MIDDLE see this keyword.</div> 738 736 739 737 … … 765 763 </h4> 766 764 767 <div class="comments"> 768 np0 elements vector. longitudes and latitudes of np0 points P0 765 <div class="comments"> 766 np0 elements vector. longitudes and latitudes of np0 points P0 769 767 </div> 770 768 … … 793 791 </h4> 794 792 795 <div class="comments"> 796 np1 elements vector. longitude and latitude of np1 points P1 793 <div class="comments"> 794 np1 elements vector. longitude and latitude of np1 points P1 797 795 </div> 798 796 … … 804 802 <h3>Keywords</h3> 805 803 806 <h4 id="_Map_npoints_keyword_ azimuth">azimuth 804 <h4 id="_Map_npoints_keyword_AZIMUTH">AZIMUTH 807 805 808 806 … … 815 813 </h4> 816 814 817 <div class="comments"> A named variable that will receive the azimuth of the great 818 circle connecting the two points, P0 to P1</div> 815 <div class="comments"> 816 A named variable that will receive the azimuth of the great 817 circle connecting the two points, P0 to P1 818 </div> 819 819 820 820 <h4 id="_Map_npoints_keyword_RADIANS">RADIANS … … 829 829 </h4> 830 830 831 <div class="comments"> if set, inputs and angular outputs are in radians, otherwise 832 degrees.</div> 831 <div class="comments"> 832 if set, inputs and angular outputs are in radians, otherwise degrees. 833 </div> 833 834 834 835 <h4 id="_Map_npoints_keyword_RADIUS">RADIUS … … 843 844 </h4> 844 845 845 <div class="comments"> 846 If given, return the distance between the two points calculated using the 846 <div class="comments"> 847 If given, return the distance between the two points calculated using the 847 848 given radius. 848 849 Default value is the Earth radius. … … 860 861 </h4> 861 862 862 <div class="comments"> to get the longitude/latitude of the middle point betwen P0 and P1.</div> 863 <div class="comments"> 864 to get the longitude/latitude of the middle point betwen P0 and P1. 865 </div> 863 866 864 867 <h4 id="_Map_npoints_keyword_TWO_BY_TWO">TWO_BY_TWO … … 873 876 </h4> 874 877 875 <div class="comments"> If given,then Map_nPoints returns the distances between 876 number n of P0 points and number n of P1 points (in that case, 877 np0 and np1 must be equal). 878 </div> 879 880 881 882 <h3>Examples</h3><div class="value"> 878 <div class="comments"> 879 If given,then Map_nPoints returns the distances between number n of 880 P0 points and number n of P1 points 881 In that case, np0 and np1 must be equal. 882 </div> 883 884 885 886 <h3>Examples</h3><div class="preformat"> 883 887 IDL> print, $ 884 map_npoints([-105.15,1],[40.02,1],[-0.07,100,50],[51.30,20,0])885 7551369.35600334.8886 12864354.10921254.887 14919237.5455558.8888 IDL> map_npoints([-105.15,1],[40.02,1],[-0.07,100,50],[51.30,20,0]) 889 7551369.3 5600334.8 890 12864354. 10921254. 891 14919237. 5455558.8 888 892 889 893 IDL> lon0 = [-10, 20, 100] … … 891 895 IDL> lon1 = [10, 60, 280] 892 896 IDL> lat1 = [0, 10, 45] 893 IDL> dist = map_npoints(lon0, lat0, lon1, lat1, azimuth= azi)897 IDL> dist = map_npoints(lon0, lat0, lon1, lat1, AZIMUTH = azi) 894 898 IDL> help, dist, azi 895 DIST DOUBLE= Array[3, 3]896 AZI DOUBLE= Array[3, 3]899 DIST DOUBLE = Array[3, 3] 900 AZI DOUBLE = Array[3, 3] 897 901 IDL> print, dist[4*lindgen(3)], azi[4*lindgen(3)] 898 2226414.0 4957944.510018863.899 90.000000 64.4944504.9615627e-15900 IDL> dist = map_npoints(lon0, lat0, lon1, lat1, azimuth = azi, /two_by_two)902 2226414.0 4957944.5 10018863. 903 90.000000 64.494450 4.9615627e-15 904 IDL> dist = map_npoints(lon0, lat0, lon1, lat1, AZIMUTH = azi, /TWO_BY_TWO) 901 905 IDL> help, dist, azi 902 DIST DOUBLE= Array[3]903 AZI DOUBLE= Array[3]906 DIST DOUBLE = Array[3] 907 AZI DOUBLE = Array[3] 904 908 IDL> print, dist, azi 905 2226414.0 4957944.510018863.906 90.000000 64.4944504.9615627e-15909 2226414.0 4957944.5 10018863. 910 90.000000 64.494450 4.9615627e-15 907 911 IDL> print, map_2points(lon0[0], lat0[0], lon1[0], lat1[0]) 908 20.00000090.000000909 IDL> print, map_npoints(lon0[0], lat0[0], lon1[0], lat1[0], azi=azi)/6378206.4d0 / !dtor, azi910 911 912 20.000000 90.000000 913 IDL> print, map_npoints(lon0[0], lat0[0], lon1[0], lat1[0], AZIMUTH=azi)/6378206.4d0 / !dtor, azi 914 20.000000 915 90.000000 912 916 913 917 IDL> lon0 = [-10, 20, 100] … … 915 919 IDL> lon1 = [10, 60, 280] 916 920 IDL> lat1 = [0, 10, 45] 917 IDL> mid = map_npoints(lon0, lat0, lon1, lat1, / middle, /two_by_two)921 IDL> mid = map_npoints(lon0, lat0, lon1, lat1, /MIDDLE, /TWO_BY_TWO) 918 922 IDL> print, reform(mid[0,*]), reform(mid[1,*]) 919 0.0000000 40.000000190.00000920 0.0000000 -1.5902773e-1590.000000923 0.0000000 40.000000 190.00000 924 0.0000000 -1.5902773e-15 90.000000 921 925 IDL> print, (map_2points(lon0[0], lat0[0], lon1[0], lat1[0], npath = 3))[*, 1] 922 0.00000000.0000000926 0.0000000 0.0000000 923 927 IDL> print, (map_2points(lon0[1], lat0[1], lon1[1], lat1[1], npath = 3))[*, 1] 924 40.000000-1.5902773e-15928 40.000000 -1.5902773e-15 925 929 IDL> print, (map_2points(lon0[2], lat0[2], lon1[2], lat1[2], npath = 3))[*, 1] 926 190.0000090.000000930 190.00000 90.000000 927 931 </div> 928 932 <h3>Version history</h3> 929 933 930 <h4>Version</h4><div class=" value"> $Id: map_npoints.pro 118 2006-06-27 15:47:06Z pinsard $931 </div> 932 <h4>History</h4><div class=" value">933 934 <h4>Version</h4><div class="preformat"> $Id: map_npoints.pro 136 2006-07-10 15:20:19Z pinsard $ 935 </div> 936 <h4>History</h4><div class="preformat"> 937 Based on the IDL function map_2points.pro,v 1.6 2001/01/15 934 938 Sebastien Masson (smasson@lodyc.jussieu.fr) 935 939 October 2003 936 940 </div> 937 941 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/neighbor.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 697 697 698 698 <div id="file_comments"> 699 find the closetest point of (P0) within a list of np1 points700 P1 Which can be on a sphere 699 find the closetest point of (P0) within a list of np1 points 700 P1 Which can be on a sphere 701 701 </div> 702 702 … … 723 723 </div> 724 724 725 <h3>Return value</h3><div class=" value">726 725 <h3>Return value</h3><div class="preformat"> 726 index giving the P1[index] point that is the closest point of (P0) 727 727 </div> 728 728 … … 742 742 </h4> 743 743 744 <div class="comments"> scalar. longitudes of point P0. </div> 744 <div class="comments"> 745 scalar. longitudes of point P0. 746 </div> 745 747 746 748 <h4 id="_neighbor_param_p0lat">p0lat … … 755 757 </h4> 756 758 757 <div class="comments"> scalar. latitudes of point P0. </div> 759 <div class="comments"> 760 scalar. latitudes of point P0. 761 </div> 758 762 759 763 <h4 id="_neighbor_param_neighlon">neighlon … … 768 772 </h4> 769 773 770 <div class="comments"> </div> 774 <div class="comments"> 775 </div> 771 776 772 777 <h4 id="_neighbor_param_neighlat">neighlat … … 781 786 </h4> 782 787 783 <div class="comments"> 788 <div class="comments"> 784 789 </div> 785 790 … … 816 821 </h4> 817 822 818 <div class="comments"> dis, to get back the distances between P0 and the np1 819 points P1 in the variable dis.</div> 823 <div class="comments"> 824 dis, to get back the distances between P0 and the np1 points P1 in the 825 variable dis. 826 </div> 820 827 821 828 <h4 id="_neighbor_keyword_radians">radians … … 830 837 </h4> 831 838 832 <div class="comments"> if set, inputs and angular outputs are in radians, otherwise 833 degrees.</div> 839 <div class="comments"> 840 if set, inputs and angular outputs are in radians, otherwise degrees. 841 </div> 834 842 835 843 836 844 837 <h3>Examples</h3><div class=" value">838 839 845 <h3>Examples</h3><div class="preformat"> 846 IDL> print, neighbor(-105.15,40.02,[-0.07,100,50],[51.30,20,0], $ 847 IDL> distance=dis) 840 848 0 841 849 IDL> print, dis 842 850 105.684 206.125 160.228 843 851 </div> 844 852 <h3>Version history</h3> 845 853 846 <h4>Version</h4><div class=" value"> $Id: neighbor.pro 118 2006-06-27 15:47:06Z pinsard $847 </div> 848 <h4>History</h4><div class=" value">854 <h4>Version</h4><div class="preformat"> $Id: neighbor.pro 136 2006-07-10 15:20:19Z pinsard $ 855 </div> 856 <h4>History</h4><div class="preformat"> 849 857 Sebastien Masson (smasson@lodyc.jussieu.fr) 850 858 October 2003 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/quadrilateral2square.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> warm (or map) an arbitrary quadrilateral onto a unit square 698 <div id="file_comments"> 699 warm (or map) an arbitrary quadrilateral onto a unit square 699 700 according to the 4-point correspondences: 700 701 (x0,y0) -> (0,0) … … 730 731 </div> 731 732 732 <h3>Return value</h3><div class="value"> 733 734 (2,n) array: the new coodinates (xout, yout) of the (xin,yin) 735 point(s) after mapping. 736 If xin is a scalar, then n is equal to the number of elements of 737 x0. If xin is an array , then n is equal to the number of 738 elements of xin. 733 <h3>Return value</h3><div class="preformat"> 734 735 (2,n) array: the new coodinates (xout, yout) of the (xin,yin) point(s) after 736 mapping. 737 If xin is a scalar, then n is equal to the number of elements of x0. 738 If xin is an array , then n is equal to the number of elements of xin. 739 739 </div> 740 740 … … 863 863 </h4> 864 864 865 <div class="comments"> the coordinates of the point(s) for which we want to do the mapping. Can be scalar or array.</div> 865 <div class="comments"> 866 the coordinates of the point(s) for which we want to do the mapping. 867 Can be scalar or array. 868 </div> 866 869 867 870 <h4 id="_quadrilateral2square_param_yyin">yyin … … 876 879 </h4> 877 880 878 <div class="comments"> the coordinates of the point(s) for which we want to do the mapping. Can be scalar or array. 881 <div class="comments"> 882 the coordinates of the point(s) for which we want to do the mapping. 883 Can be scalar or array. 879 884 </div> 880 885 … … 902 907 903 908 904 <h3>Examples</h3><div class=" value">909 <h3>Examples</h3><div class="preformat"> 905 910 906 911 IDL> splot,[0,5],[0,3],/nodata,xstyle=1,ystyle=1 … … 916 921 <h3>Version history</h3> 917 922 918 <h4>Version</h4><div class=" value"> $Id: quadrilateral2square.pro 118 2006-06-27 15:47:06Z pinsard $919 </div> 920 <h4>History</h4><div class=" value">923 <h4>Version</h4><div class="preformat"> $Id: quadrilateral2square.pro 136 2006-07-10 15:20:19Z pinsard $ 924 </div> 925 <h4>History</h4><div class="preformat"> 921 926 Sebastien Masson (smasson@lodyc.jussieu.fr) 922 927 August 2003 … … 924 929 IEEE Computer Society Press, Los Alamitos, California 925 930 Chapter 3, see p 52-56 926 931 927 932 </div> 928 933 … … 932 937 933 938 934 <h4>Restrictions</h4><div class="value"> I think degenerated quadrilateral (e.g. flat of 935 twisted) is not work. This has to be tested. 939 <h4>Restrictions</h4><div class="preformat"> 940 I think degenerated quadrilateral (e.g. flat of twisted) is not work. 941 This has to be tested. 936 942 </div> 937 943 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/spl_fstdrv.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> SPL_FSTDRV returns the values of the first derivative of 698 <div id="file_comments"> 699 SPL_FSTDRV returns the values of the first derivative of 699 700 the interpolating function at the points X2i. it is a double 700 701 precision array. … … 728 729 </div> 729 730 730 <h3>Return value</h3><div class=" value">731 732 y2: f'(x2) = y2. 731 <h3>Return value</h3><div class="preformat"> 732 733 y2: f'(x2) = y2. 733 734 </div> 734 735 … … 748 749 </h4> 749 750 750 <div class="comments"> An n-element (at least 2) input vector that specifies the 751 tabulate points in ascending order. 751 <div class="comments"> 752 An n-element (at least 2) input vector that specifies the 753 tabulate points in ascending order. 752 754 </div> 753 755 … … 763 765 </h4> 764 766 765 <div class="comments"> f(x) = y. An n-element input vector that specifies the values 766 of the tabulated function F(Xi) corresponding to Xi. 767 <div class="comments"> 768 f(x) = y. An n-element input vector that specifies the values 769 of the tabulated function F(Xi) corresponding to Xi. 767 770 </div> 768 771 … … 778 781 </h4> 779 782 780 <div class="comments"> The output from SPL_INIT for the specified X and Y. 783 <div class="comments"> 784 The output from SPL_INIT for the specified X and Y. 781 785 </div> 782 786 … … 792 796 </h4> 793 797 794 <div class="comments"> The input values for which the first derivative values are 795 desired. X can be scalar or an array of values. 798 <div class="comments"> 799 The input values for which the first derivative values are desired. 800 X can be scalar or an array of values. 796 801 </div> 797 802 … … 801 806 802 807 803 <h3>Examples</h3><div class=" value">808 <h3>Examples</h3><div class="preformat"> 804 809 IDL> y2 = spl_fstdrv(x, y, yscd, x2) 805 810 </div> 806 811 <h3>Version history</h3> 807 812 808 <h4>Version</h4><div class=" value"> $Id: spl_fstdrv.pro 118 2006-06-27 15:47:06Z pinsard$809 </div> 810 <h4>History</h4><div class=" value">813 <h4>Version</h4><div class="preformat"> $Id: spl_fstdrv.pro 134 2006-07-07 10:19:08Z navarro $ 814 </div> 815 <h4>History</h4><div class="preformat"> 811 816 Sebastien Masson (smasson@lodyc.jussieu.fr): May 2005 812 817 </div> -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/spl_incr.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 743 743 </div> 744 744 745 <h3>Return value</h3><div class=" value">745 <h3>Return value</h3><div class="preformat"> 746 746 747 747 y2: f(x2) = y2. Double precision array … … 763 763 </h4> 764 764 765 <div class="comments"> 766 An n-element (at least 2) input vector that specifies the tabulate points in 765 <div class="comments"> 766 An n-element (at least 2) input vector that specifies the tabulate points in 767 767 a strict ascending order. 768 768 </div> … … 779 779 </h4> 780 780 781 <div class="comments"> 781 <div class="comments"> 782 782 The input values for which the interpolated values are 783 desired. Its values must be strictly monotonically increasing. 783 desired. Its values must be strictly monotonically increasing. 784 784 </div> 785 785 … … 795 795 </h4> 796 796 797 <div class="comments"> 797 <div class="comments"> 798 798 f(x) = y. An n-element input vector that specifies the values 799 800 801 799 of the tabulated function F(Xi) corresponding to Xi. As f is 800 supposed to be monotonically increasing, y values must be 801 monotonically increasing. y can have equal consecutive values. 802 802 </div> 803 803 … … 826 826 </h4> 827 827 828 <div class="comments"></div> 828 <div class="comments"> 829 </div> 829 830 830 831 <h4 id="_pure_concave_param_x">x … … 839 840 </h4> 840 841 841 <div class="comments"> 842 </div> 843 844 845 846 847 848 849 <h3>Examples</h3><div class=" value">842 <div class="comments"> 843 </div> 844 845 846 847 848 849 850 <h3>Examples</h3><div class="preformat"> 850 851 851 852 IDL> n = 100L 852 IDL> x = (dindgen(n))^2 853 IDL> x = (dindgen(n))^2 853 854 IDL> y = abs(randomn(0, n)) 854 855 IDL> y[n/2:n/2+1] = 0. … … 863 864 IDL> oplot, x2, y2, color = 100 864 865 IDL> c = y2[1:n2-1] - y2[0:n2-2] 865 IDL> print, min(c) LT 0 866 IDL> print, min(c) LT 0 866 867 IDL> print, min(c, max = ma), ma 867 868 IDL> splot,c,xstyle=1,ystyle=1, yrange=[-.01,.05], ysurx=.25, petit = [1, 2, 2], /noerase … … 870 871 <h3>Version history</h3> 871 872 872 <h4>Version</h4><div class=" value"> $Id: spl_incr.pro 118 2006-06-27 15:47:06Z pinsard $873 </div> 874 <h4>History</h4><div class=" value">873 <h4>Version</h4><div class="preformat"> $Id: spl_incr.pro 136 2006-07-10 15:20:19Z pinsard $ 874 </div> 875 <h4>History</h4><div class="preformat"> 875 876 Sebastien Masson (smasson@lodyc.jussieu.fr): May-Dec 2005 876 877 </div> … … 881 882 882 883 883 <h4>Restrictions</h4><div class=" value">884 885 884 <h4>Restrictions</h4><div class="preformat"> 885 It might be possible that y2[i+1]-y2[i] has very small negative 886 values (amplitude smaller than 1.e-6)... 886 887 </div> 887 888 … … 925 926 </h4> 926 927 927 <div class="comments"> 928 An n-element (at least 2) input vector that specifies the tabulate points in 928 <div class="comments"> 929 An n-element (at least 2) input vector that specifies the tabulate points in 929 930 a strict ascending order. 930 931 </div> … … 941 942 </h4> 942 943 943 <div class="comments"> 944 <div class="comments"> 944 945 The input values for which the interpolated values are 945 desired. Its values must be strictly monotonically increasing. 946 desired. Its values must be strictly monotonically increasing. 946 947 </div> 947 948 … … 957 958 </h4> 958 959 959 <div class="comments"> 960 <div class="comments"> 960 961 f(x) = y. An n-element input vector that specifies the values 961 962 of the tabulated function F(Xi) corresponding to Xi. As f is … … 1001 1002 </h4> 1002 1003 1003 <div class="comments"> 1004 <div class="comments"> 1004 1005 </div> 1005 1006 … … 1124 1125 <div class="comments"> The first derivative of the interpolating function at the 1125 1126 point Xn-1. If YPN_1 is omitted, the second derivative at the 1126 boundary is set to zero, resulting in a "natural spline." 1127 boundary is set to zero, resulting in a "natural spline."</div> 1127 1128 1128 1129 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/spl_keep_mean.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 728 728 <div class="comments"></div> 729 729 730 <h3>Return value</h3><div class="value"> 731 732 y2: the meean value between two consecutive values of x2. This 733 array has one element less than y2. y2 has double precision. 730 <h3>Return value</h3><div class="preformat"> 731 y2: the mean value between two consecutive values of x2. This 732 array has one element less than y2. y2 has double precision. 734 733 </div> 735 734 … … 749 748 </h4> 750 749 751 <div class="comments"> An n-element (at least 2) input vector that specifies the 752 tabulate points in a strict ascending order. 750 <div class="comments"> 751 An n-element (at least 2) input vector that specifies the tabulate points in 752 a strict ascending order. 753 753 </div> 754 754 … … 764 764 </h4> 765 765 766 <div class="comments"> an array with one element less than x. y[i] represents the 767 mean value between x[i] and x[i+1]. if /GE0 is activated, y must 768 have positive values. 766 <div class="comments"> 767 an array with one element less than x. y[i] represents the 768 mean value between x[i] and x[i+1]. if /GE0 is activated, y must 769 have positive values. 769 770 </div> 770 771 … … 780 781 </h4> 781 782 782 <div class="comments"> The input values for which the interpolated values are783 desired. Its values must be strictly monotonically increasing.784 783 <div class="comments"> 784 The input values for which the interpolated values are desired. 785 Its values must be strictly monotonically increasing. 785 786 </div> 786 787 … … 803 804 </h4> 804 805 805 <div class="comments"> The first derivative of the interpolating function at the 806 point X0. If YP0 is omitted, the second derivative at the 807 boundary is set to zero, resulting in a "natural spline." 806 <div class="comments"> 807 The first derivative of the interpolating function at the 808 point X0. If YP0 is omitted, the second derivative at the 809 boundary is set to zero, resulting in a "natural spline." 808 810 </div> 809 811 … … 819 821 </h4> 820 822 821 <div class="comments"> The first derivative of the interpolating function at the 822 point Xn-1. If YPN_1 is omitted, the second derivative at the 823 boundary is set to zero, resulting in a "natural spline." 823 <div class="comments"> 824 The first derivative of the interpolating function at the 825 point Xn-1. If YPN_1 is omitted, the second derivative at the 826 boundary is set to zero, resulting in a "natural spline." 824 827 </div> 825 828 … … 835 838 </h4> 836 839 837 <div class="comments"> to force that y2 is always GE than 0. In that case, y must838 840 <div class="comments"> 841 to force that y2 is always GE than 0. In that case, y must also be GE than 0. 839 842 </div> 840 843 841 844 842 845 843 <h3>Examples</h3><div class=" value">846 <h3>Examples</h3><div class="preformat"> 844 847 845 848 12 monthly values of precipitations into daily values: … … 865 868 <h3>Version history</h3> 866 869 867 <h4>Version</h4><div class=" value"> $Id: spl_keep_mean.pro 118 2006-06-27 15:47:06Z pinsard $868 </div> 869 <h4>History</h4><div class=" value">870 <h4>Version</h4><div class="preformat"> $Id: spl_keep_mean.pro 136 2006-07-10 15:20:19Z pinsard $ 871 </div> 872 <h4>History</h4><div class="preformat"> 870 873 Sebastien Masson (smasson@lodyc.jussieu.fr): May 2005 871 874 </div> … … 876 879 877 880 878 <h4>Restrictions</h4><div class="value"> 879 It might be possible that y2 has very small negative values 880 (amplitude smaller than 1.e-6)... 881 881 <h4>Restrictions</h4><div class="preformat"> 882 It might be possible that y2 has very small negative values 883 (amplitude smaller than 1.e-6)... 882 884 </div> 883 885 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/square2quadrilateral.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> warm (or map) a unit square onto an arbitrary quadrilateral 698 <div id="file_comments"> 699 warm (or map) a unit square onto an arbitrary quadrilateral 699 700 according to the 4-point correspondences: 700 701 (0,0) -> (x0,y0) … … 721 722 722 723 <h2><a class="top" href="#container">top</a>square2quadrilateral <span class="categories"> image, grid manipulation 723 724 </span></h2> 724 </span></h2> 725 725 726 726 <p class="header"> … … 730 730 </div> 731 731 732 <h3>Return value</h3><div class="value"> 733 734 (2,n) array: the new coodinates (xout, yout) of the (xin,yin) 735 point(s) after mapping. 736 If xin is a scalar, then n is equal to the number of elements of 737 x0. If xin is an array , then n is equal to the number of 738 elements of xin. 739 If xin and yin are omited, square2quadrilateral returns the 740 matrix A which is used for the inverse transformation. 741 732 <h3>Return value</h3><div class="preformat"> 733 (2,n) array: the new coodinates (xout, yout) of the (xin,yin) 734 point(s) after mapping. 735 If xin is a scalar, then n is equal to the number of elements of 736 x0. If xin is an array , then n is equal to the number of 737 elements of xin. 738 If xin and yin are omited, square2quadrilateral returns the 739 matrix A which is used for the inverse transformation. 742 740 </div> 743 741 … … 757 755 </h4> 758 756 759 <div class="comments"> the coordinates of the quadrilateral 760 (see above for correspondance with the unit square). Can be 761 scalar or array. (x0,y0), (x1,y1), (x2,y2) and (x3,y3) are 762 given in the anticlockwise order.</div> 757 <div class="comments"></div> 763 758 764 759 <h4 id="_square2quadrilateral_param_y0in">y0in … … 773 768 </h4> 774 769 775 <div class="comments"> the coordinates of the quadrilateral 776 (see above for correspondance with the unit square). Can be 777 scalar or array. (x0,y0), (x1,y1), (x2,y2) and (x3,y3) are 778 given in the anticlockwise order.</div> 770 <div class="comments"></div> 779 771 780 772 <h4 id="_square2quadrilateral_param_x1in">x1in … … 789 781 </h4> 790 782 791 <div class="comments"> the coordinates of the quadrilateral 792 (see above for correspondance with the unit square). Can be 793 scalar or array. (x0,y0), (x1,y1), (x2,y2) and (x3,y3) are 794 given in the anticlockwise order.</div> 783 <div class="comments"></div> 795 784 796 785 <h4 id="_square2quadrilateral_param_y1in">y1in … … 805 794 </h4> 806 795 807 <div class="comments"> the coordinates of the quadrilateral 808 (see above for correspondance with the unit square). Can be 809 scalar or array. (x0,y0), (x1,y1), (x2,y2) and (x3,y3) are 810 given in the anticlockwise order.</div> 796 <div class="comments"></div> 811 797 812 798 <h4 id="_square2quadrilateral_param_x2in">x2in … … 821 807 </h4> 822 808 823 <div class="comments"> the coordinates of the quadrilateral 824 (see above for correspondance with the unit square). Can be 825 scalar or array. (x0,y0), (x1,y1), (x2,y2) and (x3,y3) are 826 given in the anticlockwise order.</div> 809 <div class="comments"></div> 827 810 828 811 <h4 id="_square2quadrilateral_param_y2in">y2in … … 837 820 </h4> 838 821 839 <div class="comments"> the coordinates of the quadrilateral 840 (see above for correspondance with the unit square). Can be 841 scalar or array. (x0,y0), (x1,y1), (x2,y2) and (x3,y3) are 842 given in the anticlockwise order.</div> 822 <div class="comments"></div> 843 823 844 824 <h4 id="_square2quadrilateral_param_x3in">x3in … … 853 833 </h4> 854 834 855 <div class="comments"> the coordinates of the quadrilateral 856 (see above for correspondance with the unit square). Can be 857 scalar or array. (x0,y0), (x1,y1), (x2,y2) and (x3,y3) are 858 given in the anticlockwise order.</div> 835 <div class="comments"></div> 859 836 860 837 <h4 id="_square2quadrilateral_param_y3in">y3in … … 869 846 </h4> 870 847 871 <div class="comments"> the coordinates of the quadrilateral 872 (see above for correspondance with the unit square). Can be 873 scalar or array. (x0,y0), (x1,y1), (x2,y2) and (x3,y3) are 874 given in the anticlockwise order. 848 <div class="comments"> 849 the coordinates of the quadrilateral (see above for correspondance with the 850 unit square). 851 Can be scalar or array. 852 (x0,y0), (x1,y1), (x2,y2) and (x3,y3) are given in the anticlockwise order. 853 875 854 </div> 876 855 … … 886 865 </h4> 887 866 888 <div class="comments"> the coordinates of the point(s) for which we want to do the 889 mapping. Can be scalar or array.</div> 867 <div class="comments"></div> 890 868 891 869 <h4 id="_square2quadrilateral_param_yyin">yyin … … 900 878 </h4> 901 879 902 <div class="comments"> the coordinates of the point(s) for which we want to do the903 mapping. Can be scalar or array.904 </div> 905 906 907 908 909 910 911 <h3>Examples</h3><div class=" value">880 <div class="comments"> 881 the coordinates of the point(s) for which we want to do the mapping. 882 </div> 883 884 885 886 887 888 889 <h3>Examples</h3><div class="preformat"> 912 890 913 891 IDL> splot,[0,5],[0,3],/nodata,xstyle=1,ystyle=1 … … 920 898 <h3>Version history</h3> 921 899 922 <h4>Version</h4><div class=" value"> $Id: square2quadrilateral.pro 118 2006-06-27 15:47:06Z pinsard $923 </div> 924 <h4>History</h4><div class=" value">900 <h4>Version</h4><div class="preformat"> $Id: square2quadrilateral.pro 136 2006-07-10 15:20:19Z pinsard $ 901 </div> 902 <h4>History</h4><div class="preformat"> 925 903 Sebastien Masson (smasson@lodyc.jussieu.fr) 926 904 August 2003 … … 928 906 IEEE Computer Society Press, Los Alamitos, California 929 907 Chapter 3, see p 52-56 930 908 931 909 </div> 932 910 … … 936 914 937 915 938 <h4>Restrictions</h4><div class="value"> I think degenerated quadrilateral (e.g. flat of 939 twisted) is not work. This has to be tested. 916 <h4>Restrictions</h4><div class="preformat"> 917 I think degenerated quadrilateral (e.g. flat of twisted) is not work. 918 This has to be tested. 940 919 </div> 941 920 -
trunk/SRC/Documentation/idldoc_html_output/Interpolation/testinterp.html
r111 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%;
Note: See TracChangeset
for help on using the changeset viewer.