Objectives of the tutorial


 

At the end of this tutorial, you will be able to:

  • write and run small Magics python programs.
  • create meteorological maps using different projections, or Cartesian projections
  • load grib, netcdf, or simple ascii data

  • use the different action routines contour, wind, graph to visualise them
  • add text and legend
  • create a complex layout to get organise your plots
  • find your way in the documentation



Quick Links


Hello World

A Geographical Map

In short, once you  have realised this plot, you will have understood and used the main concepts of Magic

 

 

 

 

 

Before you start ...

During this tutorial, you will use python and magics++ on a linux workstation.

Here is a list of basic commands you may need to use

Basic unix commands:

Using an editor:

There are several editors available

Run the python interpretor :

In this tutorial we are expecting you to create a python script using your favourite editor and run python to interpret it. Your system have been set-up already and you can use Magics and python by typing the single command:

Visualise your result:

Magics will generate a postscript or a png output. To visualise the results, you can use one of the following commands:

First Step - warming up : the "Hello World" example 

  • get familiar with the environment

  • find your favourite editor to edit your python script

  • create your first Magics script

  • learn how to:

Second Step - a geographical map

  • Setup a geographical area

  • Learn how  to

    • load grib data and apply nice contouring to them
    • Draw a curve on a map.
    • Draw a symbol
    • Setup a text
    • taylor the legend

      Go to the tutorial ...

Third Step - a vertical profile and a Time serie

Fourth Step - a Cross Section

Fifth Step - a advanced symbol plotting

 Finally - a complex layout