Temperature (100 hPa)

The metadata used to detect the styles are :

level

100

levelist

100

levtype

pl

paramId

130

shortName

t

Default style:

Contour shade (Range: -96 / -8) [sh_all_fM96tM8i4]

../../_images/t-sh_all_fM96tM8i4.png

Other available styles:

Contour shade (Range: -96 / -8) [sh_all_fM96tM8i4]

../../_images/t-sh_all_fM96tM8i4.png

Contour (Interval 2, red, dash) [ct_red_i2_dash]

../../_images/t-ct_red_i2_dash.png

Contour shade (Range: -76 / 56) [sh_gry_fM72t56lst]

../../_images/t-sh_gry_fM72t56lst.png

Additional 1 (Range: -80 / 56) [sh_all_fM80t56i4_v2]

../../_images/t-sh_all_fM80t56i4_v2.png

Contour (interval 4, thickness 3) [ct_red_i4_t3]

../../_images/t-ct_red_i4_t3.png
from Magics import macro as magics

output = magics.output(output_formats = ['png'],
                output_name_first_page_number = "off",
                output_name = "t")



data =  magics.mgrib(grib_input_file_name = "t.grib")

contour = magics.mcont(contour_automatic_setting="style_name",
                        contour_style_name= "sh_all_fM96tM8i4",)

coastlines = magics.mcoast(map_grid = "off" )

magics.plot(output, data, contour, coastlines)

# sphinx_gallery_thumbnail_path = '_static/styles/t-sh_all_fM96tM8i4.png'

Total running time of the script: ( 0 minutes 0.000 seconds)

Gallery generated by Sphinx-Gallery