-
Notifications
You must be signed in to change notification settings - Fork 42
/
my_run.py
37 lines (31 loc) · 1.15 KB
/
my_run.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
import os
import datetime
import shutil
import subprocess
import struct
import station
import ftp_tools
import bipm_ftp
import igs_ftp
import ppp_gpsppp
import ppp_glab
import ppp_rtklib
if __name__ == "__main__":
# example processing:
#station1 = station.mi04
#station1 = station.mi05
#station1 = station.mi02
my_stations = [station.mi04, station.mi05, station.mi02, station.pt10, station.ptbb]
my_stations = [station.mi02]
dt = datetime.datetime.utcnow()-datetime.timedelta(days=16) # 4 days ago
current_dir = os.getcwd()
ppp_gpsppp.run_multiday( station.mi04, dt, num_days=2, rapid=False, prefixdir=current_dir, products="IGS")
#ppp_gpsppp.run_multiday( station.mi05, dt, num_days=2, rapid=True, prefixdir=current_dir)
#ppp_gpsppp.run_multiday( station.pt10, dt, num_days=2, rapid=True, prefixdir=current_dir)
"""
# run NRCAN PPP for given station and datetime dt
for s in my_stations:
ppp_gpsppp.run(s, dt, rapid=True, prefixdir=current_dir, products="IGS")
#ppp_glab.run(s, dt, rapid=True, prefixdir=current_dir)
#ppp_rtklib.run(s, dt, rapid=True, prefixdir=current_dir)
"""