[Dart-dev] DART/branches Revision: 13095
dart at ucar.edu
dart at ucar.edu
Tue Apr 2 17:00:30 MDT 2019
thoar at ucar.edu
2019-04-02 17:00:30 -0600 (Tue, 02 Apr 2019)
44
code refactor and more accurate help file.
Modified: DART/branches/qc8diags/diagnostics/matlab/plot_evolution.m
===================================================================
--- DART/branches/qc8diags/diagnostics/matlab/plot_evolution.m 2019-04-02 21:34:21 UTC (rev 13094)
+++ DART/branches/qc8diags/diagnostics/matlab/plot_evolution.m 2019-04-02 23:00:30 UTC (rev 13095)
@@ -3,8 +3,8 @@
% Part of the observation-space diagnostics routines.
%
% 'obs_diag' produces a netcdf file containing the diagnostics.
-% obs_diag condenses the obs_seq.final information into summaries for a few specified
-% regions - on a level-by-level basis.
+% 'obs_diag' condenses the obs_seq.final information into summaries for a few
+% specified regions - on a level-by-level basis.
%
% The number of observations possible reflects only those observations
% that have incoming QC values of interest. Any observation with a DART
@@ -19,7 +19,7 @@
% For TRUSTED observations, this is different than the number used to calculate
% bias, rmse, spread, etc.
%
-% USAGE: plotdat = plot_evolution(fname, copy);
+% USAGE: plotdat = plot_evolution(fname, copy [,varargin]);
%
% fname : netcdf file produced by 'obs_diag'
%
@@ -217,9 +217,6 @@
end
plotdat.nlevels = length(plotdat.level);
- % Here is the tricky part. Singleton dimensions are auto-squeezed ...
- % single levels, single regions ...
-
guess = ncread(fname, plotdat.guessvar);
analy = local_ncread(fname, plotdat.analyvar);
if ( isempty(analy) )
@@ -315,6 +312,7 @@
ax1 = subplot('position',figuredata.position);
set(ax1,'YAxisLocation','left','FontSize',figuredata.fontsize)
+orient(figuredata.orientation)
[hprior, prior_legstr] = plot_quantity('prior', plotdat);
Modified: DART/branches/qc8diags/diagnostics/matlab/plot_profile.m
===================================================================
--- DART/branches/qc8diags/diagnostics/matlab/plot_profile.m 2019-04-02 21:34:21 UTC (rev 13094)
+++ DART/branches/qc8diags/diagnostics/matlab/plot_profile.m 2019-04-02 23:00:30 UTC (rev 13095)
@@ -19,7 +19,7 @@
% For TRUSTED observations, this is different than the number used to calculate
% bias, rmse, spread, etc.
%
-% USAGE: plotdat = plot_profile(fname, copy);
+% USAGE: plotdat = plot_profile(fname, copy [,varargin]);
%
% fname : netcdf file produced by 'obs_diag'
%
@@ -40,6 +40,7 @@
%
% pause : true/false to conrol pausing after each figure is created.
% true will require hitting any key to continue to next plot
+%
% OUTPUT: 'plotdat' is a structure containing what was plotted.
% A .pdf of each graphic is created. Each .pdf has a name that
% reflects the variable, quantity, and region being plotted.
@@ -277,6 +278,7 @@
global figuredata
ax1 = subplot('position',figuredata.position);
+orient(figuredata.orientation)
% add type of vertical coordinate info for adjusting axes to accomodate legend
Modified: DART/branches/qc8diags/diagnostics/matlab/plot_rmse_xxx_evolution.m
===================================================================
--- DART/branches/qc8diags/diagnostics/matlab/plot_rmse_xxx_evolution.m 2019-04-02 21:34:21 UTC (rev 13094)
+++ DART/branches/qc8diags/diagnostics/matlab/plot_rmse_xxx_evolution.m 2019-04-02 23:00:30 UTC (rev 13095)
@@ -3,8 +3,8 @@
% Part of the observation-space diagnostics routines.
%
% 'obs_diag' produces a netcdf file containing the diagnostics.
-% obs_diag condenses the obs_seq.final information into summaries for a few specified
-% regions - on a level-by-level basis.
+% 'obs_diag' condenses the obs_seq.final information into summaries for a few
+% specified regions - on a level-by-level basis.
%
% The number of observations possible reflects only those observations
% that have incoming QC values of interest. Any observation with a DART
@@ -27,7 +27,7 @@
% Possible values are available in the netcdf 'CopyMetaData' variable.
% (ncdump -v CopyMetaData obs_diag_output.nc)
%
-% varargin: optional, parameter-value pairs. Supported parameters are described below.
+% varargin: optional parameter-value pairs. Supported parameters are described below.
%
% obsname : The strings of each observation type to plot.
% Each observation type will be plotted in a separate graphic.
@@ -38,6 +38,13 @@
% range : 'range' of the value being plotted. Default is to
% automatically determine range based on the data values.
%
More information about the Dart-dev
mailing list