User Tools

Site Tools


other:python:jyp_steps

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
Previous revision
Next revision Both sides next revision
other:python:jyp_steps [2016/05/20 13:41]
jypeter Added a link to 'Working with Python' at the top
other:python:jyp_steps [2016/07/21 09:18]
jypeter [cdms2] Added a link to UV-CDAT in the "Working with Python" page
Line 128: Line 128:
 ==== cdms2 ==== ==== cdms2 ====
  
-Summary: cdms2 can read/write netCDF files (and read //grads// dat+ctl files) and provides a higher level interface than netCDF4. Unfortunately,​ cdms2 is only available in the UV-CDAT distribution,​ and distributions where somebody has installed some version of //​cdat-lite//​. When you can use cdms2, you also have access to //cdtime//, that is very useful for handling time axis data.+Summary: cdms2 can read/write netCDF files (and read //grads// dat+ctl files) and provides a higher level interface than netCDF4. Unfortunately,​ cdms2 is only available in the [[other:​python:​starting#​uv-cdat|UV-CDAT distribution]], and distributions where somebody has installed some version of //​cdat-lite//​. When you can use cdms2, you also have access to //cdtime//, that is very useful for handling time axis data.
  
 How to get started: How to get started:
Line 163: 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 171: 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 =====
  
other/python/jyp_steps.txt · Last modified: 2024/03/07 10:15 by jypeter