problem fixed: renaming of getFields method implemented into expandDataPath method (unified usage of either DataStructure object)
This commit is contained in:
parent
1accc92421
commit
89f996ffe3
@ -288,12 +288,12 @@ class SeiscompDataStructure(object):
|
|||||||
return self.__sdsFields
|
return self.__sdsFields
|
||||||
|
|
||||||
def expandDataPath(self):
|
def expandDataPath(self):
|
||||||
fullChan = '{0}.{1}'.format(self.getSDSFields()['CHAN'], self.getType())
|
fullChan = '{0}.{1}'.format(self.getFields()['CHAN'], self.getType())
|
||||||
dataPath = os.path.join(self.getSDSFields()['SDSdir'],
|
dataPath = os.path.join(self.getFields()['SDSdir'],
|
||||||
self.getSDSFields()['YEAR'],
|
self.getFields()['YEAR'],
|
||||||
self.getSDSFields()['NET'],
|
self.getFields()['NET'],
|
||||||
self.getSDSFields()['STA'],
|
self.getFields()['STA'],
|
||||||
fullChan,
|
fullChan,
|
||||||
'*{0}'.format(self.getSDSFields()['DAY'])
|
'*{0}'.format(self.getFields()['DAY'])
|
||||||
)
|
)
|
||||||
return dataPath
|
return dataPath
|
||||||
|
Loading…
Reference in New Issue
Block a user