Note
Go to the end to download the full example code
large scale precipitation
The metadata used to detect the styles are :
paramId |
142 |
shortName |
lsp |
Default style:
Contour shade (Range: 0.5 / 250, with isolines) [sh_blured_f05t300lst]
Other available styles:
Contour shade (Range: 0.5 / 250, with isolines) [sh_blured_f05t300lst]
Contour shade (Range: 1.0 / 250, no isolines) [sh_blured_f1t100lst]
Contour shade (Range: 1.0 / 250, no isolines) [sh_blured_f1t100lst_dark]
Contour shade (Range: 1.0 / 250, no isolines) [sh_grnvio_f1t100lst]
Contour shade (Range: 0.5 / 300, no isolines) [sh_all_f05t300lst]
Contour shade (Range: 0.1 / 500) [sh_blured_f01t500lst]
Contour shade (Range: 0/300, with isolines) [sh_blured_f0t300]
Contour (Range: 1 / 250, thickness 2, blue) [ct_blumag_lst]
from Magics import macro as magics
output = magics.output(output_formats = ['png'],
output_name_first_page_number = "off",
output_name = "lsp")
data = magics.mgrib(grib_input_file_name = "lsp.grib")
contour = magics.mcont(contour_automatic_setting="style_name",
contour_style_name= "sh_blured_f05t300lst",)
coastlines = magics.mcoast(map_grid = "off" )
magics.plot(output, data, contour, coastlines)
# sphinx_gallery_thumbnail_path = '_static/styles/lsp-sh_blured_f05t300lst.png'
Total running time of the script: ( 0 minutes 0.000 seconds)