|
It performs the query, defines which ODB columns should be interpreted as latitude, longitude and value(s) and specifies the plot type (symbol or wind plotting), as well.
Create a new ODB Visualiser icon (right-click in the desktop when no icons are selected and use the New icon ... menu) and rename it 'tb_plot'.
First, open its editor and set Odb Plot Type to 'Geo Points' to indicate that we want to plot the values on a map.
Second, drop your 'AMSUA.odb' database icon into the Odb Data field. This specifies the database for which the query will be performed.
Third, specify the ODB/SQL query and the way the columns are interpreted to generate the plot. We want to perform the following query:
|
In the ODB Visualiser interface this query cannot be typed in directly but has to be split into the following individual items:
Odb Latitude Variable: | specifies the name of the column holding the latitude data in the SELECT statement (here lat@hdr). |
Odb Longitude Variable: | specifies the name of the column holding the longitude data in the SELECT statement (here lon@hdr) |
Odb Value Variable | specifies the name of the column holding the value data in the SELECT statement (here obsvalue@body) |
Odb Where | specifies the WHERE statement. In our example it is as follows:
|
Last, we have to specify the units of the geographical co-ordinates (here lat@hdr and lon@hdr) in the Odb Coordinates Unit field. It is necessary since Metview requires geographical co-ordinates in degrees, but there is no general way to find out their units in an ODB database. Instead an explicit declaration is needed from the users. Our database stores co-ordinates in degrees. So, to correctly interpret our co-ordinate values Odb Coordinates Unit should be set to 'Degrees' (which is the default value so we do not need to change it).
Having finished the modifications your icon editor should look like this:
Remarks
Specifies the plot type to be generated. The possible values are as follows:
The default value is: geo_points.
Specifies the path to the input ODB
Specifies the input ODB as an icon. If both an icon (in ODB Data) and a filename (in ODB Filename) are specified the icon takes precedence.
Specifies the ODB column interpreted as latitude when ODB Plot Type is set to geo_points or geo_vectors. The default is lat@hdr.
Specifies the ODB column interpreted as longitude when ODB Plot Type is set to geo_points or geo_vectors. The default is lon@hdr.
ODB X Component Variable
ODB Y Component Variable
ODB X Type
ODB Y Type
ODB X variable
ODB Y Variable
ODB Value Variable
ODB Metadata Variables
ODB Parameters
ODB From
ODB Where
ODB Orderby
Specifies the ODB/SQL query to run.
Specifies 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.
ODB Coordinate Units
ODB Binning
Fail On Empty Output