Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 Time Height MatrixTime Value CurveProfile
Single data file
Overlay with second data file

 

Specify the data to be plotted either by dropping an SCM output netCDF file Create a new SCM Visualiser icon and edit it. Drop your SCM Run icon into the SCM Data icon parameter box or by providing the full path in SCM Data Filename. Outputs from different runs can be compared by specifying SCM Compare Data = On and providing SCM Comparison Data or SCM Comparison Data Filename; the parameter SCM Comparison Mode then provides the choice of plotting the difference between the two data sets (the comparison data will be subtracted from the other data) or overlaying them (for curve plots, the first data will be in blue and the second in red; for matrix plots, the first data will be shaded, the second will be isolines). Also make sure to set SCM Data Type to the correct value - Input if you are visualising a netCDF file which is an input to the SCM, otherwise Output. This affects which list of variables is available for plotting.

Depending on the type of plot selected, either the 1D or the 2D variable list will be available. The drop-down lists provide the full names of the variables - multiple variables can be selected (but see below). Alternatively, the names of the variables as they appear in the netCDF file can be entered as a forward-slash-delimited list. Note that these parameter boxes allow you to type any variable name(s) you wish, thereby allowing the plotting of data from other netCDF files (e.g. diagnostic data).

If plotting a profile, the parameter SCM Times allows a range of times to be chosen; the units are minutes and this is a forward-slash-delimited list (or a single number). The times entered should exist in the data file(s). It also supports standard MARS 'loop' syntax, such as 0/TO/3600/BY/180, and also supports the keyword 'LAST' for the end time, e.g. 0/TO/LAST/BY/180.

SCM Output Mode allows the plot to go either to the screen or to a PostScript file. Note that currently, if more than 1 variable has been selected for plotting, PostScript must be selected; if Screen is selected, an error message will be issued.

...

in the SCM Visualiser icon editor. The SCM Run icon is acting as a proxy for the result data that it generated (and has been cached); if you had asked for a copy of the output data to be generated, then that icon could have been used as input to the visualiser.

Set the following parameters:

Scm Plot TypeTime Value Curve
Scm Output 1d VariablesLiquid Water Path

Apply (save) the icon and right-click | Visualise it to get an on-screen plot.

To compare your two runs, set Scm Compare Data to On and drop your SCM Run 2 icon into the Scm Comparison Data icon box. Apply, then visualise.

 

To generate a different plot, but keep these settings, make a copy of your Scm Visualiser icon and edit this copy.

Try the following settings to obtain a matrix plot:

Scm Plot TypeTime Height Matrix
Scm Output 2d VariablesLw Radiative Flux

 

To obtain a set of profiles, try these settings:

Scm Plot TypeProfile
Scm Output 2d VariablesTemperature

The Scm Times parameter specifies the time slices to use (specified in minutes).

The other way of visualising the differences between two runs is to set Scm Comparison Mode to Difference.

Info
For all plot types, it is possible to select multiple variables, but in this case, Scm Output Mode must be set to Postscript. This limitation should be lifted in the future.