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

update process_ql to produce jpg ql

parent f4d54859
No related branches found
No related tags found
No related merge requests found
......@@ -361,7 +361,8 @@ class L2aProduct(Product):
def process_ql(self,
reprocess: bool = False,
out_path: pathlib.PosixPath = None
out_path: pathlib.PosixPath = None,
out_resolution: Tuple[int, int] = (100, 100),
) -> "L2aProduct":
"""
"""
......@@ -379,10 +380,11 @@ class L2aProduct(Product):
if ql_path.exists() and not reprocess:
logger.info("{} Quicklook already exists".format(self.identifier))
else:
create_l2a_ql(b02=self.b02_10m,
b03=self.b03_10m,
b04=self.b04_10m,
out_path=ql_path)
create_l2a_ql(b02 = self.b02_10m,
b03 = self.b03_10m,
b04 = self.b04_10m,
out_path = ql_path,
out_resolution = out_resolution)
self.user_ql = ql_path
return self
......
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