[Dart-dev] DART/branches Revision: 11129
dart at ucar.edu
dart at ucar.edu
Wed Feb 22 11:19:01 MST 2017
thoar at ucar.edu
2017-02-22 11:19:01 -0700 (Wed, 22 Feb 2017)
199
either replacing get_copy_index with get_member_index or removing the
call entirely. In the state-space world, there are no more copies
for 'ensemble mean' etc. as they occur in separate variables.
Modified: DART/branches/rma_trunk/matlab/CAMTotalError.m
===================================================================
--- DART/branches/rma_trunk/matlab/CAMTotalError.m 2017-02-22 17:42:10 UTC (rev 11128)
+++ DART/branches/rma_trunk/matlab/CAMTotalError.m 2017-02-22 18:19:01 UTC (rev 11129)
@@ -20,12 +20,6 @@
weights = weights/sum(weights(:));
wts = weights(:);
-% Get the indices for the true state, ensemble mean and spread
-% The metadata is queried to determine which "copy" is appropriate.
-truth_index = get_copy_index(pinfo.truth_file, 'true state');
-ens_mean_index = get_copy_index(pinfo.diagn_file, 'ensemble mean');
-ens_spread_index = get_copy_index(pinfo.diagn_file, 'ensemble spread');
-
%----------------------------------------------------------------------
%
%----------------------------------------------------------------------
Modified: DART/branches/rma_trunk/matlab/GetMPAS_ATMInfo.m
===================================================================
--- DART/branches/rma_trunk/matlab/GetMPAS_ATMInfo.m 2017-02-22 17:42:10 UTC (rev 11128)
+++ DART/branches/rma_trunk/matlab/GetMPAS_ATMInfo.m 2017-02-22 18:19:01 UTC (rev 11129)
@@ -138,7 +138,7 @@
% So now I have to figure out if the posterior and prior copy metadata match.
for i = 1:copy,
- copyi = get_copy_index(pinfo_in.posterior_file,copymetadata{i});
+ copyi = get_member_index(pinfo_in.posterior_file,copymetadata{i});
pstruct.postcopyindices = copyi;
end
Modified: DART/branches/rma_trunk/matlab/GetPOPInfo.m
===================================================================
--- DART/branches/rma_trunk/matlab/GetPOPInfo.m 2017-02-22 17:42:10 UTC (rev 11128)
+++ DART/branches/rma_trunk/matlab/GetPOPInfo.m 2017-02-22 18:19:01 UTC (rev 11129)
@@ -149,7 +149,7 @@
% So now I have to figure out if the posterior and prior copy metadata match.
for i = 1:copy,
- copyi = get_copy_index(pinfo_in.posterior_file,copymetadata{i});
+ copyi = get_member_index(pinfo_in.posterior_file,copymetadata{i});
pstruct.postcopyindices = copyi;
end
Modified: DART/branches/rma_trunk/matlab/GetWRFInfo.m
===================================================================
--- DART/branches/rma_trunk/matlab/GetWRFInfo.m 2017-02-22 17:42:10 UTC (rev 11128)
+++ DART/branches/rma_trunk/matlab/GetWRFInfo.m 2017-02-22 18:19:01 UTC (rev 11129)
@@ -171,7 +171,7 @@
% So now I have to figure out if the posterior and prior copy metadata match.
for i = 1:copy,
- copyi = get_copy_index(pinfo_in.posterior_file,copymetadata{i});
+ copyi = get_member_index(pinfo_in.posterior_file,copymetadata{i});
pstruct.postcopyindices = copyi;
end
Modified: DART/branches/rma_trunk/matlab/PlotBins.m
===================================================================
--- DART/branches/rma_trunk/matlab/PlotBins.m 2017-02-22 17:42:10 UTC (rev 11128)
+++ DART/branches/rma_trunk/matlab/PlotBins.m 2017-02-22 18:19:01 UTC (rev 11129)
@@ -41,9 +41,6 @@
error('not ensemble members in %s, cannot create rank histogram.',pinfo.diagn_file)
end
-% Get the state for the truth
-% truth_index = get_copy_index(pinfo.truth_file,'true state');
-
switch lower(pinfo.model)
case '9var'
Modified: DART/branches/rma_trunk/matlab/PlotCEnsErrSpread.m
===================================================================
--- DART/branches/rma_trunk/matlab/PlotCEnsErrSpread.m 2017-02-22 17:42:10 UTC (rev 11128)
+++ DART/branches/rma_trunk/matlab/PlotCEnsErrSpread.m 2017-02-22 18:19:01 UTC (rev 11129)
@@ -26,9 +26,9 @@
% Get the indices for the true state, ensemble mean and spread
% The metadata is queried to determine which "copy" is appropriate.
-truth_index = get_copy_index(pinfo.truth_file, 'true state' );
-ens_mean_index = get_copy_index(pinfo.diagn_file, 'ensemble mean');
-ens_spread_index = get_copy_index(pinfo.diagn_file, 'ensemble spread');
+truth_index = get_member_index(pinfo.truth_file, 'true state' );
+ens_mean_index = get_member_index(pinfo.diagn_file, 'ensemble mean');
+ens_spread_index = get_member_index(pinfo.diagn_file, 'ensemble spread');
% Can we afford to get the whole thing at once ???
Modified: DART/branches/rma_trunk/matlab/PlotEnsErrSpread.m
===================================================================
--- DART/branches/rma_trunk/matlab/PlotEnsErrSpread.m 2017-02-22 17:42:10 UTC (rev 11128)
+++ DART/branches/rma_trunk/matlab/PlotEnsErrSpread.m 2017-02-22 18:19:01 UTC (rev 11129)
@@ -54,12 +54,6 @@
%
% DART $Id$
More information about the Dart-dev
mailing list