[Dart-dev] DART/branches Revision: 11907

dart at ucar.edu dart at ucar.edu
Thu Aug 24 12:58:04 MDT 2017


thoar at ucar.edu
2017-08-24 12:58:02 -0600 (Thu, 24 Aug 2017)
245
Making consistent with the trunk. Preparing to reintegrate the tiegcm branch back onto the trunk.
Need to do a thorough code review before then. In the meantime, I need to work on consolidating
the gps/cosmic_*90 converters for the ionosphere.




Index: DART/branches/tiegcm
===================================================================
--- DART/branches/tiegcm	2017-08-23 22:06:20 UTC (rev 11906)
+++ DART/branches/tiegcm	2017-08-24 18:58:02 UTC (rev 11907)

Property changes on: DART/branches/tiegcm
___________________________________________________________________
Modified: svn:mergeinfo
## -1,6 +1,7 ##
+/DART/branches/NOGAPS:6328-10846
 /DART/branches/development:4680-6255
 /DART/branches/gitm:5143-6215
 /DART/branches/gitm_lanai:6571-6652
 /DART/branches/helen:5995-6161
 /DART/branches/trunk_with_cam_style:9473-9540
-/DART/trunk:6520-10277
\ No newline at end of property
+/DART/trunk:6520-11906
\ No newline at end of property
Modified: DART/branches/tiegcm/DART_LAB/matlab/gaussian_product.m
===================================================================
--- DART/branches/tiegcm/DART_LAB/matlab/gaussian_product.m	2017-08-23 22:06:20 UTC (rev 11906)
+++ DART/branches/tiegcm/DART_LAB/matlab/gaussian_product.m	2017-08-24 18:58:02 UTC (rev 11907)
@@ -10,11 +10,11 @@
 %    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 2004 - 2016 UCAR. This open source software is
-% provided by UCAR, "as is", without charge, subject to all terms of use at
+%% DART software - Copyright UCAR. This open source software is provided
+% by UCAR, "as is", without charge, subject to all terms of use at
 % http://www.image.ucar.edu/DAReS/DART/DART_download
 %
 % DART $Id$
@@ -190,7 +190,7 @@
     'FontUnits', 'normalized', ...
     'FontName', atts.fontname, ...
     'FontSize', 0.2);
-     
+
 text_xstart = 0.01;
 text_dy     = 0.25;
 text_y      = 0.925 - text_dy - 0.05;
@@ -255,9 +255,9 @@
         %This function plots the graph using the inputs in the 4 edit boxes. It
         %makes changes to handles, so the function must return an update to
         %handles. This is done through the function definition.
-        
+
         [prior_mean, prior_sd, obs_mean, obs_err_sd, is_err] = g_prod_plot(handles);
-        
+
         % If there is an error, zero out the posterior text values
         % don't try to do posterior computation
         if(is_err)
@@ -264,13 +264,13 @@
             reset_Posterior();
             return;
         end
-        
+
         % Compute the posterior mean, sd and weight
         [post_mean, post_sd, weight] = ...
             product_of_gaussians(prior_mean, prior_sd, obs_mean, obs_err_sd);
         post_handle = plot_gaussian(post_mean, post_sd, 1);
-        set(post_handle, 'Color', 'b', 'LineWidth', 2);
-        
+        set(post_handle, 'Color', atts.blue, 'LineWidth', 2);
+
         %Round post_mean, post_sd and weight to 4 decimal places
         post_mean = round(post_mean * 10000);
         post_mean = post_mean/10000;
@@ -278,22 +278,22 @@
         post_sd = post_sd/10000;
         weight = round(weight * 10000);
         weight = weight/10000;
-        
+
         % Print values
         str1 = sprintf('Mean = %.4f',post_mean);
         set(handles.ui_text_posterior_mean, 'String', str1);
         str1 = sprintf('SD = %.4f',post_sd);
         set(handles.ui_text_posterior_sd, 'String', str1);
-        
+
         % Also plot the weighted posterior as dashed
         post_handle = plot_gaussian(post_mean, post_sd, weight);
-        set(post_handle, 'Color', 'b', 'LineStyle', '--');
+        set(post_handle, 'Color', atts.blue, 'LineStyle', '--');
         str1 = sprintf('Weight = %.4f',weight);
         set(handles.ui_text_posterior_weight, 'String', str1);
-        
+
         h = legend('Prior', 'Obs. Likelihood', 'Posterior', 'Weighted Posterior');
         set(h, 'box', 'on', 'Location', 'NorthWest')
-        


More information about the Dart-dev mailing list