Skip to content
Snippets Groups Projects
Commit 35d7b408 authored by pascal.mouquet_ird.fr's avatar pascal.mouquet_ird.fr
Browse files

some changes

parent 187354f7
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ class Library:
pass
def archive_l2a(self,
archive_list: list = [],
tile_list: list = [],
size_only: bool = False,
):
......@@ -130,14 +130,14 @@ class Library:
Function to archive l2a products from library folder to l2a_archive_path.
Calls the archive_l2a function from Tile class, see there for details.
:param archive_list: list of tiles to archive. If not provided, will process all l2a tiles.
:param tile_list: list of tiles to archive. If not provided, will process all l2a tiles.
:param size_only: if True, only gives sizes
"""
total_size = 0
if not archive_list:
archive_list = self.l2a
for t in archive_list:
if not tile_list:
tile_list = self.l2a
for t in tile_list:
try:
logger.info(t)
til = Tile(t)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment