mirror of
https://github.com/ecmwf/skinnywms.git
synced 2026-01-18 16:13:03 +00:00
60 lines
1.4 KiB
Python
60 lines
1.4 KiB
Python
"""
|
|
Convective inhibition
|
|
=============================
|
|
|
|
The metadata used to detect the styles are :
|
|
|
|
**paramId:** 228001
|
|
**shortName:** cin
|
|
|
|
|
|
|
|
Styles available:
|
|
|
|
|
|
Contour shade (Range: 0/900)
|
|
-------------------------------------------------
|
|
.. image:: ../_static/style/cin-sh_red_f0t900.png
|
|
:width: 400
|
|
Contour shade (Range: 0/900)
|
|
-------------------------------------------------
|
|
.. image:: ../_static/style/cin-sh_black_f0t900.png
|
|
:width: 400
|
|
Transparent contour shade (Range: 50/1100)
|
|
-------------------------------------------------
|
|
.. image:: ../_static/style/cin-sh_grey_min50.png
|
|
:width: 400
|
|
Transparent contour shade (Range: 100/1100)
|
|
-------------------------------------------------
|
|
.. image:: ../_static/style/cin-sh_grey_min100.png
|
|
:width: 400
|
|
Transparent contour shade (Range: 200/1100)
|
|
-------------------------------------------------
|
|
.. image:: ../_static/style/cin-sh_grey_min200.png
|
|
:width: 400
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
from Magics import macro as magics
|
|
|
|
output = magics.output(output_formats = ['png'],
|
|
output_name_first_page_number = "off",
|
|
output_name = "cin")
|
|
|
|
|
|
|
|
data = magics.mgrib(grib_input_file_name = "cin.grib"
|
|
|
|
contour = magics.mcont(contour_automatic_setting="style_name",
|
|
contour_style_name= "",)
|
|
|
|
coastlines = magics.mcoast()
|
|
|
|
magics.plot(output, data, contour, coastlines)
|
|
|
|
# sphinx_gallery_thumbnail_path = '_static/styles/cin-.png'
|
|
|