User:Astronithin/sandbox

This is a test. Writing up SRI Fitter setup instructions

 Installing SRI Fitter 

1. Download amisr.com/database/temp/ISfit.tar.gz

2. Extract this into a home directory ex: /home/nithin/SRIFitSource

tar -xzf ISFit.tar.gz

3. Make sure gfortran is installed

4. cd ~/SRIFitSource/AMISR_fitter_py/

5. make

6. cd ~/SRIFitSource/AMISR_fitter_py/config/

7. nano config_sys.initial

8. change FITTER_PATH='/home/nithin/SRIFitSource/AMISR_fitter_py'

9. change GEOPHYS_PATH='/home/nithin/SRIFitSource/geophys_params'

Downloading geophysics parameters like F10.7:

10. cd ~/SRIFitSource/geophys_params

11. wget amisr.com/database/geophys_params/{1947..2018}

Editing environment variables

12. nano ~/.bashrc

13. Add towards the end

export AMISR_FITTER_PATH='/home/nithin/SRIFitSource/ISFit/AMISR_fitter_py'

14. sudo souce ~/.bashrc

Setting up Python Virtual environment to add specific versions of packages

15. setup virtual environment in the source Directory

cd ~/SRIFitSource

virtual env -p python2.7 SRIFitEnv

16. Activate the environment (this you will have to before running the fitter)

source ~/SRIFitSource/SRIFitEnv/bin/activate

17. Install Packages

pip install cython==0.13

pip install numexpr==2.6.2

pip install scipy==0.18.1

pip install tables==3.4.2

pip install matplotlib==2.1.0

pip install numpy==1.12.1