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 revisionPrevious revision
Next revisionBoth sides next revision
other:python:maps_by_jyp [2019/09/13 16:02] – Finished adding the megabiome example jypeterother:python:maps_by_jyp [2019/09/18 15:40] – [Megabiome maps] jypeter
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 14:01 by jypeter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki