Changeset 372 for trunk/SRC/Interpolation
- Timestamp:
- 08/08/08 14:31:53 (16 years ago)
- Location:
- trunk/SRC/Interpolation
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Interpolation/clickincell.pro
r371 r372 10 10 ; = 'T', 'W', 'U', 'V' or 'F' 11 11 ; the type of point 12 ; 13 ; 14 ; 12 ; that is located in the center of the cell which the click is 13 ; located. default is T type of cell (with corner defined by F 14 ; points). 15 15 ; 16 16 ; @keyword DRAWCELL -
trunk/SRC/Interpolation/compute_fromirr_bilinear_weigaddr.pro
r325 r372 52 52 ; 53 53 ; @history 54 ; 54 ; June 2006: Sebastien Masson (smasson\@lodyc.jussieu.fr) 55 55 ; 56 56 ; @version -
trunk/SRC/Interpolation/compute_fromreg_bilinear_weigaddr.pro
r327 r372 47 47 ; 48 48 ; @history 49 ; 49 ; November 2005: Sebastien Masson (smasson\@lodyc.jussieu.fr) 50 50 ; 51 51 ; @version -
trunk/SRC/Interpolation/compute_fromreg_imoms3_weigaddr.pro
r327 r372 50 50 ; 51 51 ; @history 52 ; 53 ; 52 ; November 2005: Sebastien Masson (smasson\@lodyc.jussieu.fr) 53 ; March 2006: works for rectangular grids 54 54 ; 55 55 ; @version -
trunk/SRC/Interpolation/cutpar.pro
r371 r372 57 57 ; 58 58 ; @history 59 ; 60 ; 59 ; S. Masson (smasson\@lodyc.jussieu.fr) 60 ; - July 5th, 2002 61 61 ; 62 62 ; @version -
trunk/SRC/Interpolation/fromirr.pro
r371 r372 3 3 ; @file_comments 4 4 ; interpolate data from an irregular 2D grid to any 2D grid. 5 ; Only 1 method available = bilinear 5 ; 6 ; Only 1 method available = bilinear 6 7 ; 7 8 ; @categories … … 46 47 ; dataout = total(weig*datain[addr], 1) 47 48 ; dataout = reform(dataout, jpio, jpjo, /over) 49 ; 48 50 ; In that case, method, lonin, latin, are not used (but are necessary). 49 51 ; lonout, latout are used only to know the output domain size … … 82 84 ; 83 85 ; @history 84 ; 86 ; June 2006: Sebastien Masson (smasson\@lodyc.jussieu.fr) 85 87 ; 86 88 ; @version -
trunk/SRC/Interpolation/fromreg.pro
r371 r372 3 3 ; @file_comments 4 4 ; interpolate data from a "regular/rectangular grid" to any grid. 5 ; 2 methods available: bilinear and imoms3 6 ; A "regular/rectangular grid" is defined as a grid for which 7 ; each longitude lines have the same latitude and each latitude columns 5 ; 6 ; 2 methods available: bilinear and imoms3 7 ; 8 ; A "regular/rectangular grid" is defined as a grid for which 9 ; 10 ; Each longitude lines have the same latitude and each latitude columns 8 11 ; have the same longitude. 9 12 ; … … 42 45 ; dataout = total(weig*datain[addr], 1) 43 46 ; dataout = reform(dataout, jpio, jpjo, /over) 47 ; 44 48 ; In that case, method, lonin, latin, are not used (but are necessary). 45 49 ; lonout, latout are used only to know the output domain size -
trunk/SRC/Interpolation/get_gridparams.pro
r371 r372 59 59 ; @examples 60 60 ; 61 ; 1) IDL> ncdf_get_gridparams, 'coordinates_ORCA_R05.nc', 'glamt', 'gphit' $ 61 ; 1) 62 ; 63 ; IDL> ncdf_get_gridparams, 'coordinates_ORCA_R05.nc', 'glamt', 'gphit' $ 62 64 ; , olon, olat, jpio, jpjo, 2 63 65 ; 64 ; 2) IDL> ncdf_get_gridparams, olon, olat, jpio, jpjo, 2 66 ; 2) 67 ; 68 : IDL> ncdf_get_gridparams, olon, olat, jpio, jpjo, 2 65 69 ; 66 70 ; @history 67 ; 71 ; November 2005: Sebastien Masson (smasson\@lodyc.jussieu.fr) 68 72 ; 69 73 ; @version -
trunk/SRC/Interpolation/inrecgrid.pro
r371 r372 2 2 ; 3 3 ; @file_comments 4 ; given - a list of points, (x,y) position 5 ; - the x and y limits of a rectangular grid 4 ; given 5 ; - a list of points, (x,y) position 6 ; - the x and y limits of a rectangular grid 7 ; 6 8 ; find in which cell is located each given point. 7 9 ; … … 48 50 ; @history 49 51 ; S. Masson (smasson\@lodyc.jussieu.fr) 50 ; July 3rd, 200251 ; October 3rd, 2003: use value_locate52 ; - July 3rd, 2002 53 ; - October 3rd, 2003: use value_locate 52 54 ; 53 55 ; @version -
trunk/SRC/Interpolation/quadrilateral2square.pro
r371 r372 4 4 ; warm (or map) an arbitrary quadrilateral onto a unit square 5 5 ; according to the 4-point correspondences: 6 ; (x0,y0) -> (0,0) 7 ; (x1,y1) -> (1,0) 8 ; (x2,y2) -> (1,1) 9 ; (x3,y3) -> (0,1) 6 ; - (x0,y0) -> (0,0) 7 ; - (x1,y1) -> (1,0) 8 ; - (x2,y2) -> (1,1) 9 ; - (x3,y3) -> (0,1) 10 ; 10 11 ; This is the inverse function of <pro>square2quadrilateral</pro>. 11 12 ; -
trunk/SRC/Interpolation/spl_fstdrv.pro
r371 r372 31 31 ; 32 32 ; @returns 33 ; 33 ; y2: f'(x2) = y2. 34 34 ; 35 35 ; @history 36 ; 36 ; Sebastien Masson (smasson\@lodyc.jussieu.fr): May 2005 37 37 ; 38 38 ; @version -
trunk/SRC/Interpolation/spl_keep_mean.pro
r371 r372 47 47 ; @examples 48 48 ; 49 ; 49 ; 12 monthly values of precipitations into daily values: 50 50 ; 51 51 ; IDL> yr1 = 1990 … … 68 68 ; 69 69 ; @history 70 ; 70 ; Sebastien Masson (smasson\@lodyc.jussieu.fr): May 2005 71 71 ; 72 72 ; @version -
trunk/SRC/Interpolation/square2quadrilateral.pro
r371 r372 4 4 ; warm (or map) a unit square onto an arbitrary quadrilateral 5 5 ; according to the 4-point correspondences: 6 ; (0,0) -> (x0,y0) 7 ; (1,0) -> (x1,y1) 8 ; (1,1) -> (x2,y2) 9 ; (0,1) -> (x3,y3) 6 ; - (0,0) -> (x0,y0) 7 ; - (1,0) -> (x1,y1) 8 ; - (1,1) -> (x2,y2) 9 ; - (0,1) -> (x3,y3) 10 ; 10 11 ; The mapping is done using perspective transformation which preserve 11 12 ; lines in all orientations and permit quadrilateral to quadrilateral … … 59 60 ; 60 61 ; @history 61 ; Sebastien Masson (smasson\@lodyc.jussieu.fr) 62 ; August 2003 63 ; Based on "Digital Image Warping" by G. Wolberg 64 ; IEEE Computer Society Press, Los Alamitos, California 65 ; Chapter 3, see p 52-56 66 ; 62 ; Sebastien Masson (smasson\@lodyc.jussieu.fr) 63 ; - August 2003 64 ; Based on "Digital Image Warping" by G. Wolberg 65 ; IEEE Computer Society Press, Los Alamitos, California 66 ; Chapter 3, see p 52-56 67 67 ; 68 68 ; @version
Note: See TracChangeset
for help on using the changeset viewer.