An error occurred while loading the file. Please try again.
-
Florian de Boissieu authoredec037309
import argparse
from scenes import download, utils
import datetime
# Arguments
parser = argparse.ArgumentParser(description="Download test",)
parser.add_argument("--refimage", required=True)
parser.add_argument("--theia_cfg", required=True)
params = parser.parse_args()
# Get all scenes in the root_dir
_, _, bbox = utils.get_epsg_extent_bbox(params.refimage)
download.download(config_file=params.theia_cfg, acq_envelope=bbox, acq_date=datetime.datetime(year=2020, month=01, day=01))