Update on Metview and MAGICS/Magics++ Stephan Siemen

Download Report

Transcript Update on Metview and MAGICS/Magics++ Stephan Siemen

Update on
Metview and
MAGICS/Magics++
Stephan Siemen
Graphics Section
ECMWF
Slide 1
18th EGOWS, Dublin, 18 - 21 June 2007
1
Overview
 MAGICS
 Magics++
 Metview
Slide 2
18th EGOWS, Dublin, 18 - 21 June 2007
2
MAGICS 6
 The maintenance of the current operational MAGICS has
continued
 The changes for the switch to the new extended ECMWF
VarEPS were successful
 The latest internal Test Version is 6.12
 The current available Export Version is 6.11
- Released 2006-11-14
- Support for gfortran added
 Tested platforms
- Linux: SuSE 9.1
- IBM: AIX 5.1
- SGI: IRIX 6.5
Slide 3B.11.00
- HP: HP-UX
- Alpha: OSF1 V5.1
- Sun: SunOS 5.7
18th EGOWS, Dublin, 18 - 21 June 2007
3
Magics++
 Export version to Member states has been released
 The current available export version is 2.0.1
- Released 2007-04-17
 The latest internal test version is 2.1.0
 Tested platforms
- Linux: SuSE 9.1 / 10.x (32 and 64 bit)
- IBM: AIX 5.3
- Tested compilers: g++, icpc, xlC (gfortran, pgf90, ifort, xlf90)
- We are collecting feedback from Member States which platforms
(operating system / distributions + compilers) they use to get a
Slide 4
better overview
18th EGOWS, Dublin, 18 - 21 June 2007
4
Magics++
Slide 5
18th EGOWS, Dublin, 18 - 21 June 2007
5
Magics++ - Grib 2
Used in
monitoring
TIGGE’s Grib 2
data using
MagML
Slide 6
18th EGOWS, Dublin, 18 - 21 June 2007
6
Magics++
Metgrams
Used to produce
the new 15 day
VarEPS metgram
Thanks to MagML
it is easy to adopt
metgrams to
new requirements
18th EGOWS, Dublin, 18 - 21 June 2007
Slide 7
7
Magics++ - new features
 Boxplots available for users
through easy interface
 Maps with more than 360°
in Longitude with wraparound display of data
 Different resolutions of
coastlines
 MapGen data files allow
users to add own borders and rivers
 User logo
18th EGOWS, Dublin, 18 - 21 June 2007
Slide 8
8
Magics++ - MagML
 XML based format to describe Magics++ plots
 Descriptive, not procedural
 No need for (re-)compilation
 magml interpreter program processes a MagML file
and produces output graphics
 Interpreter can be easily called in user code
 Description close to Metview’s icon convention
 Can be integrated into more complex XML request
descriptions
Slide 9
18th EGOWS, Dublin, 18 - 21 June 2007
9
Magics++ - MagML usage
 MagML is very popular with individual users at ECMWF
 Main aim is the large scale automatic production of plots
 MagML enables easy use of new features of Magics++ to
make it more attractive for producing web output
- Generating meta information to support scripting of web output
- Transparency support in improved drivers
- Layers
- New formats: SVG, GIF, PDF
 Used in this way in the Services-On-Demand project at
ECMWF
Slide 10
Ideal as backend for web interfaces
with constant
layout and visual properties but changing data
18th EGOWS, Dublin, 18 - 21 June 2007
10
MagML - example - the code
<magics version="2.0">
<drivers>
<svg name="mysvg.svg" />
<png name="mypng.png" />
</drivers>
<page orientation='landscape'>
<text font='Times-Roman' colour='rgb(0.1,0.6,0.2)'
bottom="90%" display="inline" >Z500 Contour Plot</text>
<map>
<cylindrical>
<corners min_latitude='25' max_latitude='75'
min_longitude='-30' max_longitude='77'/>
</cylindrical>
<coastlines>
<coast colour = 'brown' />
Variables can be
</coastlines>
passed to interpreter
<layer>
<grib path = ‘${PATH_TO_DATA}'/>
<contour/>
</layer>
Slide 11
</map>
</page>
</magics>
18th EGOWS, Dublin, 18 - 21 June 2007
11
MagML - example - the output
Slide 12
18th EGOWS, Dublin, 18 - 21 June 2007
12
Magics++ - plans
 Support for satellite data
 New MagML syntax – taking into account all the
feedback we received
 Support for observations
 Extensions to Metgrams, such as display of
wind direction and climate
 Improve support for NetCDF (3D data sets)
Slide 13
18th EGOWS, Dublin, 18 - 21 June 2007
13
Metview
 ECMWF's meteorological data visualisation and processing tool
 Complete working environment for the operational and research
meteorologist
Interactive
Batch script
routine production
MAGICS output
PostScript
PNG, JPEG
Macro
Mars
GRIB
BUFR
Matrix
other
18th EGOWS, Dublin, 18 - 21 June 2007
Metview
Visualisation
Processing Slide 14
14
Metview Principles
 First Metview
Principle:
“Everything in Metview
is an Icon”
 Second Metview
