This tutorial explains how to use the WMS (Web Map Service) client within Metview 4.
Note | ||
---|---|---|
| ||
Please note that this tutorial requires Metview version 4.40.35 or later. |
Table of Contents |
---|
...
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:
...
title | Download |
---|
...
. If you are at ECMWF then you can copy
...
the icons from the command line like this:
Code Block |
---|
cp -R cp /home/graphics/cgx/tutorials/wms_tutorial .tar $HOME/metview |
Otherwise, please download the following file:
Panel | ||
---|---|---|
| ||
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.
You should now (after a few seconds) see a wms_tutorial folder which contains the solutions and also some additional icons required by these exercises. You will work in the wms_tutorial folder so open it up. You should see the following contents:
...
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.
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
or click on the 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 and rename the duplicate 'step2'. In this step we will add our ‘coastlines_grey’ and ‘mslp’ icons to the macro.
...