problem fixed: renaming of getFields method implemented into expandDataPath method (unified usage of either DataStructure object)

This commit is contained in:
Sebastian Wehling-Benatelli 2015-01-27 05:19:41 +01:00
parent 1accc92421
commit 89f996ffe3

View File

@ -288,12 +288,12 @@ class SeiscompDataStructure(object):
return self.__sdsFields
def expandDataPath(self):
fullChan = '{0}.{1}'.format(self.getSDSFields()['CHAN'], self.getType())
dataPath = os.path.join(self.getSDSFields()['SDSdir'],
self.getSDSFields()['YEAR'],
self.getSDSFields()['NET'],
self.getSDSFields()['STA'],
fullChan = '{0}.{1}'.format(self.getFields()['CHAN'], self.getType())
dataPath = os.path.join(self.getFields()['SDSdir'],
self.getFields()['YEAR'],
self.getFields()['NET'],
self.getFields()['STA'],
fullChan,
'*{0}'.format(self.getSDSFields()['DAY'])
'*{0}'.format(self.getFields()['DAY'])
)
return dataPath