Analytics and Execution Engines

Analytics Engine

class datacube.analytics.AnalyticsEngine(api=None, index=None)[source]
add_to_plan(name, task)[source]

Add the task to the plan

apply_bandmath(arrays, function, name)[source]

Create a task descriptor of performing band math Will be deprecated - currently kept for backwards compatibility

apply_cloud_mask(arrays, mask, name)[source]

Create a task descriptor of performing cloud masking Will be deprecated - currently kept for backwards compatibility

apply_expression(arrays, function, name)[source]

Create a task descriptor of performing an expression

apply_generic_reduction(arrays, dimensions, function, name)[source]

Create a task descriptor of performing generic dimension reduction Will be deprecated - currently kept for backwards compatibility

apply_reduction(array1, dimensions, function, name)[source]

Create a task descriptor of performing dimension reduction Will be deprecated - currently kept for backwards compatibility

apply_sensor_specific_bandmath(storage_types, product, function, dimensions, name_data, name_result)[source]

Create a task descriptor of performing sensor specific bandmath

create_array(storage_type, variables, dimensions, name)[source]

Creates an array descriptor with metadata about what the data will look like

diff_list(list1, list2)[source]

find items in list1 that are not in list2

get_predefined_function(storage_type, function)[source]

Helper function to retrieve predefined functions from look up table

get_predefined_inputs(storage_type, function)[source]

Helper function to retrieve predefined inputs from look up table

list_searchables()[source]

List searchable parameters for use in get_descriptor and get_data

task(name)[source]

Retrieve a task

Execution Engine

class datacube.execution.ExecutionEngine(api=None, index=None)[source]