- Timestamp:
- 06/12/06 10:29:56 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Interpolation/compute_fromreg_imoms3_weigaddr.pro
r69 r101 1 1 ;+ 2 ; NAME: compute_fromreg_imoms3_weigaddr 3 ; 4 ; PURPOSE: compute the weight and address neede to interpolate data from a 2 ; 3 ; @file_comments compute the weight and address neede to interpolate data from a 5 4 ; "regular grid" to any grid using the imoms3 method 6 5 ; 7 ; CATEGORY:interpolation 8 ; 9 ; CALLING SEQUENCE: 10 ; compute_fromreg_imoms3_weigaddr, alon, alat, olon, olat, weig, addr 11 ; 12 ; INPUTS: 13 ; lonin and latin: longitude/latitude of the input data 14 ; lonout and latout: longitude/latitude of the output data 15 ; 16 ; KEYWORD PARAMETERS: 17 ; 18 ; /NONORTHERNLINE and /NOSOUTHERNLINE: activate if you don't whant to take into 6 ; @categories interpolation 7 PRO compute_fromreg_imoms3_weigaddr, alonin, alatin, olonin, olat, weig, addr $ 8 ; 9 ; @param alonin {in}{required} longitude of the input data 10 ; @param alatin {in}{required} latitude of the input data 11 ; @param olonin {in}{required} longitude of the output data 12 ; @param olat {in}{required} latitude of the output data 13 ; 14 ; @keyword /NONORTHERNLINE and /NOSOUTHERNLINE activate if you don't whant to take into 19 15 ; account the northen/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/rectangular grid", defined as a grid for 34 26 ; which each lontitudes lines have the same latitude and each latitudes columns … … 42 34 ; using a imoms3 interpolation only along the longitudinal direction. 43 35 ; 44 ; EXAMPLE: 45 ; 46 ; MODIFICATION HISTORY: 47 ; November 2005: Sebastien Masson (smasson@lodyc.jussieu.fr) 36 ; @history 37 ; November 2005: Sebastien Masson (smasson\@lodyc.jussieu.fr) 48 38 ; March 2006: works for rectangular grids 49 39 ;-
Note: See TracChangeset
for help on using the changeset viewer.