User Tools

Site Tools


other:uvcdat:extra

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
Last revision Both sides next revision
other:uvcdat:extra [2015/09/11 16:09]
jypeter More pandas related updates
other:uvcdat:extra [2016/06/01 09:54]
jypeter Added pip notes and an old version of scikit-image
Line 3: Line 3:
  
 This page lists the packages (usually) installed in the LSCE-IPSL CDAT versions that are not available in the standard UV-CDAT (i.e. there are no //ccmake// configuration switches to get them installed). This page lists the packages (usually) installed in the LSCE-IPSL CDAT versions that are not available in the standard UV-CDAT (i.e. there are no //ccmake// configuration switches to get them installed).
 +
 +===== pip related notes =====
 +
 +[[http://​python-packaging-user-guide.readthedocs.io/​en/​develop/​|pip documentation]]
 +
 +  * You may need to do some cleaning, in order to be sure that pip is not going to get something from its installation cache! Go check the content of ''/​tmp/​pip-build/''​...
 +
 +  * To install the latest version of “SomeProject”:​\\ ''​pip install '​SomeProject'​ ''​
 +  * To install a specific version:\\ ''​pip install '​SomeProject==1.4'​ ''​
 +
 +===== Requests =====
 +
 +  * Web site: http://​docs.python-requests.org/​en/​latest/​
 +  * Required by: [[#​find_agg]]
 +
 +==== Versions installed ====
 +
 +^  UV-CDAT\\ version ​ ^  JYP\\ installation ​ ^  Package\\ version ​ ^  Date  ^
 +|  2.1.0  |  LSCE_13 ​ |  2.8.1  |  Oct 20 2015  |
 +|  2.1.0  |  ciclad_13 ​ |  2.8.1  |  Oct 20 2015  |
 +
 +==== Installing ====
 +
 +  * HOWTO: http://​docs.python-requests.org/​en/​latest/​user/​install/​
 +  * ''​pip install requests''​
 +
 +==== Testing ====
 +
 +Check the installed version with: ''​python -c '​import requests; print requests.%%__version__%%'​ ''​
 +
 +===== find_agg =====
 +
 +  * Web site: http://​cmip5-find-agg.readthedocs.org/​en/​latest/​
 +
 +==== Versions installed ====
 +
 +^  UV-CDAT\\ version ​ ^  JYP\\ installation ​ ^  Package\\ version ​ ^  Date  ^
 +|  2.1.0  |  LSCE_13 ​ |  0.5.1 - v0.5 2015-07-06 |  Oct 20 2015  |
 +|  2.1.0  |  ciclad_13 ​ |  0.5.1 - v0.5 2015-07-06 ​ |  Oct 20 2015  |
 +
 +==== Installing ====
 +
 +  * HOWTO: http://​cmip5-find-agg.readthedocs.org/​en/​latest/​installation.html
 +  * ''​pip install findagg''​
 +
 +==== Testing ====
 +
 +Check the installed version with: ''​find_agg -V''​
 +
 +
 +===== PIL and pillow =====
 +
 +FIXME **Clean this section!** FIXME 
 +
 +PIL does not seem to be maintained any longer and should be replaced by pillow
 +
 +  * Web site: https://​pillow.readthedocs.org/​
 +  * Required by: basemap
 +    * implicitely used by basemap to [[http://​matplotlib.org/​basemap/​users/​geography.html|plot etopo, bluemarble, etc]]
 +
 +=== Replacing PIL with pillow ===
 +
 +[[http://​stackoverflow.com/​questions/​8915296/​python-image-library-fails-with-message-decoder-jpeg-not-available-pil|More information]]
 +
 +<​code>​pip uninstall PIL
 +pip install pillow
 +</​code>​
 +
 +=== Testing ===
 +
 +Check the installed version with
 +
 +<​code>​python -c '​import PIL; print dir(PIL)'​
 +['​PILLOW_VERSION',​ '​VERSION',​ '​__builtins__',​ '​__doc__',​ '​__file__',​ '​__name__',​ '​__package__',​ '​__path__',​ '​_plugins'​]
 +</​code>​
 +
 +Use one of the [[http://​matplotlib.org/​basemap/​users/​geography.html|basemap examples]] to check if everything is working
 +
 +<​code>​from mpl_toolkits.basemap import Basemap
 +import matplotlib.pyplot as plt
 +# setup Lambert Conformal basemap.
 +# set resolution=None to skip processing of boundary datasets.
 +m = Basemap(width=12000000,​height=9000000,​projection='​lcc',​
 +            resolution=None,​lat_1=45.,​lat_2=55,​lat_0=50,​lon_0=-107.)
 +m.bluemarble()
 +plt.show()
 +</​code>​
  
 ===== python-dateutil ===== ===== python-dateutil =====
Line 127: Line 214:
 ==== Testing ==== ==== Testing ====
  
-Check the installed version with: ''​which geos-config''​ and ''​geos-config --version''​+Check the installed version with: ''​which geos-config''​ and ''​geos-config ​%%--version%%''​
  
 ===== pyshp ===== ===== pyshp =====
Line 177: Line 264:
  
 Check the installed version with: ''​rpm -qa | grep '​^proj'​ ''​ Check the installed version with: ''​rpm -qa | grep '​^proj'​ ''​
 +
 +
 +===== spectrum =====
 +
 +  * Web site:
 +    * http://​pythonhosted.org/​spectrum/​
 +    * https://​github.com/​cokelaer/​spectrum
 +
 +==== Versions installed ====
 +
 +^  UV-CDAT\\ version ​ ^  JYP\\ installation ​ ^  Package\\ version ​ ^  Date  ^
 +|  2.1.0  |  LSCE_13 ​ |  0.6.1  |  Apr 14 2016  |
 +
 +==== Installing ====
 +
 +  * ''​pip install spectrum''​
 +
 +==== Testing ====
 +
 +Check the installed version with: ''​python -c '​import spectrum'​ ''​
 +
 +
 +===== statsmodels =====
 +
 +  * Web site: http://​statsmodels.sourceforge.net/​stable/​index.html
 +
 +==== Versions installed ====
 +
 +^  UV-CDAT\\ version ​ ^  JYP\\ installation ​ ^  Package\\ version ​ ^  Date  ^
 +|  2.1.0  |  LSCE_13 ​ |  0.6.1  |  Apr 14 2016  |
 +
 +==== Installing ====
 +
 +  * ''​pip install statsmodels''​
 +
 +==== Testing ====
 +
 +Check the installed version with: ''​python -c '​import statsmodels;​ print statsmodels.version.version'​ ''​
 +
 +
 +===== seaborn =====
 +
 +  * Web site: https://​stanford.edu/​~mwaskom/​software/​seaborn/​index.html
 +
 +==== Versions installed ====
 +
 +^  UV-CDAT\\ version ​ ^  JYP\\ installation ​ ^  Package\\ version ​ ^  Date  ^
 +|  2.1.0  |  LSCE_13 ​ |  0.7.0  |  Apr 14 2016  |
 +
 +==== Installing ====
 +
 +  * ''​pip install seaborn''​
 +
 +==== Testing ====
 +
 +Check the installed version with: ''​python -c '​import seaborn; print seaborn.%%__version__%%'​ ''​
 +
 +
 +===== scikit-image =====
 +
 +  * Web site: http://​scikit-image.org/​
 +
 +==== Versions installed ====
 +
 +^  UV-CDAT\\ version ​ ^  JYP\\ installation ​ ^  Package\\ version ​ ^  Date  ^
 +|  1.5.1  |  LSCE_10 ​ |  0.8.2\\ Newer versions fail because we have Cython 0.16, but require >= 0.21  |  Jun 01 2016  |
 +|  2.1.0  |  LSCE_13 ​ |  0.8.2\\ Newer versions fail because we have Cython 0.16, but require >= 0.21  |  Jun 01 2016  |
 +
 +==== Installing ====
 +
 +  * for CDAT up to 2.1.0: ''​pip install '​scikit-image==0.8.2'​ ''​
 +
 +==== Testing ====
 +
 +Check the installed version with: ''​python -c '​import skimage; print skimage.%%__version__%%'​ ''​
  
  
other/uvcdat/extra.txt · Last modified: 2016/06/01 11:52 by jypeter