Changeset 8718


Ignore:
Timestamp:
06/24/11 14:31:48 (14 years ago)
Author:
jschierm
Message:

Updated usage for Exp2Kml mex module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/mex/Exp2Kml/Exp2Kml.cpp

    r8714 r8718  
    9595        _printf_(true,"\n");
    9696        _printf_(true,"   Usage:\n");
    97         _printf_(true,"      [lat,lon]=Exp2Kml(x,y,sgn,'param name',param,...);\n");
     97        _printf_(true,"      [ret]=Exp2Kml(filexp,filkml,sgn,'param name',param,...);\n");
    9898        _printf_(true,"\n");
    99         _printf_(true,"      x           x coordinates (double vector)\n");
    100         _printf_(true,"      y           y coordinates (double vector)\n");
     99        _printf_(true,"      filexp      file name of exp file to be read (char)\n");
     100        _printf_(true,"      filkml      file name of kml file to be written (char)\n");
    101101        _printf_(true,"      sgn         sign for hemisphere (double, +1 (north) or -1 (south))\n");
    102102        _printf_(true,"\n");
    103103        _printf_(true,"      central_meridian     central meridian (double, optional, but must specify with sp)\n");
    104104        _printf_(true,"      standard_parallel    standard parallel (double, optional, but must specify with cm)\n");
     105        _printf_(true,"      holes       flag for treatment of multiple profiles (char, optional, 'yes' for holes))\n");
    105106        _printf_(true,"\n");
    106         _printf_(true,"      lat         latitude coordinates (double vector)\n");
    107         _printf_(true,"      lon         longitude coordinates (double vector)\n");
     107        _printf_(true,"      ret         return code (non-zero for warning)\n");
    108108        _printf_(true,"\n");
    109109        _printf_(true,"   Examples:\n");
    110         _printf_(true,"      [lat,lon]=Exp2Kml(x,y, 1);\n");
    111         _printf_(true,"      [lat,lon]=Exp2Kml(x,y, 1,'central_meridian',45,'standard_parallel',70);\n");
    112         _printf_(true,"      [lat,lon]=Exp2Kml(x,y,-1,'central_meridian', 0,'standard_parallel',71);\n");
     110        _printf_(true,"      [ret]=Exp2Kml('file.exp','file.kml', 1);\n");
     111        _printf_(true,"      [ret]=Exp2Kml('file.exp','file.kml', 1,'central_meridian',45,'standard_parallel',70,'holes','yes');\n");
     112        _printf_(true,"      [ret]=Exp2Kml('file.exp','file.kml',-1,'central_meridian', 0,'standard_parallel',71,'holes','yes');\n");
    113113        _printf_(true,"\n");
    114114}
Note: See TracChangeset for help on using the changeset viewer.