@@ -6,12 +6,13 Signal Chain (SCh) is a radar data processing library developed using [Python](w | |||||
6 |
|
6 | |||
7 | ## Installation |
|
7 | ## Installation | |
8 |
|
8 | |||
9 |
Install system dependencies, |
|
9 | Install system dependencies, clone the latest version from [git](http://jro-dev.igp.gob.pe/rhodecode/schain/) and install it as a normal python package. | |
10 |
|
10 | |||
11 | ``` |
|
11 | ``` | |
12 | $ sudo apt-get install python-pip python-dev gfortran libpng-dev freetype* libblas-dev liblapack-dev libatlas-base-dev python-qt4 python-tk libssl-dev libhdf5-dev |
|
12 | $ sudo apt-get install python-pip python-dev gfortran libpng-dev freetype* libblas-dev liblapack-dev libatlas-base-dev python-qt4 python-tk libssl-dev libhdf5-dev | |
13 | $ tar xvzf schainpy-2.2.5.tar.gz |
|
13 | $ sudo pip install numpy | |
14 | $ cd schainpy-2.2.5 |
|
14 | $ git clone http://jro-dev.igp.gob.pe/rhodecode/schain/ | |
|
15 | $ cd schain | |||
15 | $ sudo pip install ./ |
|
16 | $ sudo pip install ./ | |
16 | ``` |
|
17 | ``` | |
17 |
|
18 | |||
@@ -21,7 +22,7 $ sudo pip install ./ | |||||
21 | $ sudo pip install virtualenv |
|
22 | $ sudo pip install virtualenv | |
22 | $ virtualenv /path/to/virtual --system-site-packages |
|
23 | $ virtualenv /path/to/virtual --system-site-packages | |
23 | $ source /path/to/virtual/bin/activate |
|
24 | $ source /path/to/virtual/bin/activate | |
24 |
(virtual) $ cd schain |
|
25 | (virtual) $ cd schain | |
25 | (virtual) $ pip install ./ |
|
26 | (virtual) $ pip install ./ | |
26 | ``` |
|
27 | ``` | |
27 |
|
28 |
@@ -47,6 +47,8 def multiSchain(child, nProcess=cpu_count(), startDate=None, endDate=None, by_da | |||||
47 | if by_day: |
|
47 | if by_day: | |
48 | continue |
|
48 | continue | |
49 | nFiles = q.get() |
|
49 | nFiles = q.get() | |
|
50 | if nFiles==0: | |||
|
51 | continue | |||
50 | firstProcess.terminate() |
|
52 | firstProcess.terminate() | |
51 | skip = int(math.ceil(nFiles/nProcess)) |
|
53 | skip = int(math.ceil(nFiles/nProcess)) | |
52 | while True: |
|
54 | while True: |
@@ -5,8 +5,9 Created on Jul 16, 2014 | |||||
5 | @author: Miguel Urco |
|
5 | @author: Miguel Urco | |
6 | """ |
|
6 | """ | |
7 |
|
7 | |||
8 | from schainpy import __version__ |
|
8 | import numpy | |
9 | from setuptools import setup, Extension |
|
9 | from setuptools import setup, Extension | |
|
10 | from schainpy import __version__ | |||
10 |
|
11 | |||
11 | setup(name="schainpy", |
|
12 | setup(name="schainpy", | |
12 | version=__version__, |
|
13 | version=__version__, | |
@@ -44,8 +45,7 setup(name="schainpy", | |||||
44 | "scipy >= 0.14.0", |
|
45 | "scipy >= 0.14.0", | |
45 | "h5py >= 2.2.1", |
|
46 | "h5py >= 2.2.1", | |
46 | "matplotlib >= 1.4.2", |
|
47 | "matplotlib >= 1.4.2", | |
47 | "pyfits >= 3.4", |
|
48 | "pyfits >= 3.4", | |
48 | "numpy >= 1.11.2", |
|
|||
49 | "paramiko >= 2.1.2", |
|
49 | "paramiko >= 2.1.2", | |
50 | "paho-mqtt >= 1.2", |
|
50 | "paho-mqtt >= 1.2", | |
51 | "zmq", |
|
51 | "zmq", |
General Comments 0
You need to be logged in to leave comments.
Login now