User Tools

Site Tools


other:uvcdat:cdat_conda:cdat_8_1

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:cdat_conda:cdat_8_1 [2019/03/18 10:52]
jypeter [Environments summary]
other:uvcdat:cdat_conda:cdat_8_1 [2020/01/28 10:09]
jypeter [Packages that have no dependency problems] Added ferret_datasets
Line 4: Line 4:
  
 <WRAP center round tip 60%> <WRAP center round tip 60%>
-You have questions about Python? +If you have questions about Python, read: 
- +  * [[other:​python:​starting|Working with Python]] 
-Read [[other:​python:​jyp_steps|JYP'​s recommended steps for learning python]]!+  ​* ​[[other:​python:​jyp_steps|JYP'​s recommended steps for learning python]]!
 </​WRAP>​ </​WRAP>​
  
 ===== Using JYP version ===== ===== Using JYP version =====
  
-If you mostly want to use the CDAT 8.1 installed by JYP, just use the following steps and skip the next sections: +If you mostly want to use the CDAT 8.1 installed by JYP, just use the following steps and then read the //What should I do now?// section below 
-  * Initialize conda:+ 
 +  * Initialize ​//conda// with:
  
 ^  Server ​ ^  tcsh  ^  bash  ^ ^  Server ​ ^  tcsh  ^  bash  ^
Line 18: Line 19:
 |  ciclad ​ | ''​source ~jypmce/​.conda3_jyp.csh''​ | ''​source ~jypmce/​.conda3_jyp.sh''​ | |  ciclad ​ | ''​source ~jypmce/​.conda3_jyp.csh''​ | ''​source ~jypmce/​.conda3_jyp.sh''​ |
  
