Versions Compared

Key

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

...

This short tutorial explains how to add a new experiment to the metview macros used during the workshop.

Before you begin

Make sure that the monthly mean files have been created from the model ensemble forecast. This is described: in Creating a new experiment: postprocessing.

Transfer the files via ftp to ICTP. They should be placed in directory you are advised to use e.g. 'data_local'.

Add experiment to Metview plotting

A small definition needs to be created in order for the Metview scripts to know how to use the new experiment.

...

Find the macro labelled 'base_input.mv', right-click and select 'Edit':

Create new experiment definition

Locate the following text:

...

  • expDef_ob_user   →  expDef_ob01_user
       This is the variable name of the new definition
  • label: "OBS xx""OBS Pacific anomaly"
       This is the label used in the plot titles, so choose something meaningful for your experiment.
  • id: "obxx"  →  "ob01"
      
    This is the experiment id, the same string that appears in the experiment initial files (e.g. ICMCLob01INIT). It is used in the macros to select this experiment.
  • dir: "data_local/obxx"  →  "data_local/ob01"
       This specifies the local of the monthly mean files. The directory 'data_local' will be in the same directory as the plotting macros. The monthly mean files should be in a sub-directory called 'ob01'. This directory can be called any name but it is best to keep it consistent with the experiment name.
  • fname: "oifs_obxx_$P_$D_$T.grib"  →  "oif_ob01_$P_$D_$T.grib"
       Only the 'obxx' part needs to change here. This is the filename pattern that the monthly mean files will be created with when using the oifs_to_mv script.
  • steps / noCf - unchanged
  • member : -1  →  10
       Change this to the total number of ensemble members - remember that the ensemble members are numbered from 0 (zero) in the OpenIFS run directory.

Add to list of experiment definitions

A final and very important change is to amend this line:

...

to include the new experiment definition (add , expDef_ob01_userto the end):

Code Block
global expDefLst = [expDef_ei, expDef_clim, expDef_ob00, expDef_ob50, expDef_cl50,
                   expDef_ob_user, expDef_ob01_user]

...