- Timestamp:
- 06/12/06 10:29:56 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Interpolation/compute_fromreg_bilinear_weigaddr.pro
r98 r101 1 1 ;+ 2 ; NAME: compute_fromreg_bilinear_weigaddr 3 ; 4 ; PURPOSE: compute the weight and address neede to interpolate data from a 2 ; @file_comments compute the weight and address neede to interpolate data from a 5 3 ; "regular grid" to any grid using the bilinear method 6 4 ; 7 ; CATEGORY:interpolation 8 ; 9 ; CALLING SEQUENCE: 10 ; compute_fromreg_bilinear_weigaddr, alon, alat, olon, olat, weig, addr 11 ; 12 ; INPUTS: 13 ; lonin and latin: longitude/latitude of the input data. Must be 1D arrays 14 ; lonout and latout: longitude/latitude of the output data. Must be 2D arrays 15 ; 16 ; KEYWORD PARAMETERS: 17 ; 18 ; /NONORTHERNLINE and /NOSOUTHERNLINE: activate if you don't whant to take into 19 ; account the northen/southern line of the input data when perfoming the 5 ; @categories interpolation 6 ; 7 ; @param alonin {in}{required} longitudeof the input data 8 ; @param alatin {in}{required} latitude of the input data 9 ; @param olonin {in}{required} longitude of the output data 10 ; @param olat {in}{required} latitude of the output data 11 ; 12 ; @keyword /NONORTHERNLINE activate if you don't whant to take into 13 ; account the northen line of the input data when perfoming the 14 ; @keyword /NOSOUTHERNLINE activate if you don't whant to take into 15 ; account the southern line of the input data when perfoming the 20 16 ; interpolation. 21 17 ; 22 ; OUTPUTS:18 ; @returns 23 19 ; weig, addr: 2D arrays, weig and addr are the weight and addresses used to 24 20 ; perform the interpolation: … … 26 22 ; dataout = reform(dataout, jpio, jpjo, /over) 27 23 ; 28 ; COMMON BLOCKS: none 29 ; 30 ; SIDE EFFECTS: ? 31 ; 32 ; RESTRICTIONS: 24 ; @restrictions 33 25 ; - the input grid must be a "regular grid", defined as a grid for which each 34 26 ; lontitudes lines have the same latitude and each latitudes columns have the … … 39 31 ; using a linear interpolation only along the longitudinal direction. 40 32 ; 41 ; EXAMPLE: 42 ; 43 ; MODIFICATION HISTORY: 33 ; @history 44 34 ; November 2005: Sebastien Masson (smasson@lodyc.jussieu.fr) 45 35 ;
Note: See TracChangeset
for help on using the changeset viewer.