From 8c7695f0a96248cbdd56ec06e0c13eb1b59d5e86 Mon Sep 17 00:00:00 2001 From: Ziga Luksic Date: Fri, 18 Nov 2022 15:53:17 +0100 Subject: [PATCH] extend time difference docstring to warn against using large values --- io/eolearn/io/sentinelhub_process.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/io/eolearn/io/sentinelhub_process.py b/io/eolearn/io/sentinelhub_process.py index 97c08847e..a5da24934 100644 --- a/io/eolearn/io/sentinelhub_process.py +++ b/io/eolearn/io/sentinelhub_process.py @@ -221,7 +221,8 @@ def __init__( :param resolution: Resolution in meters, passed as a single number or a tuple of two numbers - resolution in horizontal and resolution in vertical direction. :param maxcc: Maximum cloud coverage, a float in interval [0, 1] - :param time_difference: Minimum allowed time difference, used when filtering dates, None by default. + :param time_difference: Minimum allowed time difference, used when filtering dates. Also used by the service + for mosaicking, timestamps might be misleading for large values. :param cache_folder: Path to cache_folder. If set to None (default) requests will not be cached. :param config: An instance of SHConfig defining the service :param max_threads: Maximum threads to be used when downloading data. @@ -413,7 +414,8 @@ def __init__( :param additional_data: A list of additional data to be downloaded, such as SCL, SNW, dataMask, etc. :param evalscript: An optional parameter to override an evalscript that is generated by default :param maxcc: Maximum cloud coverage. - :param time_difference: Minimum allowed time difference, used when filtering dates, None by default. + :param time_difference: Minimum allowed time difference, used when filtering dates. Also used by the service + for mosaicking, timestamps might be misleading for large values. :param cache_folder: Path to cache_folder. If set to None (default) requests will not be cached. :param config: An instance of SHConfig defining the service :param max_threads: Maximum threads to be used when downloading data.