-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauto_argo.sh.example
57 lines (40 loc) · 1.16 KB
/
auto_argo.sh.example
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
#!/bin/bash -l
#Created on Sun Jun 9 06:07:19 2019
#Author: Gerardo A. Rivera Tello
#Email: grivera@igp.gob.pe
#-----
#Copyright (c) 2018 Instituto Geofisico del Peru
#-----
source /home/grivera/miniconda3/etc/profile.d/conda.sh
conda activate pangeo
SCR_DIR=/home/grivera/GitLab/argo
cd $SCR_DIR || exit
##############################
# Build profile database #
##############################
cd "$SCR_DIR/Profiler_list" || exit
python argo_floatpos.py
python argo_to_json.py
##############################
# Build histogram #
##############################
cd "$SCR_DIR/Histogram" || exit
python argo_hist.py
##############################
# Build Trajectory plot #
##############################
module unload grads/2.0.2
module load opengrads/2.2.1.oga.1
export GADDIR=/opt/opengrads/2.2.1.oga.1/data
cd "$SCR_DIR/Trajectory" || exit
sh argo_run_traj.sh
##############################
# Build tracker plot #
##############################
cd "$SCR_DIR/Tracker" || exit
sh auto_tracker.sh
##############################
# Build multiple profiles #
##############################
cd "$SCR_DIR/Region_data" || exit
sh argo_region_nc.sh