Add docstrings

etta-drone
Dan Howe 6 years ago
parent 9e3cff0ef8
commit edfb8afabf

@ -1,3 +1,21 @@
"""las_manipulation.py
Clip, classify, and detect swash zone for an input las file.
Example usage:
# Process single survey at specific beach
python las_manipulation.py survey-1-avoca.yaml
# Process single survey at multiple beaches
python las_manipulation.py survey-1-avoca.yaml survey-1-pearl.yaml
# Process all surveys at specific beach
python las_manipulation.py *avoca.yaml
# Process all beaches for specific survey date
python las_manipulation.py survey-1*.yaml
"""
import os
import sys
import yaml

@ -1,15 +1,22 @@
# python 3.5
#requires LAStools to be installed (with the appropriate license). Note that LAStools requires no spaces in file names
#should have previously run 2017088_las_manipulation to have a las that has the buildings and veg removed
#note that the neilson volumes script must be in the same folder
# this script will:
#crop to a given polygon (crop away the swash zone)
# extract values along a predefined profile,
# do the volume analysis
#export pngs of the surveys
########################### IMPORTS ###########################################
"""las_outputs.py
Crop swash zone, plot survey profiles, and complete a volume analysis based
on the output from `las_manipulation.py`.
Example usage:
# Process single survey at specific beach
python las_outputs.py survey-1-avoca.yaml
# Process single survey at multiple beaches
python las_outputs.py survey-1-avoca.yaml survey-1-pearl.yaml
# Process all surveys at specific beach
python las_outputs.py *avoca.yaml
# Process all beaches for specific survey date
python las_outputs.py survey-1*.yaml
"""
import os
import io
import re

Loading…
Cancel
Save