kopia lustrzana https://github.com/bristol-seds/pico-tracker
Added geofence ipython notebook
rodzic
2b1aff2ade
commit
5b84f36eaa
|
@ -0,0 +1,29 @@
|
|||
## Design of the geofence
|
||||
|
||||
There's some notes in a ipython notebook `geofence.ipynp` on
|
||||
this. This notebook is also used to calculate the deviation values.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
```
|
||||
sudo apt-get install ipython libblas-dev liblapack-dev gfortran
|
||||
sudo pip install scipy matplotlib
|
||||
```
|
||||
|
||||
We use basemap for map plotting. This was a fun install
|
||||
|
||||
```
|
||||
sudo apt-get install libgeos-dev
|
||||
cd /usr/lib
|
||||
sudo ln -s libgeos-3.4.2.so libgeos.so
|
||||
sudo ldconfig
|
||||
sudo pip install basemap --allow-external basemap --allow-unverified basemap
|
||||
```
|
||||
|
||||
You can check `libgeos` is dandy with `ld -lgeos --verbose`
|
||||
|
||||
Yes you need a fortran compiler!!!
|
||||
|
||||
## Python Usage
|
||||
|
||||
`ipython notebook`
|
File diff suppressed because one or more lines are too long
Ładowanie…
Reference in New Issue