@@ -23,7 +23,7 @@ Follow these steps to configure your lambda function:
* For the runtime environment, select Python 3.10.
* Under permissions, choose the exisiting role **faas_ndvi_role**.
2. Dependency Management:
Add a custom layer named **ndvi-rioxarray**. This layer should include the rioxarray library along with any other dependencies necessary for processing NDVI images.
Add a custom layer named **rioxarray**. This layer should include the rioxarray library along with any other dependencies necessary for processing NDVI images.
3. Function Code:
In the Lambda function's code editor, paste the contents of the **Compute NDVI Mean.py** script. This script contains the logic to read an NDVI image, compute its mean NDVI value using rioxarray, and return the computed mean.
4. Go to 'Configuration'. Edit 'General configuration':