Ignore:
Timestamp:
07/06/06 16:10:25 (18 years ago)
Author:
pinsard
Message:

improvements of Interpolation/*.pro header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Interpolation/fromreg.pro

    r121 r125  
    11;+ 
    22; 
    3 ; @file_comments interpolate data from a "regular/rectangular grid" to any grid. 
    4 ;   2 metods availables: bilinear and imoms3  
    5 ;   A "regular/rectangular grid" is defined as a grid for which each lontitudes lines have  
     3; @file_comments  
     4; interpolate data from a "regular/rectangular grid" to any grid. 
     5;   2 methods availables: bilinear and imoms3 
     6;   A "regular/rectangular grid" is defined as a grid for which each lontitudes lines have 
    67;   the same latitude and each latitudes columns have the same longitude. 
    7 ;    
     8; 
    89; @categories interpolation 
    910; 
    10 ; @param method {in}{required}  a string defining the interpolation method.  
     11; @param method {in}{required}  a string defining the interpolation method. 
    1112;            must be 'bilinear' or 'imoms3' 
    1213; @param datain {in}{required}  a 2D array the input data to interpolate 
     
    2627;     case, lonin, latin, lonout and latout are not necessary. 
    2728; 
    28 ; @keyword /NONORTHERNLINE  
    29 ; @keyword /NOSOUTHERNLINE  
    30 ; activate if you don't whant to take into account the northen/southern line  
     29; @keyword NONORTHERNLINE 
     30; @keyword NOSOUTHERNLINE 
     31; activate if you don't want to take into account the northen/southern line 
    3132; of the input data when perfoming the interpolation. 
    3233; 
    3334; @returns 2D array the interpolated data 
    3435; 
    35 ; @restrictions We supposed the data are located on a sphere, with a  
    36 ; periodicity along the longitude. 
     36; @restrictions 
     37; We supposed the data are located on a sphere, with a periodicity along the 
     38; longitude. 
    3739; 
    38 ; @examples   
    39  
    40 ;  IDL> topa = fromreg('bilinear', tncep, xncep, yncep, glamt, gphit) 
     40; @examples 
    4141; 
    42 ;  or  
     42; IDL> topa = fromreg('bilinear', tncep, xncep, yncep, glamt, gphit) 
    4343; 
    44 ;  IDL> t1opa = fromreg('bilinear', t1ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b) 
    45 ;  IDL> help, a, b 
    46 ;  IDL> t2opa = fromreg('bilinear', t2ncep, xncep, WEIG = a, ADDR = b) 
     44;  or 
     45; 
     46; IDL> t1opa = fromreg('bilinear', t1ncep, xncep, yncep, glamt, gphit, WEIG = a, ADDR = b) 
     47; IDL> help, a, b 
     48; IDL> t2opa = fromreg('bilinear', t2ncep, xncep, WEIG = a, ADDR = b) 
    4749; 
    4850; @history 
    49 ;  November 2005: Sebastien Masson (smasson\@lodyc.jussieu.fr)  
     51;  November 2005: Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    5052; 
    5153; @version $Id$ 
     
    6062                  , NOSOUTHERNLINE = nosouthernline 
    6163; 
    62   compile_opt idl2, strictarrsubs  
     64  compile_opt idl2, strictarrsubs 
    6365; 
    6466;--------------- 
     
    8183      'bilinear':compute_fromreg_bilinear_weigaddr, alon, alat, olon, olat, weig, addr, NONORTHERNLINE = nonorthernline, NOSOUTHERNLINE = nosouthernline 
    8284      'imoms3':  compute_fromreg_imoms3_weigaddr,   alon, alat, olon, olat, weig, addr, NONORTHERNLINE = nonorthernline, NOSOUTHERNLINE = nosouthernline 
    83       ELSE:BEGIN  
     85      ELSE:BEGIN 
    8486        print, ' unknown interpolation method... we stop' 
    8587        stop 
Note: See TracChangeset for help on using the changeset viewer.