User Tools

Site Tools


other:python:maps_by_jyp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
other:python:maps_by_jyp [2019/09/13 14:02]
jypeter Finished adding the megabiome example
other:python:maps_by_jyp [2019/09/18 13:40]
jypeter [Megabiome maps]
Line 30: Line 30:
  
 {{:​other:​python:​mh_cm6_cm5_megabiome.png?​direct&​300 |}} {{:​other:​python:​mh_cm6_cm5_megabiome.png?​direct&​300 |}}
-  * Load the NetCDF model data with ''​cdms2'',​ and the xlsx observations'​ data with ''​pandas''​+  * Load the NetCDF model data with ''​cdms2'',​ and the csv observations'​ data with ''​pandas''​
   * Use ''​matplotlib''​+''​cartopy''​ to create the plot   * Use ''​matplotlib''​+''​cartopy''​ to create the plot
     * Create three plots on a 2x2 layout with an //​Orthographic//​ projection (centered on Europe) and a common colorbar. Explicitly make the 4th plot //​invisible//​ in order to make space for plotting the colorbar (''​colorbar_plot.background_patch.set_visible(False)''​ and ''​colorbar_plot.outline_patch.set_visible(False)''​)     * Create three plots on a 2x2 layout with an //​Orthographic//​ projection (centered on Europe) and a common colorbar. Explicitly make the 4th plot //​invisible//​ in order to make space for plotting the colorbar (''​colorbar_plot.background_patch.set_visible(False)''​ and ''​colorbar_plot.outline_patch.set_visible(False)''​)
other/python/maps_by_jyp.txt · Last modified: 2021/08/03 12:01 by jypeter