Vegetation monitoring#

class eocrops.tasks.vegetation_indices.VegetationIndicesVHRS(*args, **kwargs)[source]#

Bases: EOTask

Compute vegetation indices for VHRS data (only 4 bands)

Methods

calcul_ratio_vegetation_indices

Stores initialization parameters and the order to the instance attribute init_args.

Methods

calcul_ratio_vegetation_indices

calcul_ratio_vegetation_indices()[source]#
class eocrops.tasks.vegetation_indices.BiophysicalParameters(B03, B04, B05, B06, B07, B8A, B11, B12, viewZenithMean, sunZenithAngles, viewAzimuthMean, sunAzimuthAngles)[source]#

Bases: object

Compute biophysical parameters in Sentinel-2 data using the code available in SNAP biophysical processor.

Parameters:
B03-B12np.array

Band from S2 image (4-d format T*H*W*1)

Illumination properties:

Band from S2 image (4-d format T*H*W*1)

Methods

get_cab()

Define biochemical vegetation index Chloro a+b, computed from a trained neural network which has as inputs the metadata of sentinel2 images

get_cw()

Define biophysical vegetation index Fraction of Absorbed Photosynthetically Active Radiation, computed from a trained neural network which has as inputs the metadata of sentinel2 images

get_fapar()

Define biophysical vegetation index Fraction of Absorbed Photosynthetically Active Radiation, computed from a trained neural network which has as inputs the metadata of sentinel2 images

get_fcover()

Define biophysical vegetation index Leaf Area Index, computed from a trained neural network which has as inputs the metadata of sentinel2 images

get_lai()

Define biophysical vegetation index Leaf Area Index, computed from a trained neural network which has as inputs the metadata of sentinel2 images

apply_normalize

apply_normalize()[source]#
get_lai()[source]#

Define biophysical vegetation index Leaf Area Index, computed from a trained neural network which has as inputs the metadata of sentinel2 images

get_cab()[source]#

Define biochemical vegetation index Chloro a+b, computed from a trained neural network which has as inputs the metadata of sentinel2 images

get_fapar()[source]#

Define biophysical vegetation index Fraction of Absorbed Photosynthetically Active Radiation, computed from a trained neural network which has as inputs the metadata of sentinel2 images

get_fcover()[source]#

Define biophysical vegetation index Leaf Area Index, computed from a trained neural network which has as inputs the metadata of sentinel2 images

get_cw()[source]#

Define biophysical vegetation index Fraction of Absorbed Photosynthetically Active Radiation, computed from a trained neural network which has as inputs the metadata of sentinel2 images

class eocrops.tasks.vegetation_indices.VegetationIndicesS2(*args, **kwargs)[source]#

Bases: EOTask

Define a class of vegetation indices, which are computed from the metadata of sentinel2 images extracted

Methods

get_vegetation_indices()

Define vegetation indices which are simply ratio of spectral bands

get_biophysical_parameters

mask_pixels

Stores initialization parameters and the order to the instance attribute init_args.

Methods

get_vegetation_indices()

Define vegetation indices which are simply ratio of spectral bands

get_biophysical_parameters

mask_pixels

get_vegetation_indices()[source]#

Define vegetation indices which are simply ratio of spectral bands

get_biophysical_parameters()[source]#
mask_pixels(eopatch)[source]#
class eocrops.tasks.vegetation_indices.EuclideanNorm(*args, **kwargs)[source]#

Bases: EOTask

The tasks calculates Euclidian Norm of all bands within an array: norm = sqrt(sum_i Bi**2), where Bi are the individual bands within user-specified feature array.

Stores initialization parameters and the order to the instance attribute init_args.