-
Notifications
You must be signed in to change notification settings - Fork 1
/
start_services.sh
54 lines (43 loc) · 1.9 KB
/
start_services.sh
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
#!/usr/bin/sh
REG_PORT=$1
if [ -z $1 ]; then REG_PORT=10001; fi
# start registry service
#~/.conda/envs/py38/bin/python src/python/services/registry_service.py async port=$REG_PORT &
#export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
../../registration_service &
# start BUEK1000 soil service
~/.conda/envs/py38/bin/python src/python/services/soil/sqlite_soil_data_service.py async_register \
reg_port=$REG_PORT \
path_to_sqlite_db=data/soil/buek1000.sqlite \
path_to_ascii_soil_grid=data/soil/buek1000_1000_gk5.asc \
grid_crs=gk5 \
id=buek1000 \
name=BUEK1000 &
# start BUEK200 soil service
~/.conda/envs/py38/bin/python src/python/services/soil/sqlite_soil_data_service.py async_register \
reg_port=$REG_PORT \
path_to_sqlite_db=data/soil/buek200.sqlite \
path_to_ascii_soil_grid=data/soil/buek200_1000_gk5.asc \
grid_crs=gk5 \
id=buek200 \
name=BUEK200 &
# start some climate services
# start DWD climate service
~/.conda/envs/py38/bin/python src/python/services/climate/dwd_germany_service.py async_register \
reg_port=$REG_PORT &
# start DWD Bonn climate service
~/.conda/envs/py38/bin/python src/python/services/climate/dwd_germany_university_bonn_service.py async_register \
reg_port=$REG_PORT &
# start DWD cmip cordex reklies climate service
~/.conda/envs/py38/bin/python src/python/services/climate/dwd_cmip_cordex_reklies_service.py async_register \
reg_port=$REG_PORT &
# start Isimip global climate service
~/.conda/envs/py38/bin/python src/python/services/climate/isimip_service.py async_register \
reg_port=$REG_PORT &
# start DWD core ensemble climate service
#~/.conda/envs/py38/bin/python src/python/services/climate/dwd_core_ensemble_service.py id=dwd_core_ensemble_all name="DWD Core Ensemble (all)" serve_bootstrap=true &
~/.conda/envs/py38/bin/python src/python/services/climate/dwd_core_ensemble_service.py \
id=dwd_core_ensemble_all \
name="DWD Core Ensemble (all)" \
serve_bootstrap=true \
reg_port=$REG_PORT &