Note
Go to the end to download the full example code
Charnock
The metadata used to detect the styles are :
paramId |
148 |
shortName |
chnk |
Default style:
Contour shade (Range: 0/0.1) [sh_red_f0t01_16]
Other available styles:
Contour shade (Range: 0/0.1) [sh_red_f0t01_16]
from Magics import macro as magics
output = magics.output(output_formats = ['png'],
output_name_first_page_number = "off",
output_name = "chnk")
data = magics.mgrib(grib_input_file_name = "chnk.grib")
contour = magics.mcont(contour_automatic_setting="style_name",
contour_style_name= "sh_red_f0t01_16",)
coastlines = magics.mcoast(map_grid = "off" )
magics.plot(output, data, contour, coastlines)
# sphinx_gallery_thumbnail_path = '_static/styles/chnk-sh_red_f0t01_16.png'
Total running time of the script: ( 0 minutes 0.000 seconds)