-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
41 additions
and
7 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 |
---|---|---|
|
@@ -3,15 +3,27 @@ Getting Started | |
|
||
Note: Ensure you have local modules enabled such that you have python 3.x installed in your local environment. | ||
|
||
Step 1 is to create a virtual environment and install the necessary packages with pip. | ||
Step 0: Git clone the repository | ||
-------------------------------- | ||
The Kerchunk builder will soon be updated to version 1.0.1, which you can clone using: | ||
|
||
:: | ||
git clone [email protected]:cedadev/kerchunk-builder.git --branch v1.0.1 | ||
:: | ||
Step 1: Set up Virtual Environment | ||
---------------------------------- | ||
|
||
Step 1 is to create a virtual environment and install the necessary packages with pip. This can be done inside the local repo you've cloned as ```local``` or ```build_venv``` which will be ignored by the repository, or you can create a venv elsewhere in your home directory i.e ```~/venvs/build_venv``` | ||
|
||
:: | ||
python -m venv name_of_venv; | ||
source name_of_venv/bin/activate; | ||
pip install -r requirements.txt; | ||
:: | ||
|
||
Step 2: create a config file to set necessary environment variables. (Suggested to place these in a local `templates/` folder as this will be ignored by git). Eg: | ||
Step 2: Environment configuration | ||
--------------------------------- | ||
Create a config file to set necessary environment variables. (Suggested to place these in a local `templates/` folder as this will be ignored by git). Eg: | ||
|
||
:: | ||
export WORKDIR=/gws/nopw/j04/cmip6_prep_vol1/kerchunk-pipeline; | ||
|
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
Binary file not shown.
Oops, something went wrong.