-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall_cli.txt
More file actions
91 lines (67 loc) · 2.91 KB
/
Copy pathinstall_cli.txt
File metadata and controls
91 lines (67 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
### Install instruct for Ubuntu/Debian ###
# The installation need root access right.
# Firemsg tools is developped in python 2.7.
apt-get install python2.7-dev libpython-dev
# We recommend you to use git and python-setuptools.
# The packages are available with :
apt-get install git python-setuptools
## -1- Dependencies from distrib repository ##
# For the GUI use Tkinter and Tix Python API :
apt-get install python-tk tix-dev
# For xRITDecompress compilation :
apt-get install make g++
# For geospatial processing :
apt-get install python-kdtree python-numexpr python-scipy gdal-bin libgdal-dev python-gdal binutils libproj-dev libtiff5-dev libgeotiff-dev
## -2- Firemsg installation ##
# Firemsg architecture
# Usually, clone in your home folder
git clone https://github.com/SebastienPeillet/firemsg.git
# Add xRITDecompress, download link send by Eumetsat after registration at http://www.eumetsat.int/website/home/Data/DataDelivery/SupportSoftwareandTools/index.html
cd firemsg/PublicDecomptWT
wget [PublicDecomptWT-link]
cd */xRITDecompress
make
cp xRITDecompress /usr/local/bin
# Add Pytroll plugins
cd ~/firemsg/python
git clone https://github.com/pytroll/pyresample
cd pyresample
python setup.py install --user
cd ../
git clone https://github.com/pytroll/mpop
cd mpop
python setup.py install --user
cd ../
git clone https://github.com/pytroll/mipp
cd mipp
python setup.py install --user
cd ../
# Pytroll config files to copy in the mopp folder (usually .local/lib/python2.7/site-packages/)
cd ~/firemsg/pytroll_config
cp * ~/.local/lib/python2.7/site-packages/mpop-v1.2.1-py2.7.egg/mpop
## -3- Firemsg configuration ##
#At first change line 16 in cmd/firemsg.sh with your own path to your config_firemsg.cfg
# You can use the GUI using :
python ~/firemsg/firemsg_gui.py
# Or directly edit the config file :
nano ~/firemsg/cmd/config_firemsg.cfg
# Variable explanation :
# First onglet
FIREMSG_PATH : path to the firemsg folder
MPOP_PATH : path to the mpop folder
ENABLE_FIRE_DETECTION : do fire detection process if enable, otherwise firemsg only produce BT images
SAVE_INTERMEDIATE_FILES : keep all intermediate file if enable (BT, potential fire, true fire)
ENABLE_POSTGRES : export fire vector to a postgresql database
PG_DBNAME : name of your pgdatabase
PG_HOST : host of your pgdatabase
PG_TABLENAME : name of the table
PG_USER : name of the user of the pgdatabase
FTP_host : oisftp.eumetsat.org by default, Eumetsat ftp
FTP_name : name of your ftp account, delivered by Eumetsat
FTP_pw : password of your ftp account, delivered by Eumetsat
# Second onglet, for day process, it will process every data available between the dates
dateDeb : begin date
dateFin : end date
FTP_download : enable if you don't already have the data, but beware that Eumetsat keep data only for the last 48h
Launch Day Process button launches fd_day_process.sh
# Third onglet, if you wanted to perform detection with other arg, free to you. Documentation to come.