Given the raw input data, prepare it for computation.

prepare_timeseries(data, work, process_extent, blocksize)

Arguments

data

A list where each item is input data.

work

The matrix of which tiles to do.

process_extent

Bounding box of loaded data within the computational domain.

blocksize

The size of each tile.

Value

A list with transformed data items. This list is broken up into the work tiles, so that we don't transfer the whole image to each processor when we do calculations.

This is data movement to set up for the next algorithm.