|
|
|
Glance requires a Unix-like system such as Linux or Mac OSX and python 2.7.
|
|
|
|
|
|
|
|
<h2>Setting up the Environment for Glance</h2>
|
|
|
|
Setting up the Environment for Glance
|
|
|
|
=====================================
|
|
|
|
|
|
|
|
Glance relies on python 2.7 and several freely available libraries. There are multiple ways to get these prerequisites, but we recommend that you try the Anaconda installation instructions first.
|
|
|
|
|
| ... | ... | @@ -8,7 +9,8 @@ If you are working on an SSEC server there may already be a pre-built installati |
|
|
|
|
|
|
|
You will also need to install the appropriate python modules to load the sorts of files you want Glance to analyze. If you do not load netcdf4 for example, Glance will not be able to open NetCDF files for analysis.
|
|
|
|
|
|
|
|
<h3>Installing Glance Using Anaconda</h3>
|
|
|
|
Installing Glance Using Anaconda
|
|
|
|
--------------------------------
|
|
|
|
|
|
|
|
You will need to have the python 2.7 version of Anaconda installed for these instructions. You can download a desktop version of Anaconda here (https://www.continuum.io/downloads).
|
|
|
|
|
| ... | ... | @@ -46,7 +48,9 @@ cd ./UW-Glance/pyglance |
|
|
|
python setup.py develop
|
|
|
|
~~~~
|
|
|
|
|
|
|
|
<h3>Installing with Minimal Dependencies Using Pip</h3>
|
|
|
|
Installing with Minimal Dependencies Using Pip
|
|
|
|
----------------------------------------------
|
|
|
|
|
|
|
|
(Developed and tested on Ubuntu 16.04 by Alan De Smet, July 2016)
|
|
|
|
|
|
|
|
This installs all functionality, including "glance gui", but relying on no "big packages" like SSEC SB3-hhg or Anaconda. It uses virtualenv to collect Python dependencies locally. Python dependencies are installed directly via pip. pyqt4 cannot be installed via pip, and is generally a pain in the ass, so we rely on the Linux distribution to provide it.
|
| ... | ... | @@ -83,7 +87,8 @@ cd uwglance/pyglance |
|
|
|
python setup.py develop
|
|
|
|
~~~~
|
|
|
|
|
|
|
|
<h3>Minimal Anaconda install, no GUI</h3>
|
|
|
|
Minimal Anaconda install, no GUI
|
|
|
|
--------------------------------
|
|
|
|
|
|
|
|
~~~~
|
|
|
|
mkdir glance
|
| ... | ... | @@ -102,7 +107,8 @@ The resulting executable is in glance/anaconda/bin/glance |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3>Installing Using HHG</h3>
|
|
|
|
Installing Using HHG
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
Please don't try to do this unless you already know what HHG is.
|
|
|
|
|
| ... | ... | |
| ... | ... | |