@@ -520,9 +520,8 class Reader(object): | |||
|
520 | 520 | |
|
521 | 521 |
def find_files(self, folders, ext, filefmt, startDate=None, endDate=None, |
|
522 | 522 | expLabel='', last=False): |
|
523 | ||
|
524 | 523 |
for path in folders: |
|
525 | files = glob.glob1(path, '*{}'.format(ext)) | |
|
524 | files = glob.glob1(path+'/'+expLabel, '*{}'.format(ext)) | |
|
526 | 525 | files.sort() |
|
527 | 526 | if last: |
|
528 | 527 |
if files: |
@@ -600,7 +599,6 class Reader(object): | |||
|
600 | 599 | newFile = self.setNextFileOnline() |
|
601 | 600 | else: |
|
602 | 601 | newFile = self.setNextFileOffline() |
|
603 | ||
|
604 | 602 | if not(newFile): |
|
605 | 603 | if self.online: |
|
606 | 604 | raise schainpy.admin.SchainError('Time to wait for new files reach') |
@@ -630,6 +628,7 class Reader(object): | |||
|
630 | 628 | boolean |
|
631 | 629 | |
|
632 | 630 | """ |
|
631 | ||
|
633 | 632 | nextFile = True |
|
634 | 633 | nextDay = False |
|
635 | 634 | |
@@ -784,7 +783,6 class JRODataReader(Reader): | |||
|
784 | 783 | str -- fullpath of the file |
|
785 | 784 | """ |
|
786 | 785 | |
|
787 | ||
|
788 | 786 | if nextFile: |
|
789 | 787 | self.set += 1 |
|
790 | 788 | if nextDay: |
@@ -892,7 +890,6 class JRODataReader(Reader): | |||
|
892 | 890 | self.lastUTTime = self.basicHeaderObj.utc |
|
893 | 891 | |
|
894 | 892 | self.flagDiscontinuousBlock = 0 |
|
895 | ||
|
896 | 893 | if deltaTime > self.maxTimeStep: |
|
897 | 894 | self.flagDiscontinuousBlock = 1 |
|
898 | 895 |
@@ -430,7 +430,6 class SpectraProc(ProcessingUnit): | |||
|
430 | 430 | |
|
431 | 431 | return 1 |
|
432 | 432 | |
|
433 | ||
|
434 | 433 | class GetSNR(Operation): |
|
435 | 434 | ''' |
|
436 | 435 | Written by R. Flores |
|
1 | NO CONTENT: modified file |
General Comments 0
You need to be logged in to leave comments.
Login now