You have seen already how to visualise outputs
All graphical output formats are generated through Magics. Detailed descriptions of the output formats and their settings can be found in the Magics reference documentation.
The table below gives
Format | parameter | How to visualise | What to use for |
---|---|---|---|
Qt | Metview display window | Interactive usage | |
PostScript | ps/eps | okular, ghostscript/gv | Printing, publications |
okular, acroread | Web, archiving | ||
PNG | png | web browsers, display, xv | Web, presentations -> animations |
SVG | svg | web browsers, inkscape | Web HTML5, editing with inkscape |
KML/KMZ | kml | Google Earth, Google Maps, OpenLayers | Interactive publications |
output_common = ( output_name : "/tmp/myOutputTest", output_width : 1000, output_title : "Map of Z500", output_debug : "ON", output_filelist : "ON", output_filelist_name : "/tmp/filelist.txt" ) ps = ps_output( output_common, output_ps_scale : 0.9, output_ps_colour_model : "CMYK" ) png = png_output( output_common, output_cairo_transparent_background : "ON" ) svg = svg_output( output_common, output_svg_fix_size : "ON", output_svg_meta : "Metview map of Z500", output_svg_desc : "This file was generated for the Training course" ) kml = kml_output( output_common, kml_description : "This file was generated for the Training course", kml_author : "Stephan Siemen", kml_link : "http://www.ecmwf.int", kml_latitude : 30, kml_longitude : 120, kml_coastlines : "ON" ) output_drivers = [ps, png, svg, kml] setoutput(output_drivers) data = read("z500.grib") plot(data) |
KML is a very special output format. It contains the it has no notion of output size.
KML can only be generated if the Cylindrical projections is selected! |
Metview allows
Metview provides a WMS (Web Map Service) module which can be used to query an OGC-compliant WMS server, retrieve maps from it and overlay them with other data. The following material describes the use of WMS within Metview.