-
Notifications
You must be signed in to change notification settings - Fork 1
/
trajvarsv2.py
46 lines (38 loc) · 957 Bytes
/
trajvarsv2.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
#--------------------------------------------------------
#
#trajvars.py
#--------------------------------------------------------
# input classes
class trajectory():
def __init__(self):
self.name=''
self.ID=0
self.numpoints=0
self.numtraj=0
self.grid=[]
self.year=[]
self.month=[]
self.date=[]
self.hour=[]
self.min=[]
self.forcasthour=[]
self.age=[]
self.lat=[]
self.lon=[]
self.hag=[]
self.pressure=[]
self.theta=[]
self.airtemp=[]
self.rain=[]
self.mixdepth=[]
self.rh=[]
self.msl=[]
self.flux=[]
# output classes
class srifcount():
def __init__(self):
self.ID=0
self.count1km=0.
self.count2km=0.
self.count3km=0.
self.countTotal=0.