From 156411d56d235b4b9f62693bfb3f3c41a8ad4988 Mon Sep 17 00:00:00 2001 From: Lavergne Date: Tue, 11 May 2021 11:27:57 +0200 Subject: [PATCH] Update README.md Fix 1 or 2 typos, and clarify the installation options. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f449c0f..df0f975 100644 --- a/README.md +++ b/README.md @@ -25,19 +25,19 @@ Oslo (cmcrameri) There are two ways for getting `ncview` to use the scientific colormaps: -*Option 1: (easiest)* +*Option 1: (recommended, easiest)* 1. Fetch this repo from github; 2. Define (export) a shell environment variable to the sub-directory `ncmaps/`: `export NCVIEWBASE=/ncmaps/`. - 2. Copy `ncmaps/.ncviewrc` to your HOME: `cp /ncmaps/.ncviewrc ${HOME}`. + 3. Copy `ncmaps/.ncviewrc` to your HOME: `cp /ncmaps/.ncviewrc ${HOME}`. For example: `export NCVIEWBASE=/home/tomlav/software/ncmaps/ncmaps/` (note `ncmaps` twice) and `cp /home/tomlav/software/ncmaps/ncmaps/.ncviewrc /home/tomlav/`. You should add the export to your `.profile`. -*Option 2: (requires python3)* +*Option 2: (for developers)* 1. Fetch this repo from github; 2. Run `python3 write_ncmaps` in the terminal; 3. Define (export) a shell environment variable: `export NCVIEWBASE=${HOME}/.ncmaps`; - 2. Copy `${HOME}/.ncmaps/.ncviewrc` to your HOME: `cp ${HOME}/.ncmaps/.ncviewrc ${HOME}/`. + 4. Copy `${HOME}/.ncmaps/.ncviewrc` to your HOME: `cp ${HOME}/.ncmaps/.ncviewrc ${HOME}/`. Here again, you should put the `export` command in your `.profile`.