-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcopy_data.run.sh
More file actions
executable file
·32 lines (23 loc) · 1.16 KB
/
Copy pathcopy_data.run.sh
File metadata and controls
executable file
·32 lines (23 loc) · 1.16 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
#!/bin/bash
# Cd into our working directory in case we're not into it already
cd "$(dirname "$0")";
echo "---------------------------------------------------------------"
echo "meteonetwork: Starting processing of meteonetwork data - `date`"
echo "----------------------------------------------------------------"
export QT_QPA_PLATFORM=offscreen
export DISPLAY=localhost:0
python plot_live.py -t temperature -f temperature_live.png
python plot_live.py -t humidity -f umidita_live.png
python plot_live.py -t rain -f pioggia_live.png
python plot_live.py -t sat -f sat_live.png
python plot_live.py -t sat -p europe -f sat_live_europe.png
ncftpput -R -v altervista meteoindiretta temperature_live.png
ncftpput -R -v altervista meteoindiretta umidita_live.png
ncftpput -R -v altervista meteoindiretta pioggia_live.png
ncftpput -R -v altervista meteoindiretta sat_live.png
ncftpput -R -v altervista meteoindiretta sat_live_europe.png
echo "---------------------------------------------------------------"
echo "meteonetwork: Finished script - `date`"
echo "---------------------------------------------------------------"
############################################################
cd -