Ignore:
Timestamp:
06/12/06 10:29:56 (18 years ago)
Author:
pinsard
Message:

start to modify headers of Interpolation *.pro files for better idldoc output

File:
1 edited

Legend:

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

    r69 r101  
    11;+ 
    2 ; NAME: get_gridparams 
    3 ; 
    4 ; PURPOSE:  
     2; 
     3; @file_comments  
    54;   1) extract from a NetCDF file the longitude, latidude, and their dimensions 
    65;      and make sure it is 1D or 2D arrays  
     
    98;      they are 1D or 2D arrays  
    109; 
    11 ; CATEGORY:for interpolations tools 
    12 ; 
    13 ; CALLING SEQUENCE: 
     10; @categories interpolation 
     11; 
     12; @examples  
    1413;  
    1514; 1) get_gridparams, file, lonname, latname, lon, lat, jpi, jpj, n_dimensions 
     
    1918; 2) get_gridparams, lon, lat, jpi, jpj, n_dimensions 
    2019; 
    21 ; INPUTS: 
    22 ; 
    2320; 1)  
    24 ;  file: the name of the netcdf file 
    25 ;  loname: the name of the variable that contains the longitude in the NetCDF file 
    26 ;  latname: the name of the variable that contains the latitude in the NetCDF file 
     21; @param in1 {in}{required}  the name of the netcdf file 
     22;  @param in2 {in}{required}  the name of the variable that contains the longitude in the NetCDF file 
     23;  @param in3 {in}{required}  the name of the variable that contains the latitude in the NetCDF file 
     24;  @param in4  {out} the number of points in the longitudinal direction 
     25;  @param in5  {out} the number of points in the latitudinal direction 
     26; @param in6 {out} the variable that will contain the longitudes 
     27;  @param in7  {out} the variable that will contain the latitudes 
     28;  @param in8 {out} 1 or 2 to specify if lon and lat should be 1D (jpi or jpj) 
    2729; 
    2830; or  
    2931; 
    30 ; 2) lon and lat: 1d or 2D arrays defining longitudes and latitudes.  
     32; 2)  
     33; @param lon lat {in}{required}  1d or 2D arrays defining longitudes and latitudes.  
    3134;    Note that these arrays are also outputs and can therefore be modified.  
    3235 
    33 ; KEYWORD PARAMETERS: none 
    34 ; 
    35 ; OUTPUTS: 
    36 ;  lon the variable that will contain the longitudes 
    37 ;  lat the variable that will contain the latitudes 
    38 ;  jpi the number of points in the longitudinal direction 
    39 ;  jpj the number of points in the latitudinal direction 
    40 ;  n_dimensions: 1 or 2 to specify if lon and lat should be 1D (jpi or jpj) 
     36; @param in1 {out} the variable that will contain the longitudes 
     37;  @param in2  {out} the variable that will contain the latitudes 
     38;  @param in3  {out} the number of points in the longitudinal direction 
     39;  @param in4  {out} the number of points in the latitudinal direction 
     40;  @param in5 {out} 1 or 2 to specify if lon and lat should be 1D (jpi or jpj) 
    4141;    arrays or 2D arrays (jpi,jpj). Note that of  n_dimensions = 1, then the 
    4242;    grid must be regular (each longitudes must be the same for all latitudes 
    4343;    and each latitudes should be the sae for all longitudes).  
    4444; 
    45 ; COMMON BLOCKS: none 
    46 ; 
    47 ; SIDE EFFECTS: ? 
    48 ; 
    49 ; RESTRICTIONS: ? 
    50 ; 
    51 ; EXAMPLE:  
     45; @examples   
    5246;  
    5347; 1) ncdf_get_gridparams, 'coordinates_ORCA_R05.nc', 'glamt', 'gphit' $ 
     
    5650; 2) ncdf_get_gridparams, olon, olat, jpio, jpjo, 2 
    5751; 
    58 ; MODIFICATION HISTORY: 
    59 ;  November 2005: Sebastien Masson (smasson@lodyc.jussieu.fr)  
     52; @history 
     53;  November 2005: Sebastien Masson (smasson\@lodyc.jussieu.fr)  
    6054;  
    6155;- 
Note: See TracChangeset for help on using the changeset viewer.