[Dart-dev] [4478] DART/trunk/matlab/get_ens_size.m: better comments
nancy at ucar.edu
nancy at ucar.edu
Mon Aug 16 10:38:56 MDT 2010
Revision: 4478
Author: thoar
Date: 2010-08-16 10:38:56 -0600 (Mon, 16 Aug 2010)
Log Message:
-----------
better comments
Modified Paths:
--------------
DART/trunk/matlab/get_ens_size.m
-------------- next part --------------
Modified: DART/trunk/matlab/get_ens_size.m
===================================================================
--- DART/trunk/matlab/get_ens_size.m 2010-08-13 20:15:52 UTC (rev 4477)
+++ DART/trunk/matlab/get_ens_size.m 2010-08-16 16:38:56 UTC (rev 4478)
@@ -1,5 +1,5 @@
function ens_size = get_ens_size(fname)
-%% get_ens_size Returns the size of the ensemble.
+%% GET_ENS_SIZE returns the number of ensemble members in the netCDF file.
%
% Example:
% fname = 'Prior_Diag.nc';
@@ -26,7 +26,7 @@
copy_meta_data = transpose(copy_meta_data);
end
-% Figure out which copy is the matching one
+%% Figure out which copy is the matching one - ignoring whitespace
ens_size = 0;
for i = 1:num_copies,
More information about the Dart-dev
mailing list