This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
other:python:jyp_steps [2016/02/23 10:03] jypeter Added links to Numexpr and PyTables |
other:python:jyp_steps [2016/06/27 15:32] jypeter [Basemap] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== JYP's recommended steps for learning python ====== | ====== JYP's recommended steps for learning python ====== | ||
+ | |||
+ | <note tip>If you don't know which python distribution to use and how to start the python interpreter, you should first read the [[starting|Working with Python]] page</note> | ||
As can be expected, there is **a lot** of online python documentation available, and it's easy to get lost. You can always use google to find an answer to your problem, and you will probably end up looking at lots of answers on [[http://stackoverflow.com/questions/tagged/python|Stack Overflow]] or a similar site. But it's always better to know where you can find some good documentation... and to spend some time to read the documentation | As can be expected, there is **a lot** of online python documentation available, and it's easy to get lost. You can always use google to find an answer to your problem, and you will probably end up looking at lots of answers on [[http://stackoverflow.com/questions/tagged/python|Stack Overflow]] or a similar site. But it's always better to know where you can find some good documentation... and to spend some time to read the documentation | ||
Line 161: | Line 163: | ||
===== Basemap ===== | ===== Basemap ===== | ||
+ | |||
+ | <note warning>It seems that basemap is going to be slowly phased out, in favor of [[#cartopy]]\\ More information in this [[https://github.com/matplotlib/basemap/issues/267|basemap github issue]] | ||
+ | </note> | ||
Summary: Basemap is an extension of Matplotlib that you can use for plotting maps, using different projections | Summary: Basemap is an extension of Matplotlib that you can use for plotting maps, using different projections | ||
Line 169: | Line 174: | ||
- look at the [[http://matplotlib.org/basemap/users/examples.html|examples]] | - look at the [[http://matplotlib.org/basemap/users/examples.html|examples]] | ||
- check the [[http://matplotlib.org/basemap/users/mapsetup.html|different projections]] | - check the [[http://matplotlib.org/basemap/users/mapsetup.html|different projections]] | ||
- | - look at the [[http://matplotlib.org/basemap/api/basemap_api.html#module-mpl_toolkits.basemap|detailed documentation]] | + | - read some documentation! |
+ | - the **really nice** [[http://basemaptutorial.readthedocs.io/en/latest/index.html|basemap tutorial]] seems much better than the official documentation below | ||
+ | - look at the [[http://matplotlib.org/basemap/api/basemap_api.html#module-mpl_toolkits.basemap|detailed official documentation]] | ||
+ | |||
+ | ===== Cartopy ===== | ||
+ | Summary: //Cartopy makes use of the powerful PROJ.4, numpy and shapely libraries and has a simple and intuitive drawing interface to matplotlib for creating publication quality maps// | ||
+ | Where: [[http://scitools.org.uk/cartopy/docs/latest/|Cartopy web site]] | ||
===== Scipy Lecture Notes ===== | ===== Scipy Lecture Notes ===== | ||