lsru.Order.download_all_complete¶
-
Order.
download_all_complete
(path, unpack=False, overwrite=False, check_complete=True)[source]¶ Download all completed scenes of the order to a folder
Parameters: - path (str) – Directory where data are to be downloaded
- unpack (bool) – Unpack downloaded archives on the fly
- overwrite (bool) – Force overwriting existing files even when they already exist? Defaults to False
- check_complete (bool) – When local files exist and overwrite is set
to
False
, check whether local and remote files sizes match? File is re-downloaded when sizes are different. Only makes sense if overwrite is set toFalse
. Defaults toTrue
. Also note that checking file size takes time (a few millisecons probably), so that you’ll save time setting this argument toFalse
in case you’re sure previous downloads are complete Note that this option does not work whenunpack
is set to True
Returns: Used for its side effect of batch downloading data, no return