Versions Compared

Key

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

...

To make use of the new features of Magics, Metview 4 uses a new Contouring icon. One feature of Metview 3 which is not directly available in Metview 4 is Contour Splitting. This was a feature which enabled different isoline styles to be applied above, below and on a particular threshold (typically zero, for the purpose of examining the difference between two fields). To emulate this behaviour in Metview 4 requires either the use of the Rainbow contour settings, or the creation of three separate contour icons which can then be dropped together into the plot (or converted into three separate calls to mcont). See Migration: Split Contours for example Macro code and plots.

Automatic computation and plotting of isotachs is no longer supported in Magics. A small macro can be used to compute wind speed like this:

Code Block
speed = sqrt(u*u + v*v) # where u and v are field(set)s of u and v wind components
plot(speed)

...

In Macro, pcont is replaced by mcont.

...