- Timestamp:
- 07/12/06 11:52:09 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset
for help on using the changeset viewer.