Versions Compared

Key

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

...

Now close the netCDF examiner and right-click the .

Will create a copy of this data and edit it. Right-click the icon and select duplicate from the menu. Rename the copy Scm Data 2 by clicking on the icon name. Right-click this new icon and select edit from the menu. The SCM data editor is popping pops up.

This bespoke editor allows examining and modifying the data stored in the file.

...

  • define the path to the SCM executable. If this path is not defined Metview tries to use the path defined by the MV_SCM_EXE env variable.
  • 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) 

  • define the way the output data is treated. The output is always one netCDF file that Metview creates out of the three output netCDF files generated by the SCM.
  • If SCM_COPY_OUTPUT_DATA is set to 'ON' Metview will copy the output file to the location specified by SCM_OUTPUT_DATA_PATH. If this path contains only a filename the result will be placed into the current folder.
  • If SCM_COPY_OUTPUT_DATA is set to 'OFF' the output file is kept By default this is cached in a temporary directory and can be accessed only via the icon interface (using the save or examine actions), but it can be saved to a given path.

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 original unmodified 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.

Now duplicate your Scm Run icon and rename the copy Scm Run 2. Edit the new icon, right-click remove the Scm Input Data, then drop your modified input data icon (Scm Data 2) into the Scm Input Data box in the editor. Save your changes, then execute this icon. You have now run the single column model on two different sets of input data, and the results are cached.

Visualising the SCM data

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: 

...