Venus

class museopheno.sensors.Venus(n_bands=12, bands_order='default')[source]

Use Venus as sensor.

Parameters
  • n_bands (int, default 12) –

  • bands_order (str or list, default 'default') – If ‘default’, bands_order is the first 10m-bands (2,3,4 and 8), and if n_bands is 10 bands, the first 20-m bands (5,6,…11,12)

Example

>>> dataset = Venus()
>>> dataset.bands_names
>>> dataset.get_index_expression('NDVI')
{'expression': '(B8-B4)/(B8+B4)', 'condition': '(B8+B4) != 0'}
>>>

Methods

SmoothSignal(input_dates[, output_dates, fmt])

__init__([n_bands, bands_order])

Initialize self.

add_index(index_name, expression[, …])

Add index for the current sensor, verify if band is available before adding the script.

configure_bands_order([order_by])

Configure how bands are ordered (by date or by band)

generate_index(X, expression[, …])

Generate index from array

generate_raster(input_raster, output_raster, …)

Generate index from raster

get_index_expression(index_name)

Return index expression

set_description_metadata(input_raster, dates)

Write metadata (band and date) in raster.