Timeseries
- class eolab.georastertools.Timeseries(start_date: datetime, end_date: datetime, period: int, bands: List[int] = [1])[source]
Bases:
Rastertool,WindowableRaster tool that generates the time series of raster images. The timeseries is generated with a linear interpolation thus enabling to fill gaps.
Attributes
List of bands to process
End date of the timeseries to generate
Whether intermediate VRT images shall be kept
Path of the output directory where are stored the results
//numpy.org/doc/stable/reference/generated/numpy.pad.html>`_ the image when the window is on the edge of the image The mode can be self defined or among [constant (default), edge, linear_ramp, maximum, mean, median, minimum, reflect, symmetric, wrap, empty].
Period (in days) of the timeseries to generate
Start date of the timeseries to generate
Dir where to store intermediate VRT images
Size of the windows to split the image in small parts
Methods
Timeseries.__init__(start_date, end_date, period)Constructor
Timeseries.postprocess_files(inputfiles, ...)Generates the timeseries from a list of inputfiles.
Timeseries.process_file(inputfile)Run the rastertool to a single input file.
Timeseries.process_files(inputfiles)Run the rastertool to a set of input files.
Timeseries.with_output([outputdir])Set up the output.
Timeseries.with_vrt_stored(keep_vrt)Configure if the intermediate VRT images that are generated when handling the input files (which can be complex raster product composed of several band files) shall be stored to disk or not - for debug purpose for instance.
Timeseries.with_windows([window_size, pad_mode])Configure the window generation for processing image