...
Then run the following command from the command line:
Code Block |
---|
cp -Rf ~cgx/tutorialtutorials/odb_seminar_2017 ~/metview/ |
This will copy all the examples into your metview Metview home folder. Soon you will see a folder called 'odb_seminar_2017' appear on your main Metview desktop. Double-click to enter it. You should see the following contents:
ODB Exercise
This exercise shows how to retrieve ODB data from MARS, examine its structure then plot and process it in different ways. Enter folder 'main' to start the exercise.
...
The 'plot_wind.mv' Macro plots wind on a given pressure level from the 'temp.odb' ODB. It is not a trivial task to do because the u and v wind components cannot be retrieved from our ODB in with a single query. The This macro overcomes this difficulty by using the following steps:
- two ODB queries are performed: one for the u and one for the v wind component
- the resulting data is converted into Geopoints
- the macro plots the wind data plotted as Geopoints
Edit it 'plot_wind.mv' and visualise it using the play button. Try to set a different level by changing parameter lev
at the top of the macro code.
Tephigram plotting
Macro 'plot_tephi.mv' demonstrates how to extract and plot TEMP ODB data into a tephigram (it is a type of thermodynamic diagram to show atmospheric for atmospheric profiles). Edit the macro and visualise it. Try to change the station specified at the top of the macro code.
Other Examples
There are some other examples presented i
provided in 'odb_seminar_2017' folder (it is one level up from folder 'main').
Satellite radiances
Enter folder 'radiance_map'. The ODB database
"ASMUA.odb" stores AMSU-A brightness temperature observations. Right-click examine to start up the ODB examiner and study the Columns and Data tabs in it.
Example 2: Wind Plotting and Overlay - Scatterometer
...
Use 'tb_plot' to visualise it and the other provided icons to customise the plot.
Scatterometer wind
Enter folder 'scatterometer'. '
SCATT.odb' contains scatterometer data. Macro 'scatt.mv' extracts and plots scatterometer wind (ambiguous wind components) for a limited area and time period. Visualise the macro and drop the provided 'mslp.grib' icon into the plot. This GRIB contains a mean sea level forecast valid at the same time as the observations.
Scatterplot
Enter folder 'scatterplot'.
"ASMUA.odb" stores AMSU-A brightness temperature observations.
Visualise 'scatter_plot' and customise it with the provided Symbol Plotting icon. The plot you see is a scatterplot for the first guess departures (x axis) and analysis departures (y axis) for a given channel.
Visualise 'bin_plot' to get the binned version of the same data (as a heat map). Drop the provided Contouring, Cartesian View and Text Plotting icons into the plot to fully customise it.
Wind profiler
Enter folder 'wind_profiler'.
'PROF.odb' contains wind profiler data. Use 'profiler.mv' to plot this data into a time-height diagram for a selected station.