Note
Go to the end to download the full example code
Convective avail. pot.energy
The metadata used to detect the styles are :
paramId |
59 |
shortName |
cape |
Default style:
Shade from 100 to 4500 (orange-blue) [range_100_4500]
Other available styles:
Shade from 100 to 4500 (orange-blue) [range_100_4500]
Shade from 50 to 9000 [range_50_9000]
Contour red lines (Range: 50/8000) [ct_red_f50t8000]
Contour green lines (Range: 10/8000) [ct_green_f10t8000]
Shading (50 to 8000) [cape_extra1]
from Magics import macro as magics
output = magics.output(output_formats = ['png'],
output_name_first_page_number = "off",
output_name = "cape")
data = magics.mgrib(grib_input_file_name = "cape.grib")
contour = magics.mcont(contour_automatic_setting="style_name",
contour_style_name= "range_100_4500",)
coastlines = magics.mcoast(map_grid = "off" )
magics.plot(output, data, contour, coastlines)
# sphinx_gallery_thumbnail_path = '_static/styles/cape-range_100_4500.png'
Total running time of the script: ( 0 minutes 0.000 seconds)