Versions Compared

Key

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

This tutorial explains how to convert ECMWF GRIB data into VAPOR format and how to visualise the resulting data in VAPOR.

Table of Contents

Pressure level data

In this exercise we will see how to use pressure level ECMWF GRIB data with VAPOR. We will work with fields from yesterday's forecast on a low resolution grid over Europe.

...

Getting the GRIB data

First, we retrieve our GRIB data from MARS. We will need two MARS retrieval icons: one for the surface and one for the pressure levels.

Now create a MARS Retrieval icon for the surface fields. Rename it 'ret_surf', then apply the following settings:

...

Paramz/t/r/u/v
Levelpl
Levelist1000/950/925/900/850/800/700/600/500/400/300/250/200/150/100
Date

-1

Time0
Step0/12/24
Area35/-10/65/30
Grid1/1
Info

Now we could save the retrieved GRIB data to disk.

Setting up Vapor Prepare

Having set up the retrievals we can focus on the conversion of the data into the VAPOR format.

Now, create a VAPOR Prepare icon.

Image Added

Rename it 'vapor_pl' and open up its editor.

First, we need to ensure that Vapor Input Mode is set to 'Icon' then drop the two Mars Retrieval icons into the Vapor Input Data field.

...

We set the vertical grid type to 'Layered' and defined geopotential (z) as the parameter holding the elevation of the vertical layers (pressure levels).   Internally, VAPOR Prepare converts geopotential to metres and rename it ELEVATION (this is required by VAPOR). We also specified the vertical coordinate range (in metres) that VAPOR will display.

...

Now save your VAPOR Prepare icon then right click Execute to run the conversion.

...

The will first turn orange then green when the conversion finishes.

Visualise

Right click Visualise your VAPOR Prepare icon to start up VAPOR. You will see this window popping up:

Image Added

Now go to the DataLoad a Dataset into Current Session menu and load the vdf file you have just created with your VAPOR Prepare (here you need to find use the path you specified in Vapor Output Path).

Image Added

Having loaded the vdf file you get something like this:

Image Added

If you rotate the cube in the display window (middle mouse button) you will see it is flat. We need to scale the vertical axis to get a better view of the whole 3D volume. Go to the Edit Edit Visualiser Features menu and set the Z Scene Stretch Factor to 200:

Image Added

Image Added

Now the full 3D volume is visible:

Image Added

Next, we load a pre-installed map image to get a better geographical reference for the domain we are looking at. Open the Image tab and load 'BigBlueMarble.tiff' by using the Select Installed Image button. Then tick Instance: 1 at the top of the Edit tab. The scene has now changed like this:

Image Added

Having set up the view we can now visualise our data.

 

 

Explaining further details about VAPOR visualisation goes beyond the scope of this tutorial. For an in depth introduction please study the VAPOR tutorials at:

https://www.vapor.ucar.edu/docs/vapor-tutorials

 

 

Model level data

...

Getting the GRIB data

First, we need to retrieve our GRIB data from MARS. We will need to create two MARS retrieval Retrieval icons: one for the surface and one for the pressure model levels.

Now create a MARS Retrieval icon for the surface fields. Rename it 'ret_surf_ml', then apply the following settings:

Paramz/2t/10u/10v
Levelsfc
Date

-1

Time0
Step0/12/24
Area35/-10/65/30
Grid1/1

Create another MARS Retrieval icon for the pressure model level fields up to 100 hPalevel 20. Rename it 'ret_pl' and edit it in the following way:

Paramz/t/r/u/v
Levelpl
Levelist1000137/950/925/900/850/800/700/600/500/400/300/250/200/150/100to/60
Date

-1

Time0
Step0/12/24
Area35/-10/65/30
Grid1/1

Setting up Vapor Prepare

Having set up the retrievals we can focus on converting the data into the VAPOR format.

...

Now save your VAPOR Prepare icon.

 

Running Vapor Prepare

 

 Right-click on the VAPOR icon and Execute to run