We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d602d16 commit e02f6cfCopy full SHA for e02f6cf
python/lambda/lambda_function.py
@@ -1,4 +1,5 @@
1
import os
2
+import subprocess
3
import sys
4
import logging
5
@@ -19,6 +20,14 @@ def lambda_handler(event, context=None):
19
20
""" Lambda handler """
21
logger.debug(event)
22
23
+ # this try block is for testing and info only, it can be safely removed
24
+ # it prints out info on the linked libraries found in libgdal
25
+ try:
26
+ output = subprocess.check_output('ldd /opt/lib/libgdal.so'.split(' '))
27
+ logger.info(output.decode())
28
+ except Exception as e:
29
+ pass
30
+
31
# process event payload and do something like this
32
fname = event.get('filename', test_filename)
33
fname = fname.replace('s3://', '/vsis3/')
0 commit comments