basic_users_guide_xces_new

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
basic_users_guide_xces_new [2025/02/12 09:38] – [Using XCES/Freva R/Python environment to locally install your own packages] etormabasic_users_guide_xces_new [2025/02/12 09:42] (current) – [Creating your own conda/mamba environment with the freva library] etorma
Line 191: Line 191:
 ===== Creating your own conda/mamba environment with the freva library ===== ===== Creating your own conda/mamba environment with the freva library =====
  
-If, on the other hand you want to use freva as a python library alongside others (e.g. in a conda environment) then you can:+If you want to use freva as a python library alongside others (e.g. in a conda environment) then you can:
   - install the package via pypi ''pip install freva'' or via conda/mamba ''mamba install -c conda-forge freva''   - install the package via pypi ''pip install freva'' or via conda/mamba ''mamba install -c conda-forge freva''
   - add the environment config of XCES in your script, e.g.:   - add the environment config of XCES in your script, e.g.:
Line 202: Line 202:
  
 <WRAP round important> <WRAP round important>
-**NOTE**: since 2024 DKRZ does not allow access to ''default'' channels in conda [[https://legal.anaconda.com/policies/en/#terms-of-service| for reasons]]. You need to make sure you will not use it or you will get an ''HTTP error'' message while trying to create an env. Options:+**NOTE**: since 2024 DKRZ does not allow access to ''default'' channels in conda [[https://legal.anaconda.com/policies/en/#terms-of-service| due to changes in Anaconda's terms of services]]. You need to make sure you will not use it or you will get an ''HTTP error'' message while trying to create an env. Options:
   * use flag '' --override-channels'' so it does not search default.   * use flag '' --override-channels'' so it does not search default.
-  * create ''$HOME.condarc'' file with:+  * create ''$HOME/.condarc'' file with:
 <code> <code>
 channels: channels:
Line 226: Line 226:
 ===== Using XCES/Freva R/Python environment to locally install your own packages ===== ===== Using XCES/Freva R/Python environment to locally install your own packages =====
  
-<WRAP round note>+<WRAP round info>
 Not recommended! Your libraries would depend on the current Freva python/R environment that will eventually be updated and, hence, get obsolete. Not recommended! Your libraries would depend on the current Freva python/R environment that will eventually be updated and, hence, get obsolete.
 </WRAP> </WRAP>
  • basic_users_guide_xces_new.1739353137.txt.gz
  • Last modified: 2025/02/12 09:38
  • by etorma