You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Plotting wind arrows coloured by temperature

Note that these examples are only skeletons to illustrate the functionality of Magics.


You can download this Jupyter notebook and wind and temperature NetCDF data data from ECMWF github space.















More about projections in projection examples.






More about coastline plotting in  coastline examples.

























More about legend plotting in legend tutorial.


Plotting in directly in Jupyter notebooks doesn't need output to be specified. Most of the time you will want an output.

To run this outside of Jupyter notebooks add this piece of code:
png = magics.output(
    output_formats = ['png'],
    output_name_first_page_number = "off",
    output_name = "wind_temperature")

magics.plot(png, projection, black_background, wind_from_nc, my_wind, legend)


  • No labels