Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Confirmed.

This tutorial explains how to use the WMS (Web Map Service) client within Metview 4.

Note
titleRequirements

Please note that this tutorial requires Metview version 4.0.5 or later.

...

First start Metview; at ECMWF, the command to use is metview_new (see Metview at ECMWF for details of Metview versions). You should see the main Metview desktop popping up.

You will create some icons yourself, but some are supplied for you - please download the following file:

...

titleDownload

wms_tutorial.tar

...

. If you are at ECMWF then you can copy

...

the icons from the command line like this:

Code Block
   
cp -R /home/graphics/cgx/tutorials/wms_
tutorial 
tutorial  $HOME/metview

Otherwise, please download the following file:

Panel
titleDownload

wms_tutorial.tar

and save it in your $HOME/metview directory. You should see it appear on your main Metview desktop, from where you can right-click on it, then choose execute to extract the files.

...

Info

Please be aware that this tutorial is strongly dependent on the availability of the selected WMS services and that of the network itself. Therefore it cannot be not guaranteed that the exercises will work for you. Should you experience any WMS service related problems throughout the tutorial, you can still try out the icons provided in the ‘examples’ folder to see how the WMS client is working in Metview.

...

The Metview WMS client can perform both of this these request types enabling users to perform the following actions:

...

  •  As a general rule multiple dimension values can be specified as a comma separated list. This is also true for dimension Time so our time selection could have been written as:
       2006-01-01,2006-02-01,2006-03-01,2006-04-01,2006-05-01,2006-06-01,2006-07-01,2006-08-01,2006-09-01,2006-10-01,2006-11-01,2006-12-01
    Please note that white spaces are not allowed between the commas and the values!
  • The following table summarises how the WMS parameters are mapped to frame keys in Metview.

WMS parameter

Frame keys

Layer name

shortName

Date part of dimension TIME

date, dataDate, time.dataDate

Time part of dimension TIME

time, dataTime, time.DataTime

Date part of dimension DIM_RUN

date, dataDate, time.dataDate

Date part of dimension DIM_RUN

time, dataTime, time.DataTime

Dimension DIM_FORECAST

step, stepRange, time.stepRange

Dimension ELEVATION

level, vertical.level

Editing WMS Requests Manually

...

Now, if you execute this macro (right-click execute or click on the Play button in the Macro editor) you should see a Display Window popping up with your WMS image.

Step 2

...

- Adding More Features

Duplicate the 'step1' Macro icon (right-click duplicate) and rename the duplicate 'step2'. In this step we will add our ‘coastlines_grey’ and ‘mslp’ icons to the macro.

...