@@ -665,7 +665,7 class JRODataReader(JRODataIO): | |||||
665 |
|
665 | |||
666 | return pathList, filenameList |
|
666 | return pathList, filenameList | |
667 |
|
667 | |||
668 | def __searchFilesOnLine(self, path, expLabel = "", ext = None, walk=True, set=None): |
|
668 | def __searchFilesOnLine(self, path, expLabel = "", ext = None, walk=True, set=None, startDate=None, endDate=None): | |
669 |
|
669 | |||
670 | """ |
|
670 | """ | |
671 | Busca el ultimo archivo de la ultima carpeta (determinada o no por startDateTime) y |
|
671 | Busca el ultimo archivo de la ultima carpeta (determinada o no por startDateTime) y | |
@@ -678,7 +678,7 class JRODataReader(JRODataIO): | |||||
678 |
|
678 | |||
679 |
ext |
|
679 | ext : extension de los files | |
680 |
|
680 | |||
681 | walk : Si es habilitado no realiza busquedas dentro de los ubdirectorios (doypath) |
|
681 | walk : Si es habilitado no realiza busquedas dentro de los subdirectorios (doypath) | |
682 |
|
682 | |||
683 | Return: |
|
683 | Return: | |
684 | directory : eL directorio donde esta el file encontrado |
|
684 | directory : eL directorio donde esta el file encontrado | |
@@ -1258,7 +1258,14 class JRODataReader(JRODataIO): | |||||
1258 | print "[Reading] Searching files in online mode..." |
|
1258 | print "[Reading] Searching files in online mode..." | |
1259 |
|
1259 | |||
1260 | for nTries in range( self.nTries ): |
|
1260 | for nTries in range( self.nTries ): | |
1261 |
fullpath, foldercounter, file, year, doy, set = self.__searchFilesOnLine(path=path, |
|
1261 | fullpath, foldercounter, file, year, doy, set = self.__searchFilesOnLine(path=path, | |
|
1262 | expLabel=expLabel, | |||
|
1263 | ext=ext, | |||
|
1264 | walk=walk, | |||
|
1265 | startDate=startDate, | |||
|
1266 | endDate=endDate, | |||
|
1267 | startTime=startTime, endTime=endTime, | |||
|
1268 | set=set) | |||
1262 |
|
1269 | |||
1263 | if fullpath: |
|
1270 | if fullpath: | |
1264 | break |
|
1271 | break |
General Comments 0
You need to be logged in to leave comments.
Login now