EOTasks

core

AddFeatureTask

Adds a feature to the given EOPatch.

CopyTask

Makes a (shallow or deep) copy of the given EOPatch.

CreateEOPatchTask

Creates an EOPatch.

DeepCopyTask

[DEPRECATED] Makes a deep copy of the given EOPatch.

DuplicateFeatureTask

Duplicates one or multiple features in an EOPatch.

ExplodeBandsTask

Explode a subset of bands from one feature to multiple new features.

ExtractBandsTask

Moves a subset of bands from one feature to a new one.

IOTask

An abstract Input/Output task that can handle a path and a filesystem object.

InitializeFeatureTask

Initializes the values of a feature.

LoadTask

Loads an EOPatch from a filesystem.

MapFeatureTask

Applies a function to each feature in input_features of a patch and stores the results in a set of output_features.

MergeEOPatchesTask

Merge content from multiple EOPatches into a single EOPatch.

MergeFeatureTask

Merges multiple features together by concatenating their data along the specified axis.

MoveFeatureTask

Task to copy/deepcopy fields from one EOPatch to another.

RemoveFeatureTask

Removes one or multiple features from the given EOPatch.

RenameFeatureTask

Renames one or multiple features from the given EOPatch.

SaveTask

Saves the given EOPatch to a filesystem.

TemporalSubsetTask

Extracts a temporal subset of the EOPatch.

ZipFeatureTask

Passes a set of input_features to a function, which returns a single features as a result and stores it in the given EOPatch.

InputTask

Introduces data into an EOWorkflow, where the data can be specified at initialization or at execution.

OutputTask

Stores data as an output of EOWorkflow results.

coregistration

ECCRegistrationTask

Multi-temporal image co-registration using OpenCV Enhanced Cross-Correlation method

features

FilterTimeSeriesTask

Removes all frames in the time-series with dates outside the user specified time interval.

SimpleFilterTask

Transforms an eopatch of shape [n, w, h, d] into [m, w, h, d] for m <= n.

SpatialResizeTask

Resizes the specified spatial features of EOPatch.

NormalizedDifferenceIndexTask

The task calculates a Normalized Difference Index (NDI) between two bands A and B as:

features.extra

ClusteringTask

Tasks computes clusters on selected features using sklearn.cluster.AgglomerativeClustering.

AkimaInterpolationTask

[DEPRECATED] Implements eolearn.features.InterpolationTask by using scipy.interpolate.Akima1DInterpolator

BSplineInterpolationTask

[DEPRECATED] Implements eolearn.features.InterpolationTask by using scipy.interpolate.BSpline

CubicInterpolationTask

[DEPRECATED] Implements eolearn.features.InterpolationTask by using scipy.interpolate.interp1d(kind='cubic')

CubicResamplingTask

[DEPRECATED] Implements eolearn.features.ResamplingTask by using scipy.interpolate.interp1d(kind='cubic')

InterpolationTask

Main EOTask class for interpolation and resampling of time-series.

KrigingInterpolationTask

Implements eolearn.features.InterpolationTask by using sklearn.gaussian_process.GaussianProcessRegressor

LinearInterpolationTask

Implements eolearn.features.InterpolationTask by using numpy.interp and @numba.jit(nopython=True)

LinearResamplingTask

[DEPRECATED] Implements eolearn.features.ResamplingTask by using scipy.interpolate.interp1d(kind='linear')

NearestResamplingTask

[DEPRECATED] Implements eolearn.features.ResamplingTask by using scipy.interpolate.interp1d(kind='nearest')

ResamplingTask

A subclass of InterpolationTask task that works only with data with no missing, masked or invalid values.

SplineInterpolationTask

[DEPRECATED] Implements eolearn.features.InterpolationTask by using scipy.interpolate.UnivariateSpline

geometry

ErosionTask

The task performs an erosion to the provided mask

MorphologicalFilterTask

Performs morphological operations on masks.

RasterToVectorTask

Task for transforming raster mask feature into vector feature.

VectorToRasterTask

A task for transforming a vector feature into a raster feature

io

VectorImportTask

A task for importing (Fiona readable) vector data files into an EOPatch

BaseRasterIoTask

Base abstract class for raster IO tasks

ExportToTiffTask

Task exports specified feature to GeoTIFF.

ImportFromTiffTask

Task for importing data from a GeoTIFF file into an EOPatch

SentinelHubDemTask

Adds DEM data (one of the collections) to

SentinelHubEvalscriptTask

Process API task to download data using evalscript

SentinelHubInputBaseTask

Base class for Processing API input tasks

SentinelHubInputTask

Process API input task that loads 16bit integer data and converts it to a 32bit float feature.

mask

JoinMasksTask

Joins together masks with the provided logical operation.

MaskFeatureTask

Masks out values of a feature using defined values of a given mask feature.

SnowMaskTask

The task calculates the snow mask using the given thresholds.

mask.extra

CloudMaskTask

Cloud masking with the s2cloudless model.

ml_tools

BaseSamplingTask

A base class for sampling tasks

BlockSamplingTask

A task to randomly sample pixels or blocks of any size.

FractionSamplingTask

The main task for pixel-based sampling that samples a fraction of viable points determined by a mask feature.

GridSamplingTask

A task to sample blocks of a given size in a regular grid.