Skip to content

Instantly share code, notes, and snippets.

View kylemann16's full-sized avatar

Kyle Mann kylemann16

View GitHub Profile
@kylemann16
kylemann16 / README.md
Last active March 7, 2023 20:25
NOAA STAC ItemCollection creation python script

NOAA STAC Creation Script

This note will document the usage of the Python script noaa.py that generates STAC JSON for the NOAA data found at https://noaa-nos-coastal-lidar-pds.s3.us-east-1.amazonaws.com/laz/dav.json.

Further information on STAC can be found here.

Environment

Required pip libraries:

  • pystac
  • shapely
  • pyproj
@kylemann16
kylemann16 / keybindings.json
Created May 17, 2023 16:18
vscode vim window movement keybindings
[
//cmd options
{
"key": "shift+cmd+space",
"command": "closeParameterHints",
"when": "editorTextFocus && parameterHintsVisible"
},
{
"key": "cmd+f",
"command": "actions.find"
@kylemann16
kylemann16 / process.md
Created September 17, 2025 22:13
Debugging Python/C++ code with LLDB and PDB

Notes:

  • LLDB can only debug the C++ portion of your code if it's compiled in Debug mode and if you are running a python process that is referencing your C++ code.
  • It's important to do continue after attaching to the python pid because lldb is pausing the process until you do
  1. Set a breakpoint at the beginning of your python code with pdb or similar
import pdb
pdb.set_trace()
@kylemann16
kylemann16 / pdal_dtm.py
Last active October 13, 2025 19:46
DTM with PDAL python bindings
import pdal
pc_path = 'https://github.com/PDAL/data/raw/refs/heads/main/autzen/autzen.laz'
out_file = 'autzen_dtm.tif'
## DTM Pipeline Creation ##
# this script creates a pdal pipeline that prepares a non-classified pointcloud
# and writes out a raster (tif).
#
# Method: