forked from NorESMhub/jupyterhub-nird-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added information on how to switch to esmvaltool conda environment
- Loading branch information
Anne Fouilloux
authored
Nov 27, 2019
1 parent
8ed9823
commit a736a65
Showing
1 changed file
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,84 @@ | |
|
||
[Docker image](https://hub.docker.com/r/nordicesmhub/jupyterhub-nird-toolkit) for Jupyterhub NIRD toolkit. | ||
|
||
esmvalTool is available in the esmvaltool conda environment in the jupyterhub. | ||
|
||
## Activate esmvaltool conda environment in the jupyterhub | ||
|
||
Open a terminal in the Jupyterhub: | ||
|
||
``` | ||
source activate esmvaltool | ||
python -m ipykernel install --user --name=esmvaltool | ||
``` | ||
|
||
Then restart your server to see esmvaltool environment (as shown on the figure below). | ||
|
||
|
||
## Using esmvaltool from the command line | ||
|
||
Open a terminal in the jupyterhub to setup your environment. | ||
|
||
``` | ||
source activate esmvaltool | ||
esmvaltool --help | ||
``` | ||
|
||
The help returns: | ||
|
||
``` | ||
usage: esmvaltool [-h] [-v] [-c CONFIG_FILE] [-s] [--max-datasets MAX_DATASETS] [--max-years MAX_YEARS] [--skip-nonexistent] [--diagnostics [DIAGNOSTICS [DIAGNOSTICS ...]]] recipe | ||
______________________________________________________________________ | ||
_____ ____ __ ____ __ _ _____ _ | ||
| ____/ ___|| \/ \ \ / /_ _| |_ _|__ ___ | | | ||
| _| \___ \| |\/| |\ \ / / _` | | | |/ _ \ / _ \| | | ||
| |___ ___) | | | | \ V / (_| | | | | (_) | (_) | | | ||
|_____|____/|_| |_| \_/ \__,_|_| |_|\___/ \___/|_| | ||
______________________________________________________________________ | ||
ESMValTool - Earth System Model Evaluation Tool. | ||
http://www.esmvaltool.org | ||
CORE DEVELOPMENT TEAM AND CONTACTS: | ||
Veronika Eyring (PI; DLR, Germany - [email protected]) | ||
Bouwe Andela (NLESC, Netherlands - [email protected]) | ||
Bjoern Broetz (DLR, Germany - [email protected]) | ||
Lee de Mora (PML, UK - [email protected]) | ||
Niels Drost (NLESC, Netherlands - [email protected]) | ||
Nikolay Koldunov (AWI, Germany - [email protected]) | ||
Axel Lauer (DLR, Germany - [email protected]) | ||
Benjamin Mueller (LMU, Germany - [email protected]) | ||
Valeriu Predoi (URead, UK - [email protected]) | ||
Mattia Righi (DLR, Germany - [email protected]) | ||
Manuel Schlund (DLR, Germany - [email protected]) | ||
Javier Vegas-Regidor (BSC, Spain - [email protected]) | ||
For further help, please read the documentation at | ||
http://esmvaltool.readthedocs.io. Have fun! | ||
positional arguments: | ||
recipe Path or name of the yaml recipe file | ||
optional arguments: | ||
-h, --help show this help message and exit | ||
-v, --version return ESMValTool's version number and exit | ||
-c CONFIG_FILE, --config-file CONFIG_FILE | ||
Config file | ||
-s, --synda-download Download input data using synda. This requires a working synda installation. | ||
--max-datasets MAX_DATASETS | ||
Try to limit the number of datasets used to MAX_DATASETS. | ||
--max-years MAX_YEARS | ||
Limit the number of years to MAX_YEARS. | ||
--skip-nonexistent Skip datasets that cannot be found. | ||
--diagnostics [DIAGNOSTICS [DIAGNOSTICS ...]] | ||
Only run the named diagnostics from the recipe. | ||
``` | ||
|
||
This command needs to be repeated everytime you start a new terminal. | ||
|
||
|
||
|
||
|