Assigning a Bounding Box

Post Reply
Sachini
Posts: 4
Joined: Mon Feb 06, 2023 7:14 pm
company / institution: Boston University
Location: United States

Assigning a Bounding Box

Post by Sachini »

Greetings,

I am curious if it is feasible to assign a bounding box within the polymer code. My current project involves analyzing Sentinel-2 and Landsat images for inland water quality in bulk, which is taking a significant amount of time and memory due to the large image sizes. I am currently utilizing Python for this task.

Thank you!
User avatar
fsteinmetz
Site Admin
Posts: 306
Joined: Fri Sep 07, 2018 1:34 pm
company / institution: Hygeos
Location: Lille, France
Contact:

Re: Assigning a Bounding Box

Post by fsteinmetz »

Hi,
Indeed it is possible, but the bounding box has to be specified in pixel coordinates.
All Level1 objects support the following arguments: sline, eline, scol, ecol, which provide the start and end lines and columns for the bounding box.
For Sentinel-2, the coordinates also depend on the chosen resolution (10, 20 or 60m).
Cheers, François
Post Reply