Last active
February 14, 2023 14:58
-
-
Save MBunel/6bdeb76603b5db012bcca9aff813acb9 to your computer and use it in GitHub Desktop.
Example of simple parallel execution of a pdal pipeline on remote hosts with gnu parallel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parallel \ | |
# Database of results metadata | |
--sqlandworker sqlite3:///out.sqlite/output \ | |
# Url of host | |
--sshlogin host_1,host_2,: \ | |
# Transfer of pdal pipeline on hosts | |
--tf my_pipeline_file.json \ | |
# Transfer las files to remote hosts, return the results | |
--tf {} --return {.}.tif --cleanup \ | |
# pdal command | |
"pdal pipeline -i my_pipeline_file.json --readers.las.filename={} --writers.gdal.filename={.}.tif" ::: *.las |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment