mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
work on results, type_pol
This commit is contained in:
1 parent
a1ae3f42f4
commit
b85962bfcd
6 files changed
+105
-102
No files matched your search
@@ -47,12 +47,7 @@ class Results(object):
|
||||
for el in glob.glob(repertory_results + "/*.bin")
|
||||
]
|
||||
|
||||
self.type_pol = type_pol
|
||||
|
||||
if type_pol == 7:
|
||||
self._phys_var_list = ["C", "G", "M", "D", "L", "N", "R"]
|
||||
else:
|
||||
self._phys_var_list = ["C"]
|
||||
self._phys_var_list = ["C", "G", "M", "D", "L", "N", "R"]
|
||||
|
||||
@property
|
||||
def date(self):
|
||||
@@ -75,6 +70,10 @@ class Results(object):
|
||||
def phys_var_list(self):
|
||||
return self._phys_var_list
|
||||
|
||||
@property
|
||||
def nb_pollutants(self):
|
||||
return len(self._pollutants_list)
|
||||
|
||||
def set(self, key, value):
|
||||
self._meta_data[key] = value
|
||||
|
||||
|
||||
Reference in new issue
Block a user