forked from tomasalex/aerosol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Aod.py
31 lines (24 loc) · 910 Bytes
/
Aod.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
class AOD:
AODCount = 0
def __init__(self, latitude, longitude, aod_12, aod_030, nprofiles, uprofiles, month, year):
self.latitude = latitude
self.longitude = longitude
self.aod_12 = aod_12
self.aod_030 = aod_030
self.nprofiles = nprofiles
self.uprofiles = uprofiles
self.month = month
self.year = year
AOD.AODCount += 1
def displayCount(self):
print "Total AOD %d" % AOD.AODCount
def displayAOD(self):
print "month :", self.month, "year :", self.year, "Latitude : ", self.latitude, ", Longitude: ", self.longitude, ", aod12 ", self.aod_12, ", nprofiles ", self.nprofiles, ", uprofiles ", self.uprofiles
def getLat(self):
print self.latitude
def getYear(self):
print self.year
def getMonth(self):
print self.month
def getAod(self):
return self.aod_12