function whatcdf

%--------------------------------------------------------------------
%     Copyright (C) J. V. Mansbridge, CSIRO, january 24 1992
% CHANGE   1.1 92/01/30
%
% DESCRIPTION:
% whatcdf lists all of the netcdf files in the current directory but without
% their .cdf suffix.  Compressed files are listed also.
% 
% INPUT:
% none
%
% OUTPUT:
% messages to the user's terminal
%
% EXAMPLE:
% Simply type whatcdf at the matlab prompt.
%
% CALLER:   general purpose
% CALLEE:   Unix ls, sed
%
% AUTHOR:   J. V. Mansbridge, CSIRO
%---------------------------------------------------------------------

% @(#)whatcdf.m   1.1   92/01/30
% 
%--------------------------------------------------------------------

disp(' ')
disp('-----  CDF files  -----')
!ls -C *.cdf | sed 's/\.cdf/    /g'
disp(' ')
disp('-----  compressed CDF files  -----')
!ls -C *.cdf.Z | sed 's/\.cdf\.Z/      /g'
disp(' ')

