Skip to main content

Create Report

The following example creates a report by running a lambda Report function:

result = voxelfarm_workflow.create_report(vf, request, 'pending_reports', 
    'Survey Volume Difference', 'lambdas/surface-volume-difference.py', region, 4, 
    {
        'previous_surface_id' :  f'{previous_terrain_id}',
        'current_surface_id' :  f'{voxel_terrain_id}',
        'non_mining_surface_id' : f'{active_hist_surf}',
        'nat_surface_id' : f'{active_nat_surf}',
    })