mment">matfile = 'c4.mat';
ncfile = 'case_s0004.nc';
basename = 'skg4.3';
first_time = '20090618_000000';
last_time = '20090621_000000';
increment = 3600;
isforcing = true;
kn = .003;
 Convert a SWAN output file (Matlab) into a NetCDF file

 function swan2netcdf(matfile,ncfile,basename,first_time,last_time,increment);

 DESCRIPTION:
    read output from unstructured SWAN model (currently 40.82) and
    dump to a NetCDF file which is far more useful than a Matlab file.

 INPUT
   matfile  = Unstructured SWAN