-
Notifications
You must be signed in to change notification settings - Fork 35
X DEPRECATED Getting Setup on the standard ISIS3 dev system.
conda create -n CSM
source activate CSM
conda config --add channels conda-forge
conda install -c conda-forge numpy cython
git clone <your fork of CSM-CyCSM>
git clone <your fork of csm>
git clone <your fork of CSM-CameraModel>
cd into your clone of csm
and run the following, be sure to replace the path to your environment:
make -f Makefile.linux64 all install clean INSTDIR=/path/to/your/conda/environment
(By setting the INSTDIR
to your conda environment's directory, the setup.py scripts in CSM-CyCSM and CSM-CmaeraModel will be able to find the libcsm files)
cd into your checkout of CSM-CyCSM
Then run python setup.py install
cd into your checkout of CSM-CameraModel
Then run python setup.py develop
Run python -c "import usgscam"
If everything is setup correctly, this should produce no output
Run conda install pytest
In your CSM-CameraModel directory run pytest tests/
All of the tests should pass. If you get undefined symbol errors, then your CSM-CameraModel is not linking against the correct libcsm.
Run conda install jupyter matplotlib pandas spiceypy gdal pyproj pvl
Now, running jupyter notebook
will allow you to play with the notebooks in CSM-SET