pyxccd.imagetool.tile_processing module¶
- pyxccd.imagetool.tile_processing.tileprocessing_report(result_log_path, stack_path, version, algorithm, dataset_info, startpoint, cold_timepoint, tz, n_cores, probability_threshold, conse)[source]¶
output tile-based processing report :Parameters: * result_log_path (string) – outputted log path
stack_path (string) – stack path
version (string)
algorithm (string)
dataset_info (dictionary structure)
startpoint (a time point, when the program starts)
tz (string, time zone)
n_cores (the core number used)
probability_threshold (change probability threshold)
conse (number of consecutive observations)
- pyxccd.imagetool.tile_processing.is_finished_cold_blockfinished(result_path, nblocks)[source]¶
check if the algorithm finishes all blocks :Parameters: * result_path (the path that save results)
nblocks (the block number)
Returns (boolean)
——- – True -> all block finished
- pyxccd.imagetool.tile_processing.get_stack_date(dataset_info: DatasetInfo, block_x: int, block_y: int, stack_path: str, low_datebound: int = 0, high_datebound: int = 999999, nband: int = 8)[source]¶
- Parameters:
dataset_info
block_x – block id at x axis
block_y – block id at y axis
stack_path – stack path
low_datebound – ordinal data of low bounds of selection date range
high_datebound – ordinal data of upper bounds of selection date range
- Returns:
img_tstack, img_dates_sorted img_tstack - 3-d array (dataset_info.block_width * dataset_info.block_height, nband, nimage)