This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
other:python:maps_by_jyp [2019/09/12 15:39] jypeter created |
other:python:maps_by_jyp [2019/09/12 15:56] jypeter Started adding the megabiomes example |
||
---|---|---|---|
Line 5: | Line 5: | ||
This page is under construction and its content may change drastically. The source codes are on LSCE servers, that you can hopefully access (too bad otherwise...) | This page is under construction and its content may change drastically. The source codes are on LSCE servers, that you can hopefully access (too bad otherwise...) | ||
- | ===== PFT map ===== | + | ===== PFT maps ===== |
- | * Summary: Plot two PFT maps on a page | + | * Summary: plot two PFT maps on a page |
* Authors: Camille Contoux & Jean-Yves Peterschmitt | * Authors: Camille Contoux & Jean-Yves Peterschmitt | ||
* Date: September 2019 | * Date: September 2019 | ||
Line 13: | Line 13: | ||
{{:other:python:pft_plio_0k.png?direct&300 |}} | {{:other:python:pft_plio_0k.png?direct&300 |}} | ||
- | * Load the NetCDF data with ''cdms2'' | + | * Load the NetCDF model data with ''cdms2'' |
* Optionally reduce the number of PFTs before plotting | * Optionally reduce the number of PFTs before plotting | ||
* Use ''matplotlib''+''cartopy'' to create the plot | * Use ''matplotlib''+''cartopy'' to create the plot | ||
* Create two plots with a common colorbar | * Create two plots with a common colorbar | ||
* Use a listed colormap (and the associated norm), and pcolormesh to plot the discrete PFT values | * Use a listed colormap (and the associated norm), and pcolormesh to plot the discrete PFT values | ||
+ | |||
+ | ===== Megabiome maps ===== | ||
+ | |||
+ | * Summary: Plot two megabiome maps based on 2 versions of the IPSL model (CM5 and CM6), and compare them to a map with observations | ||
+ | * Authors: Raj Rani-Singh & Jean-Yves Peterschmitt | ||
+ | * Date: September 2019 | ||
+ | * Script: ''~jypeter/CDAT/Progs/Devel/pasb/PMIP4/Press_Conference_1909/mh_CM6_CM5_megabiome.py | ||
+ | '' | ||
+ | |||
+ | |||
+ | * Load the NetCDF model data with ''cdms2'', and the xlsx observations' data with ''pandas'' | ||
/* standard page footer */ | /* standard page footer */ |