Metview's documentation is now on readthedocs!

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

If you wish to visualise a very large field (e.g. where a single field contains hundreds of millions of points), Metview may be able to plot it, but it is advised to do certain things to minimise the memory usage.

Disable the data statistics in the sidebar

From the sidebar of the plot window, click the two buttons at the bottom to disable the collection of data for the statistics and the histogram. Close the plot window in order to save these settings.

(error) Statistics ON(tick)  Statistics OFF

Avoid re-rendering

The least efficient way to plot a GRIB file is to perform the steps in this order:

  1. visualise the file
  2. drop a Contouring icon into the plot window
  3. zoom into a smaller area

This will cause the data to be plotted a total of 3 times, 2 of which will be global.

A better strategy is this:

  1. visualise a Geographic View icon that's been set to the desired area (or global if desired)
  2. drop the GRIB icon with a Contouring icon together into the plot window

Now the data will be plotted just once, and only on the smaller area (if selected).

Choose your plotting algorithm wisely

For plotting larger areas (say, Europe or the whole globe), it can be best to switch to cell shading for a faster plot. For small areas (e.g. the size of a small country), grid shading will give the most accurate results, but this can be slower for larger areas.

Example cell shading parametersExample grid shading parameters
MCONT,
    LEGEND     = ON,
    CONTOUR    = OFF,
    CONTOUR_MAX_LEVEL = 1.01,
    CONTOUR_SHADE_MAX_LEVEL = 1.01,
    CONTOUR_SHADE = ON,
    CONTOUR_SHADE_TECHNIQUE = CELL_SHADING,
    CONTOUR_SHADE_CELL_RESOLUTION = 50,
    CONTOUR_SHADE_MAX_LEVEL_COLOUR = KELLY_GREEN,
    CONTOUR_SHADE_MIN_LEVEL_COLOUR = 'RGB(0.95,0.97,0.98)',
    CONTOUR_SHADE_COLOUR_DIRECTION = CLOCKWISE
MCONT,
    LEGEND     = ON,
    CONTOUR    = OFF,
    CONTOUR_MIN_LEVEL = 0.0001,
    CONTOUR_SHADE_MIN_LEVEL = 0.0001,
    CONTOUR_SHADE = ON,
    CONTOUR_SHADE_TECHNIQUE = GRID_SHADING,
    CONTOUR_SHADE_MAX_LEVEL_COLOUR = KELLY_GREEN,
    CONTOUR_SHADE_MIN_LEVEL_COLOUR = 'RGB(0.95,0.97,0.98)',
    CONTOUR_SHADE_COLOUR_DIRECTION = CLOCKWISE

 

 

 

  • No labels