Versions Compared

Key

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


Warninginfo

The Weather Symbol Editor is an experimental feature and is not yet released outside the ECMWF.was introduced in Metview 5.14.0, with further development planned for the future


The Weather Symbol Editor is a feature that allows you to add annotations to Metview plots that will survive plot updates such as zooming, changes of projection and contouring.

Image RemovedImage Added


At ECMWF you need to use a development the latest Metview version to try out the editor. The command to run is:

Code Block
module swap metview/5.14.0-developnew
metview

How to start the symbol editor?

...

You can use any square shaped SVG or PNG file as a symbol. These have to be added to the System/Symbols folder in your Metview home directory. On top of that you can also use symbols from the directory specified by the METVIEW_EXTRA_FEATURE_SYMBOLS_DIR environment variable. When you start a uPlot window it scans this directory these directories and adds all the files with .*svg or *.png  suffix to the Markers and text group in the Symbols sidebar.

...

First, make sure you are not in zoom mode, because clicks will be taken as zooms! Single click on the symbol: it gets into edit mode where you can move and resize it and edit its graphical properties from the ribbon editor at the top of the view area. Note that the filled shapes allow you to remove the filling and just keep the outline. Also note that all the 'line' objects can have arrow heads.

How can I edit the points on a polyline, curve or front?

...

You can add/remove points to a curve when you are in the point edit mode. Right click on a control point and use the actions in the context menu:

How can I edit the text?

The text item has two modes: a normal mode and an edit mode where the text can be interactively typed in or altered. In edit mode a frame is rendered around the text item to distinguish it from the normal mode.

Image AddedImage Added

To enter the edit mode double-click on the item. To leave the edit mode click outside the item. You can also drag an edited item by the editor frame (the item will switch automatically into normal mode). Please note that when a text item is created it automatically appears on the screen in edit mode.

How do I add an arrow?

Just add any of the line objects (including polylines) and go to the property editor to add arrow heads to either or both ends of the line.

Can I rotate the objects?

It is not yet available.

Is redo-undo available?

Yes, there is a redo-undo functionality for all the symbol operations. You can access it via the toolbar buttons or using the Ctrl+Z (undo) Shift+Ctrl+Z (redo) shortcuts:

Image Added

Please note that when performing zoom or dropping an icon into the plot the undo history is cleared.

Can I drag symbols out of the map area?

It

...

is only possible for the markers, the text and the WMO symbols. The other symbols and shapes are all clipped to the map area, so any parts outside of it become invisible. The policy is even stricter for the fitted geo shapes: these are fully bound to the map area and none of their points or edges can be moved outside!

How does clipping work?

The clipping policy is based on the object type.

For markers, text and WMO symbols no clipping is applied. However, when we zoom the following things happen:

  • items that were outside the map area stay at their scene (i.e. window) position
  • items that were inside the map area before zoom but get out of the map will be hidden. They become visible again when we unzoom.

The snapshots below illustrates how it works.

Image AddedImage AddedImage Added

For all the other types clipping is always applied (the example below shows how it works for a cold front).

Image AddedImage AddedImage Added

Fitted geo shapes are fully bound to the map area and none of their points or edges can be moved outside! 

How to generate a PNG or PDF from the scene?

...

The symbols are preserved as they are between time steps; you cannot define different sets of symbols, or move them between time steps.

Feedback

If at ECMWF, you should be able to see the Weather Symbol Editor feedback page - please leave any comments there!