... | ... | @@ -4,17 +4,15 @@ The algorithms below are based upon those described in “A Uniform Space–Time |
|
|
|
|
|
### Installing
|
|
|
|
|
|
To install STG on servers like iris and thunder, first create a ~/.condarc file as described on http://sips.ssec.wisc.edu/docs/using_thunder.html .
|
|
|
To install STG on servers like iris and sipssci1, first create a ~/.condarc file as described on http://sips.ssec.wisc.edu/docs/using_thunder.html .
|
|
|
|
|
|
Next you will need to get access to Anaconda. If you are on a server that has the anaconda27 module available, you can use the command:
|
|
|
|
|
|
module load anaconda27
|
|
|
|
|
|
If this module load fails, you will need to find another way to get Anaconda. On thunder you can instead add /opt/anaconda/bin to your path or:
|
|
|
If this module load fails, you will need to find another way to get Anaconda. Some servers have local installs of Anaconda you can put in your path. Check with your server's administrator if you aren't sure if there is an Anaconda install available.
|
|
|
|
|
|
export PATH=/opt/anaconda/bin:$PATH
|
|
|
|
|
|
Then run the following commands in a directory where you wish to store the STG code:
|
|
|
Next run the following commands in a directory where you wish to store the STG code:
|
|
|
|
|
|
conda create -n stg python=2.7 anaconda
|
|
|
source activate stg
|
... | ... | @@ -30,9 +28,11 @@ This will create a virtual environment called “stg” which includes all the s |
|
|
|
|
|
To re-activate this virtual environment when you reconnect to a server where you have already set up the STG virtual environment, you will need to run the following commands:
|
|
|
|
|
|
module load anaconda27 (or export PATH=/opt/anaconda/bin:$PATH )
|
|
|
module load anaconda27
|
|
|
source activate stg
|
|
|
|
|
|
Note, the first line is not needed if you are using a shared Anaconda install on the server.
|
|
|
|
|
|
### Command Line Usage
|
|
|
|
|
|
STG can be invoked on the command line using the “stg” command. It includes several sub-commands to run parts of the gridding process and to create axillary files. If you invoke the “stg” command with no subsequent sub-command, it will print help information about the sub-commands and command line options.
|
... | ... | |