Principle:
“Every Metview Task is a
sequence of actions on
icons”
Slide 15
18th EGOWS, Dublin, 18 - 21 June 2007
15
Metview user interface
Opened Desktop
Main Desktop
Menu
Bar
Icon
Drawers
Click-Right
for Desktop
Menu
Edit to
open
Desktop
Desktop Menu
Slide 16
18th EGOWS, Dublin, 18 - 21 June 2007
16
Metview Icon Editors (1)
Family editor (Simple Formula)
Graphical editor
(Display Window)
Slide 17
Standard editor (MARS Retrieval)
18th EGOWS, Dublin, 18 - 21 June 2007
17
Text editor (Macro)
Metview Icon Editors (2)
Icon Id
(click to see contents
in plain text format)
Help Button (linked
to HTML Help Pages)
Input area
Input element:
Icon Field
Input element:
Check Button
Input element:
Option Menu
Templates Drawer:
Stores predefined
(frequently used)
icons
Input element:
Alphanumeric Field
Save/Exit area
18th EGOWS, Dublin, 18 - 21 June 2007
Slide 18
18
Metview - Display Window
Plot Size Control
Generate Macro
Menu Bar
Command Buttons
(‘Tool Tip Help’
when pointing to)
Frame Menu
(Click-Right)
Content Tab
Controls Tab
Slide 19
18th EGOWS, Dublin, 18 - 21 June 2007
19
Metview UI – user feedback
 Easy to learn and use
 Users like small menus
 Icon concept reflects meteorological content
 Icons and Macro objects are the same – future Macros
can be easily prototyped in the GUI
 Default behaviour can be easily adjusted, and templates
of icons exchanged between Metview users
 … still long list of improvements:
- Macro editor needs improving
- More features to process satellite data
- Eventually replace Motif
18th EGOWS, Dublin, 18 - 21 June 2007
Slide 20
20
Metview – developments (1)
 There is a continuing routine effort to incorporate new
facilities into Metview. These constant improvements
include
- New requirements, such as enhancements for BUFR Edition 4
- 'Percentile' application (EPS)
- 'Height' and 'Expand' applications were added into Hovmöller
Family
- Satellite Image re-projection application
- EPS-metgram, 15 Days EPS metgram, and Classic Metgram now
use Magics++
- Enhanced Macro memory usage
Slide 21
18th EGOWS, Dublin, 18 - 21 June 2007
21
Metview - Percentile
Slide 22
18th EGOWS, Dublin, 18 - 21 June 2007
22
Metview - Hovmöller Diagram
Slide 23
18th EGOWS, Dublin, 18 - 21 June 2007
23
Metview – developments (2)
 New features were added into Metview to meet user
requirements, including several Metview Macro
functions:
- remove_duplicates, var_a, stdev_a, covar_a, corr_a, search,
tmpfile, frequencies, integer, unipressure, unithickness
 Add macro functions for code timing
 New compilers, such as GCC 4 and gfortran, were tested
 Routine efforts also include training courses, software
maintenance and support for both internal and external
Metview users
Slide 24
18th EGOWS, Dublin, 18 - 21 June 2007
24
Metview Macro – inline Fortran & C
Slide 25
18th EGOWS, Dublin, 18 - 21 June 2007
25
Metview - releases
 The latest internal Metview version is 3.9.3 which is
based on Magics 6.12 and Emoslib cycle 000320
 Metview 3.9-export, released 2006-11-10, supports the
extended VarEPS
 Tested platforms
- Linux: SuSE 9.1
- IBM: AIX 5.1 / 5.3
- SGI: IRIX 6.5
- HP: HP-UX B.11.00
- Sun: SunOS 5.7
Slide 26
18th EGOWS, Dublin, 18 - 21 June 2007
26
Metview - plans
 Tests have been started to use the grib_api within
Metview to handle Grib 2 data. This will be part of the
next export version
 A general purpose Macro library
 A new visualisation module to take advantage of all the
benefits provided by Magics++
 The first prototype using Magics++ aims to execute
current operational Metview Macros
Slide 27
18th EGOWS, Dublin, 18 - 21 June 2007
27
Magics++
Future Benefits for Metview
 Magics++ and Metview will both use C++
 More input and output formats
 Improvements in user interactivity, such as legend/text
handling
 The ability to dynamically toggle certain graphical
objects, such as contour labels and maxima/minima
 Querying the properties of graphical objects displayed
on screen
 Generate MagML for service-on-demand (web)
Slide 28
18th EGOWS, Dublin, 18 - 21 June 2007
28
11th Workshop on
Meteorological Operational Systems
 12th – 16th November 2007
at ECMWF, Reading, UK
 Speakers are invited
to report on “new trends in
meteorological visualisation
applications”
More information at
www.ecmwf.int/newsevents/meetings/workshops/2007/MOS_11/
Slide 29
18th EGOWS, Dublin, 18 - 21 June 2007
29
Summary
 Metview
-
Metview 3.9 export version
-
Next export version 3.10 planned for 4Q2007
 MAGICS
-
MAGICS 6.11 export version
 Magics++
-
Magics++ 2.0.1 export version
-
Next Export version planned 3Q2007
For more information and to keep up-to-date with developments, please
visit our webpage or subscribe to our RSS at
http://www.ecmwf.int/publications/manuals/magics
Slide 30
http://www.ecmwf.int/publications/manuals/metview
18th EGOWS, Dublin, 18 - 21 June 2007
30