Skip to main content

Postprocessing Build Waterlogging layer AWS Step Function

This step function postprocessing-build-waterlogging-step-function is used to orchestrate the building of a waterlogging map and uploading the results to a specified Geoserver. The function requires a succesfull DTM, run postprocessing-build-dem-step-function if that is not the case. Processing the waterlogging map is a memory expensive operation. Therefore this step function leverages an EC2 to run the computations. The EC2 image is build with tertiary software SAGA GIS. Waterlogging is essentialy the difference between a sink filled DTM and the original DTM. It accentuates a risk of water stagnation in an area with modelled unlimited input of water to the system. The DTM is resampled to 0.5m x 0.5m pixels due hydrological algorithms underperforming at high resolution DEMs.

Step Functions

The step functions that are used within this step function:

Lambdas

The lambdas orchestrated by the Step function are the following:

./datastore.properties  # contains database schema information
./indexer.properties # contains coverage information (EPSG)
./timeregex.properties # contains regex string to determine date
./footprint.properties # contains trigger for COG hosting

Invocation description

The following keys are required:

job_id: str, job id reference
client_tag: str, client tag to determine costing

Example

{
"job_id": "20220520151302-1327-0ad42aeec1014698b5efc953b83b5825",
"client_tag": "Some Client"
}