-  * Activate ​the default environment: ''​conda activate cdatm_py2''​ +  * Choose one of the [[#​environments_summary|installed environments]] and activate it with: ''​conda activate env_name''​ 
-    * Check the [[#environments_summary|Available environments]] for more options +    * python 2.7.x: ''​conda activate cdatm_py2''​ 
-===== What's New? =====+    * python 3.x: ''​conda activate cdatm_py3''​ (not available on ciclad, but could be installed) 
 + 
 +  * Type ''​which python''​ (or the ''​wp''​ alias) and make sure you get something like\\ ''​[...]/​miniconda3/​envs/​env_name/​bin/​python''​ 
 + 
 + 
 +===== What should I do now? ===== 
 + 
 +==== You just want to use the installed version ==== 
 + 
 +You are ready if you have typed the ''​conda activate''​ command specified in the previous section! 
 +  * You may want to add the ''​source''​ line to your shell configuration file so that you don't have to remember it and type it each time you open a new terminal 
 +    * Note: it's better to type the ''​activate''​ command in a terminal only when you want to use this specific version of python, rather than having the ''​activate''​ in your shell configuration file. This may have some side effects in some cases 
 +  * Have a look at the [[other:​uvcdat:​cdat_conda:​cdat_8_1#extra_packages_list|Extra package list]] at the bottom of this page to see what is available in this distribution 
 +  * If you have not done it yet, read (or at least have a look at the list of sections):​ 
 +    * [[other:​python:​starting|Working with Python]] 
 +    * [[other:​python:​jyp_steps|JYP'​s recommended steps for learning python]] 
 + 
 +==== You want to replicate this installation on your own server or desktop/​laptop ==== 
 + 
 +===== What's New in CDAT 8.1? =====
  
   * [[https://​github.com/​cdat/​cdat/​releases/​tag/​v8.1|8.1 announcement]] and features summary ([[https://​github.com/​UV-CDAT/​uvcdat/​releases|all versions]])   * [[https://​github.com/​cdat/​cdat/​releases/​tag/​v8.1|8.1 announcement]] and features summary ([[https://​github.com/​UV-CDAT/​uvcdat/​releases|all versions]])
   * Full [[https://​uvcdat.llnl.gov/​changelog.html#​8.1|Change log]]   * Full [[https://​uvcdat.llnl.gov/​changelog.html#​8.1|Change log]]
 +
 +Note: this particular CDAT installation at LSCE (and on other machines/​servers) provides **many extra (non-CDAT) packages**. You can jump directly to the [[other:​uvcdat:​cdat_conda:​cdat_8_1#​extra_packages_list|Extra package list]] at the bottom of this page to see what is available
  
 ===== Installation with Miniconda3 ===== ===== Installation with Miniconda3 =====
Line 157: Line 179:
  
 # Install... # Install...
-$ conda install -n cdatm18_py2 -c conda-forge pillow pandas statsmodels seaborn scikit-image seawater gsw netcdf4 pyferret basemap-data-hires xlsxwriter cmocean rpy2 gdal windspharm+$ conda install -n cdatm18_py2 -c conda-forge pillow pandas statsmodels seaborn scikit-image seawater gsw netcdf4 pyferret ​ferret_datasets ​basemap-data-hires xlsxwriter cmocean rpy2 gdal windspharm
 [...] [...]
  
Line 170: Line 192:
       * Get version number with:\\ <​code>​$ drq -v       * Get version number with:\\ <​code>​$ drq -v
 dreqPy version 01.00.29 [Version 01.00.29]</​code>​ dreqPy version 01.00.29 [Version 01.00.29]</​code>​
 +
 +  * [[https://​github.com/​PBrockmann/​ipython_ferretmagic|ipython_ferretmagic]]:​ IPython notebook extension for ferret
 +    * ''​conda activate cdatm18_py2''​\\ ''​pip install ferretmagic''​
  
 The following packages have no dependency problems and were installed (or updated) //later// The following packages have no dependency problems and were installed (or updated) //later//
Line 194: Line 219:
   * [[https://​climaf.readthedocs.io/​en/​latest/​|CliMAF]]:​ a Climate Model Assessment Framework   * [[https://​climaf.readthedocs.io/​en/​latest/​|CliMAF]]:​ a Climate Model Assessment Framework
     * [[other:​uvcdat:​cdat_conda:​climaf_install|Installation notes]]     * [[other:​uvcdat:​cdat_conda:​climaf_install|Installation notes]]
 +
 +  * [[https://​jiffyclub.github.io/​palettable/​|Palettable]]:​ Color palettes for Python
 +    * ''​conda install -n cdatm18_py2 -c conda-forge palettable''​
  
 ==== TODO ==== ==== TODO ====
Line 244: Line 272:
   * [[http://​www.ifremer.fr/​vacumm/​|vacumm]]:​ Validation, Analysis, Comparison - Utilities written in Python to validate and analyze Multi-Model outputs, and compare them to observations   * [[http://​www.ifremer.fr/​vacumm/​|vacumm]]:​ Validation, Analysis, Comparison - Utilities written in Python to validate and analyze Multi-Model outputs, and compare them to observations
   * [[http://​unidata.github.io/​netcdf4-python/​|netcdf4]]:​ a Python interface to the netCDF C library   * [[http://​unidata.github.io/​netcdf4-python/​|netcdf4]]:​ a Python interface to the netCDF C library
-  * [[http://​ferret.pmel.noaa.gov/​Ferret/​documentation/​pyferret|pyferret]]:​ Ferret encapsulated in +  * [[http://​ferret.pmel.noaa.gov/​Ferret/​documentation/​pyferret|pyferret]]:​ Ferret encapsulated in Python 
 +  * [[https://​github.com/​PBrockmann/​ipython_ferretmagic|ipython_ferretmagic]]:​ IPython notebook extension for ferret
   * [[https://​github.com/​conda-forge/​basemap-data-hires-feedstock|basemap-data-hires]]:​ high resolution data for ''​basemap''​   * [[https://​github.com/​conda-forge/​basemap-data-hires-feedstock|basemap-data-hires]]:​ high resolution data for ''​basemap''​
   * [[https://​github.com/​PCMDI/​pcmdi_metrics|PCMDI metrics package]] (PMP): objectively compare results from climate models with observations using well-established statistical tests   * [[https://​github.com/​PCMDI/​pcmdi_metrics|PCMDI metrics package]] (PMP): objectively compare results from climate models with observations using well-established statistical tests
Line 262: Line 291:
   * [[https://​climaf.readthedocs.io/​en/​latest/​|CliMAF]]:​ a Climate Model Assessment Framework   * [[https://​climaf.readthedocs.io/​en/​latest/​|CliMAF]]:​ a Climate Model Assessment Framework
   * [[https://​joblib.readthedocs.io/​en/​latest/​|joblib]]:​ running Python functions as pipeline jobs   * [[https://​joblib.readthedocs.io/​en/​latest/​|joblib]]:​ running Python functions as pipeline jobs
 +  * [[https://​jiffyclub.github.io/​palettable/​|Palettable]]:​ Color palettes for Python
  
 ==== Removed packages ==== ==== Removed packages ====
other/uvcdat/cdat_conda/cdat_8_1.txt · Last modified: 2021/03/26 09:10 by jypeter