-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathPW_paths.py
66 lines (65 loc) · 2.73 KB
/
PW_paths.py
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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu Jul 19 10:51:10 2018
@author: shlomi
"""
import platform
from pathlib import Path
path = Path().cwd()
if platform.system() == 'Linux':
if platform.node() == 'ziskin-XPS-8700':
work_path = Path('/home/ziskin/Work_Files/')
work_yuval = work_path / 'PW_yuval'
work_chaim = work_path / 'Chaim_Stratosphere_Data'
home_path = Path('/home/ziskin')
cwd = Path().cwd()
geo_path = Path('/home/ziskin/geo_ariel_home/')
adams_path = Path('/home/ziskin/adams_home/')
data11_path = Path('/home/ziskin/data11/')
savefig_path = Path('/home/ziskin/Pictures')
elif platform.node() == 'shlomipc':
work_path = Path('/mnt/DATA/Work_Files/')
work_yuval = work_path / 'PW_yuval'
work_chaim = work_path / 'Chaim_Stratosphere_Data'
cwd = Path().cwd()
home_path = Path('/home/shlomi')
geo_path = Path('/home/shlomi/geo_ariel_home/')
adams_path = Path('/home/shlomi/adams_home/')
data11_path = Path('/home/shlomi/data11/')
savefig_path = Path('/home/shlomi/Pictures')
elif platform.node() == 'geophysics1.yosh.ac.il':
work_path = Path('/home/ziskin/Work_Files/')
work_yuval = work_path / 'PW_yuval'
work_chaim = work_path / 'Chaim_Stratosphere_Data'
cwd = Path().cwd()
geo_path = Path('/home/ziskin/')
savefig_path = Path('/home/ziskin/Pictures')
elif platform.node() == 'mn03':
work_path = Path('/home/ziskin/')
work_yuval = work_path / 'PW_yuval'
# work_chaim = work_path / 'Chaim_Stratosphere_Data'
cwd = Path().cwd()
# geo_path = Path('/home/ziskin/geo_ariel_home/')
# adams_path = Path('/home/ziskin/adams_home/')
# data11_path = Path('/home/ziskin/data11/')
savefig_path = Path('/home/ziskin/Pictures')
# geo_path = Path('/home/ziskin/geo_ariel_home/')
# adams_path = Path('/home/ziskin/adams_home/')
# data11_path = Path('/home/ziskin/data11/')
else:
work_path = Path('/home/ziskin/Work_Files/')
work_yuval = work_path / 'PW_yuval'
work_chaim = work_path / 'Chaim_Stratosphere_Data'
cwd = Path().cwd()
elif platform.system() == 'Darwin':
if platform.node() == 'Venus':
work_path = Path('/Users/shlomi/Documents/')
work_yuval = work_path / 'PW_yuval'
work_chaim = work_path / 'Chaim_Stratosphere_Data'
cwd = Path().cwd()
home_path = Path('/Users/shlomi')
geo_path = Path('/Users/shlomi/geo_ariel_home/')
adams_path = Path('/Users/shlomi/adams_home/')
data11_path = Path('/Users/shlomi/data11/')
savefig_path = Path('/Users/shlomi/Pictures')