Versions Compared

Key

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

...

Section


Column
width76px


Column

This icon performs an ODB/SQL query on an ODB database (ODB-1) or file (ODB-2). The result is always an ODB file (in ODB-2 format)adds an image to the plot at the specified position, which is given in device coordinates in cm units.

Info

From Macro/Python the icon can be called as odb_filtermimport().

Tip

A tutorial about using ODB in Metview can be found here.

What is ODB?

ODB is a database developed at ECMWF to store and retrieve large volumes of meteorological observational and feedback data efficiently for use within the IFS.

Currently, ODB comes in two flavours:

  • ODB-1 (the original hierarchical table format capable of running in a parallel environment within IFS)
  • ODB-2 (a new flat format with a modern API used for archiving in MARS).

The ODB Filter Editor

...



The Import Plotting Editor

Import File Name

Specifies the path to the input ODB

...

to file to be imported.

Import File

Specifies the input ODB import file as an icon. If I both an icon (in ODB Data) and a filename (in ODB Filename) path are specified the icon takes precedence.

...

Import Format

Specifies the ODB/SQL query to run.

ODB NB Rows

format. The possible values are: png, jpeg and gif. The default value is gif.

Import X Position

Specifies the x coordinate of the bottom left corner of the image in the plot. The units are in cm. The default value is 0.

Import Y Position

Specifies the y coordinate of the bottom left corner of the image in the plot. The units are in cmSpecifies the maximum number of rows in the result. If -1 is given here the number of rows is not limited in the output. The default value is -1 0.

Fail On Empty Output

Import Width

Specifies the width of the image in the plot. The units are in cm. The default value is -1, which means the width is automatically computed.

Import Height

Specifies the height of the image in the plot. The units are in cm. The default value is -1, which mean the height is automatically computedWhen it is set to Yes the icon will not fail if the resulting ODB is empty (in Macro the return value is nil while in Python it is None). Otherwise when it is set to No the icon will fail on empty output. The default value is Yes.