Speed

class eolab.georastertools.Speed(bands: List[int] = [1])[source]

Bases: Rastertool

Raster tool that computes the time derivative (speed) of raster images.

For images of the same and known type, the tool extract the timestamp metadata from the names of the images. It can then compute the time derivatives of every bands.

Attributes

Speed.bands

List of bands to process

Speed.keep_vrt

Whether intermediate VRT images shall be kept

Speed.outputdir

Path of the output directory where are stored the results

Speed.vrt_dir

Dir where to store intermediate VRT images

Methods

Speed.__init__([bands])

Constructor

Speed.postprocess_files(inputfiles, outputfiles)

Compute the temporal derivative of input files' radiometry

Speed.process_file(inputfile)

Run the rastertool to a single input file.

Speed.process_files(inputfiles)

Run the rastertool to a set of input files.

Speed.with_output([outputdir])

Set up the output.

Speed.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.