[Dart-dev] DART/branches Revision: 11630

dart at ucar.edu dart at ucar.edu
Thu May 11 17:12:10 MDT 2017


thoar at ucar.edu
2017-05-11 17:12:09 -0600 (Thu, 11 May 2017)
313
Adding Moha's two new functions for adaptive inflation.
Better error messages, better defaults for demonstrating the localization.
Fixed bugs for editing ensemble size and ping-ponging FORCING.
Fixed bug when changing the ensemble size in the l96 models, the old
data still got plotted on the timeseries figure.




Modified: DART/branches/rma_trunk/documentation/DART_LAB/matlab/gaussian_product.m
===================================================================
--- DART/branches/rma_trunk/documentation/DART_LAB/matlab/gaussian_product.m	2017-05-11 20:46:04 UTC (rev 11629)
+++ DART/branches/rma_trunk/documentation/DART_LAB/matlab/gaussian_product.m	2017-05-11 23:12:09 UTC (rev 11630)
@@ -10,8 +10,8 @@
 %    If the parameters of the two gaussians are known, the parameters of the
 %    resulting gaussian can be calculated.
 %
-% See also: oned_model, oned_ensemble, twod_ensemble,
-%           run_lorenz_63, run_lorenz_96
+% See also: oned_model.m oned_model_inf.m oned_ensemble.m
+%           twod_ensemble.m run_lorenz_63.m run_lorenz_96.m run_lorenz_96_inf.m
 
 %% DART software - Copyright UCAR. This open source software is provided
 % by UCAR, "as is", without charge, subject to all terms of use at

Modified: DART/branches/rma_trunk/documentation/DART_LAB/matlab/oned_ensemble.m
===================================================================
--- DART/branches/rma_trunk/documentation/DART_LAB/matlab/oned_ensemble.m	2017-05-11 20:46:04 UTC (rev 11629)
+++ DART/branches/rma_trunk/documentation/DART_LAB/matlab/oned_ensemble.m	2017-05-11 23:12:09 UTC (rev 11630)
@@ -29,8 +29,8 @@
 %      change the Observation Error SD, lay down an ensemble pretty far away
 %      from the observation - have fun with it.
 %
-% See also: gaussian_product, oned_model, twod_ensemble, run_lorenz_63,
-%           run_lorenz_96
+% See also: gaussian_product.m oned_model.m oned_model_inf.m
+%           twod_ensemble.m run_lorenz_63.m run_lorenz_96.m run_lorenz_96_inf.m
 
 %% DART software - Copyright UCAR. This open source software is provided
 % by UCAR, "as is", without charge, subject to all terms of use at
@@ -61,7 +61,7 @@
 
 %% -----------------------------------------------------------------------------
 
-% Specify the figure size in pixels. After that, all positions are 
+% Specify the figure size in pixels. After that, all positions are
 % specified as fractions (units=Normalized). That way, the objects
 % scale proportionally as the figure gets resized.
 figXmin   = 450; % The horizontal position of the entire figure, in pixels
@@ -235,9 +235,9 @@
 %  doesn't seem to do a great job of centering ... but the distribute is nice.
 
 hlist = [handles.observation_panel,   ...
-         handles.ui_button_create_new_ens,  ...
-         handles.ui_button_update_ens,  ...
-         handles.inflation_panel];
+    handles.ui_button_create_new_ens,  ...
+    handles.ui_button_update_ens,  ...
+    handles.inflation_panel];
 
 align(hlist,'Center','Distribute')
 
@@ -387,16 +387,16 @@
     'HorizontalAlignment','right');
 
 handles.ui_text_inflated_post_sd = uicontrol('Style', 'text', ...
-    'Units', 'Normalized', ...
-    'Position', [0.340 0.713 0.270 0.065], ...
-    'String', 'Inflated = ', ...
-    'Visible', 'Off', ...
+    'Units',           'Normalized', ...
+    'Position',        [0.340 0.713 0.270 0.065], ...
+    'String',          'Inflated = ', ...
+    'Visible',         'Off', ...
     'BackgroundColor', 'White', ...
     'ForegroundColor', 'b', ...
-    'FontUnits', 'normalized', ...
-    'FontName', atts.fontname, ...
-    'FontSize', 0.4, ...
-    'FontWeight','Bold', ...
+    'FontUnits',       'normalized', ...
+    'FontName',        atts.fontname, ...
+    'FontSize',        0.4, ...
+    'FontWeight',      'Bold', ...
     'HorizontalAlignment','right');
 
 % justify all the strings:
@@ -525,8 +525,8 @@
             
             if(xt >= xlower && xt <= xupper && yt >= ylower && yt <= yupper)
                 ens_size = ens_size + 1;
-                x(ens_size) = xt;
-                y(ens_size) = 0;
+                x(ens_size) = xt; %#ok<AGROW>
+                y(ens_size) = 0; %#ok<AGROW>
                 handles.h_ens_member(ens_size) = ...
                     plot(x(ens_size), y(ens_size), '*', 'MarkerSize', 16, 'Color', atts.green,'LineWidth',2.0);
                 
@@ -572,7 +572,7 @@
         
     end
 
-        
+
 %% -----------------------------------------------------------------------------
 
     function inflation_toggle_Callback (~, ~)
@@ -586,7 +586,7 @@
             set(handles.ui_text_inflated_post_mean,  'Visible', 'On');
             set(handles.ui_text_inflated_prior_sd,   'Visible', 'On');


More information about the Dart-dev mailing list