L3 Products

This module gathers classes related to L3 products.

In this module are defined L3 products : the abstract class L3Product and its child classes L3AlgoProduct and L3MaskProduct. Basically, these classes wrap a well formated xarray Dataset and offer a few useful methods.

Example:

S2_ndvi = L3AlgoProduct(dataset)
S2_ndvi.plot()
S2_ndvi.save(path_to_file)

s2cloudless_mask = L3MaskProduct(dataset)
s2cloudless_mask.save(path_to_file)

Constructing L3 products

New L3 products can be constructed using:

Note

Using the low-level constructors involves that you must generate and correctly format the dataset you’ll be using.

L3AlgoProduct(dataset)

An L3Product embedding data obtained by using a wc/land algorithm.

L3MaskProduct(dataset)

An L3Product embedding data obtained by using a mask algorithm.

The inherited abstract class

L3Product(dataset)

Abstract class inherited by both L3AlgoProduct and L3MaskProduct.

Masking L3 products

mask_product(l3_algo, l3_masks, lst_mask_type)

Masks an L3AlgoProduct.

Querying spatial features

sisppeo.utils.products.CoordinatesMixin()

A Mixin which adds extra properties and methods related to coordinates.