|
|
|
Glance requires a Unix-like system such as Linux or Mac OSX.
|
|
|
|
Glance requires a Unix-like system such as Linux or Mac OSX and python 2.7.
|
|
|
|
|
|
|
|
<h2>Setting up the Environment for Glance</h2>
|
|
|
|
|
| ... | ... | @@ -14,7 +14,7 @@ The currently release version of Glance requires the following: |
|
|
|
* scipy
|
|
|
|
* mako (version 0.4.1 or newer)
|
|
|
|
|
|
|
|
Some of these libraries will have additional requirements as well.
|
|
|
|
You will also need to install the appropriate python modules to load the sorts of files you want Glance to analyze. Some of these libraries may have additional requirements.
|
|
|
|
|
|
|
|
<h3>Installing Glance Using Anaconda</h3>
|
|
|
|
|
| ... | ... | @@ -22,18 +22,21 @@ You will need to have the python 2.7 version of Anaconda installed for these ins |
|
|
|
|
|
|
|
On SSEC servers you use this command to load a pre-installed version of Anaconda:
|
|
|
|
|
|
|
|
module load anaconda27
|
|
|
|
~~~~module load anaconda27~~~~
|
|
|
|
|
|
|
|
Once you have Anaconda installed, run the following commands on the command line:
|
|
|
|
|
|
|
|
* conda create -n glance python=2.7 anaconda
|
|
|
|
* source activate glance
|
|
|
|
* conda install basemap netcdf4 h5py pyqt=4.11.4 mock scipy pillow
|
|
|
|
* conda install -c http://sips.ssec.wisc.edu/conda python-hdf4
|
|
|
|
~~~~
|
|
|
|
conda create -n glance python=2.7 anaconda
|
|
|
|
source activate glance
|
|
|
|
conda install basemap netcdf4 h5py pyqt=4.11.4 mock scipy pillow
|
|
|
|
conda install -c http://sips.ssec.wisc.edu/conda python-hdf4
|
|
|
|
# on Mac OSX, you may need to use "conda install -c NSIDC python-hdf4" instead
|
|
|
|
* python -m easy_install -U -vi http://larch.ssec.wisc.edu/eggs/repos uwglance
|
|
|
|
python -m easy_install -U -vi http://larch.ssec.wisc.edu/eggs/repos uwglance
|
|
|
|
~~~~
|
|
|
|
|
|
|
|
This will create an Anaconda environment called "glance" that can be used to run Glance at the command line. When you open a new terminal session with your computer to use glance you will need to activate this environment using the command:
|
|
|
|
|
|
|
|
~~~~
|
|
|
|
source activate glance
|
|
|
|
|
|
|
|
~~~~ |