Note
Go to the end to download the full example code
Low cloud cover
The metadata used to detect the styles are :
paramId |
186 |
shortName |
lcc |
Default style:
Transparency grey (rgbA) [transparency_grey]
Other available styles:
Transparency grey (rgbA) [transparency_grey]
Contour shade (0-1, intervals in octas) [sh_gry_f0t1lst]
Contour shade (0-1, intervals in octas) [sh_redgry_f0t1lst]
Transparency grey for sct and bkn (or ovc) clouds [tran_gry_f03t1lst]
from Magics import macro as magics
output = magics.output(output_formats = ['png'],
output_name_first_page_number = "off",
output_name = "lcc")
data = magics.mgrib(grib_input_file_name = "lcc.grib")
contour = magics.mcont(contour_automatic_setting="style_name",
contour_style_name= "transparency_grey",)
coastlines = magics.mcoast(map_grid = "off" )
magics.plot(output, data, contour, coastlines)
# sphinx_gallery_thumbnail_path = '_static/styles/lcc-transparency_grey.png'
Total running time of the script: ( 0 minutes 0.000 seconds)