What does Metview offer for SCM users?
In Metview users can:
In the following chapters we give details about the icons that make up the Metview SCM interface and also show how to use them.
To access the SCM interface metview4_dev has to be used. It can be started up by typing
metview4_dev
in the command line.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Now your 'scm' folder should contain two icons:
Your input SCM data file is recognised as a distinct filetype in Metview (by checking if the dataID global attribute is set to "SCM_OUTPUT") and this icon is assigned to it:
Right-click this icon and select examine from the context menu. Metview's own netCDF examiner is started up showing the metadata content of the file.
Now close the netCDF examiner and right-click the icon and select edit from the menu. The SCM data editor is popping up.
This bespoke editor allows examining and modifying the data stored in the file.
The editor's window is split into two parts:
There are a set of model-level variables defined to be editable and their columns are highlighted in a brighter shade of beige. The editable variables are as follows:u, v, t, q.
Editing can be done by typing a new value in a table cell or by dragging the points of the curve. These actions are synchronised: any modification in the table view will be immediately reflected in the curve, and vice versa. Modified data values are highlighted in deep orange.
Having finished the modifications the data can be saved back to the netCDF file by clicking on the Ok button.
Your namelist file is recognised as a distinct filetype in Metview and this icon is assigned to it:
Double-click or right-click edit the namelist to see or change its content using Metview's own text editor.
You can run the SCM in Metview by using the SCM Run icon:
To create a new SCM run icon, drag a copy of it from the Modules (Data) icon drawer at the bottom of the Metview desktop. (Alternatively, right-click in the Metview desktop and select 'New icon'. This will bring up the icon selection list where you can find the SCM Run icon towards the bottom. Now click on it and wait until the newly created icon appears in your folder.)
The SCM run icon enables you to:
define the namelist for the SCM run
define the vtable file for the SCM run (you can leave this field blank, Metview will use the files from /vol/rdx_dir/scm/vtables)
Now double-click or right-click edit your SCM Run icon to open up its editor.
First, specify the path to your SCM executable via parameter SCM_EXE_PATH (do not forget to hit ENTER after typed in the path, this guarantees that the text will be saved when click Apply in the editor).
Second, drop your input data icon icon into the SCM_INPUT_DATA_PATH field and your namelist into the SCM_NAMELIST fields, respectively.
Third, set the output location if you want to work with a copy of of your SCM output data.
Finally, save your changes (by clicking Apply in the editor) then right click and execute the icon to start your SCM integration. The icon label turns orange indicating that the computations have started. Having finished the integration the icon label turns green showing that no errors occurred (on error the icon label turns red).
If any errors or warning were generated these will be available in the icons output window. This window always show the location of the STDOUT and the fort.20 file generated during the SCM run.
The output of an SCM run can be visualised using the SCM Visualiser icon, located in the Modules (Plotting) icon drawer or else available from the right-click desktop menu:
This icon allows the generation of the following plot types (specified in the SCM Plot Type parameter) :
Time Height Matrix | Time Value Curve | Profile | |
Single data file | ![]() | ![]() | ![]() |
Overlay with second data file | ![]() | ![]() | ![]() |
Create a new SCM Visualiser icon and edit it. Drop your SCM Run icon into the SCM Data parameter box 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 Type | Time Value Curve |
Scm Output 1d Variables | Liquid 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 Type | Time Height Matrix |
Scm Output 2d Variables | Lw Radiative Flux |
To obtain a set of profiles, try these settings:
Scm Plot Type | Profile |
Scm Output 2d Variables | Temperature |
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.
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. |