import Magics

Magics.init ()
Magics.setc("output_format",    "ps")

Magics.setc ("output_ps_device", "ps_a4")
Magics.setc ("output_name",      "cont_colours")

Magics.setc ("grib_input_type",      "file")
Magics.setc ("grib_input_file_name", "data/z500.grb")
Magics.grib ()

Magics.setc ("map_coastline_colour", "khaki")
Magics.setc ("map_grid_colour",      "grey")     

Magics.setc ("contour",                  "on")
Magics.setc ("contour_line_colour",      "sky")
Magics.setc ("CONTOUR_HIGHLIGHT_COLOUR", "GREEN")
Magics.setc ("contour_label",            "on")
Magics.cont ()

Magics.text  ()
Magics.coast ()

Magics.new_page ("SUPER_PAGE")

Magics.setr ("SUBPAGE_LOWER_LEFT_LATITUDE",    30.0)
Magics.setr ("SUBPAGE_LOWER_LEFT_LONGITUDE",  -30.0)
Magics.setr ("SUBPAGE_UPPER_RIGHT_LATITUDE",   65.0)
Magics.setr ("SUBPAGE_UPPER_RIGHT_LONGITUDE",  70.0)

Magics.text  ()
Magics.coast ()
Magics.cont  ()

Magics.finalize ()
