A high-performance, cloud-native CLI engine for discovering and parsing raw LiDAR point cloud metadata.
Project description
als-finder
A high-performance, cloud-native CLI engine for discovering and downloading raw LiDAR point cloud data across the globe.
als-finder gathers complete acquisition footprints (project boundaries), true WGS84 point densities, and metadata from USGS, NOAA, and OpenTopography into clean .json manifests and QGIS-ready .gpkg tables.
๐ Table of Contents
- ๐ OpenTopography API Key Setup
- ๐ Installation
- โก Usage & Full Tutorial (Stage 1)
- ๐พ Stage 2: Downloading & Subsetting
- โ ๏ธ Data Processing: Caveats to Raw Downloads
- ๐ ๏ธ Stage 3: Normalization & Standardization
- ๐ Stage 4: SpatioTemporal Asset Catalogs (
--stac) - ๐ธ Stage 5: Visual QA/QC Quicklooks (
--quicklook) - ๐๏ธ Acknowledgements & Authorship
๐ OpenTopography API Key Setup
To pull datasets from OpenTopography, you must provide a free authorization token.
- Create an account at OpenTopography.org.
- Navigate to MyAccount -> Request API Key.
- Supply this key to
als-finderusing the--ot-keyflag during your first search. The engine will transparently cache it into a local.envfile directly in your active working directory for all future executions:
als-finder search --roi ./examples/ltbmu_boundary.gpkg --ot-key "your_token_here" --workspace ./my_lidar_project/
๐ Installation
Because als-finder relies on advanced spatial libraries (geopandas, shapely, pyproj), distributing it means managing complex C++ dependencies (GDAL and GEOS).
If you attempt a raw pip install on Windows or Mac without these underlying C++ compilers pre-installed, Python will throw catastrophic compiler errors ("dependency nightmares"). For this reason, we highly recommend Docker or Conda.
1. Docker (Recommended for HPC / Singularity)
The absolute safest way to execute spatial code without triggering dependency conflicts on your local machine is through Docker.
Option A: Pull Pre-Built Image (Recommended)
docker pull ghcr.io/cms-2024-hudak/als-finder:latest
# Basic Run (Bypasses OpenTopography)
docker run -v $(pwd):/app/data ghcr.io/cms-2024-hudak/als-finder:latest search --roi "-124,42,-123,43" --workspace /app/data/my_lidar_project/
# Run with OpenTopography API Key enabled
docker run -e OPENTOPOGRAPHY_API_KEY="your_api_key_here" -v $(pwd):/app/data ghcr.io/cms-2024-hudak/als-finder:latest search --roi "-124,42,-123,43" --workspace /app/data/my_lidar_project/
Option B: Build from Source If your enterprise firewall blocks GHCR or you are modifying the source code:
git clone https://github.com/cms-2024-hudak/als-finder.git
cd als-finder
docker build -t als-finder:latest .
# Run with environment variables from a .env file
docker run --env-file .env -v $(pwd):/app/data als-finder:latest search --roi "-124,42,-123,43" --workspace /app/data/my_lidar_project/
2. Conda (Recommended for Local Dev)
Conda natively handles downloading and compiling the complex C-binaries (GDAL, PDAL) in the background automatically. Since the package is currently in development, install it using the provided environment file:
git clone https://github.com/cms-2024-hudak/als-finder.git
cd als-finder
conda env create -f environment.yml
conda activate als-finder
3. Pip (Base Python/Linux)
[!WARNING] Important Note for Pip Users The pure
pipinstallation is only recommended for running thesearchengine. Thenormalizeengine heavily relies on the PDAL C++ library. While you can install thepython-pdalbinding via pip (pip install als-finder[pdal]), it will instantly fail unless you have manually installed thelibpdal-devbinaries on your host OS. We highly recommend Docker or Conda for normalization tasks.
To ensure a clean installation without conflicting with your system Python packages, always use a virtual environment:
# 1. Create a clean virtual environment sandbox
python3 -m venv .venv
# 2. Activate the environment
source .venv/bin/activate # On Windows, use `.venv\Scripts\activate`
# 3. Install the package
pip install als-finder
โก Usage & Full Tutorial
als-finder uses a workspace approach. Instead of managing multiple output flags, you simply define your search criteria and the destination folder. The software queries all indices, deduplicates overlapping datasets, and generates a clean tracking directory automatically.
1. The Base Execution (All Providers & Dates)
The easiest way to search for LiDAR is to provide an Area of Interest (ROI) boundary and a target output workspace. An example boundary (ltbmu_boundary.gpkg) is bundled with the package so you can follow along with this tutorial locally:
als-finder search --roi ./examples/ltbmu_boundary.gpkg --workspace ./my_lidar_project/
Console Output:
=======================================================================================================================================
LiDAR Data Search Results
=======================================================================================================================================
| Provider | Name | Date | Est (GB) | pts/m2 | Area km2 |
---------------------------------------------------------------------------------------------------------------------------------------
| USGS_EPT | CA_SierraNevada_5_2022 | 2022-??-?? | 1380.20 | 29.1700 | 6349.79 |
| USGS_EPT | CA_SierraNevada_6_2022 | 2022-??-?? | 1136.46 | 26.0800 | 5849.29 |
| USGS_EPT | CA_SierraNevada_8_2022 | 2022-??-?? | 1171.62 | 25.1400 | 6255.39 |
| OpenTopography | USFS Freds Fire Lidar, CA 2015 | 2022-06-07 | 150.04 | 31.3700 | 641.96 |
| USGS_EPT | NV_WestCentralEarthMRI_3_2020 | 2020-??-?? | 433.16 | 5.3400 | 10890.04 |
| USGS_EPT | CA_UpperSouthAmerican_Eldorado_2019 | 2019-??-?? | 2075.29 | 43.1600 | 6454.20 |
| OpenTopography | Paleo-Outburst Floods in the Truckee R | 2019-11-06 | 5.71 | 8.4000 | 91.21 |
| NOAA_STAC | DigitalCoast_DAV:id_9452 | 2019-10-21 | 2075.29 | 10.4100 | 26768.13 |
| USGS_EPT | USGS_LPC_CA_NoCAL_Wildfires_B1_2018 | 2018-??-?? | 643.56 | 10.8900 | 7928.51 |
| NOAA_STAC | DigitalCoast_DAV:id_9067 | 2018-07-07 | 723.53 | 1.2600 | 77212.96 |
| NOAA_STAC | DigitalCoast_DAV:id_9269 | 2018-01-22 | 40.74 | 0.0300 | 182391.32 |
| USGS_EPT | USGS_LPC_NV_Reno_Carson_QL1_2017_LAS_2 | 2017-??-?? | 151.15 | 9.5400 | 2126.64 |
| OpenTopography | Walker Fault System, Nevada, 2015 | 2017-07-28 | 35.77 | 7.2700 | 660.41 |
| OpenTopography | 2014 USFS Tahoe National Forest Lidar | 2017-03-28 | 218.61 | 8.9300 | 3285.73 |
| NOAA_STAC | DigitalCoast_DAV:id_8979 | 2017-03-03 | 2.94 | 0.0033 | 120829.31 |
| NOAA_STAC | DigitalCoast_DAV:id_6259 | 2016-04-28 | 233.77 | 0.0300 | 1135103.73 |
| NOAA_STAC | DigitalCoast_DAV:id_5022 | 2015-06-19 | 63.84 | 0.0200 | 363554.90 |
| NOAA_STAC | DigitalCoast_DAV:id_2612 | 2013-10-30 | 151.38 | 0.0300 | 698668.47 |
| USGS_EPT | CA_PlacerCo_2012 | 2012-??-?? | 36.96 | 3.9500 | 1254.54 |
| OpenTopography | Lake Tahoe Basin Lidar | 2011-03-01 | 184.96 | 13.2000 | 1880.65 |
| NOAA_STAC | DigitalCoast_DAV:id_1124 | 2009-09-01 | 141.08 | 0.0300 | 687536.10 |
| NOAA_STAC | DigitalCoast_DAV:id_4 | 1998-04-08 | 2.31 | 0.0003 | 1038061.18 |
| NOAA_STAC | DigitalCoast_DAV:id_3 | 1997-10-12 | 0.64 | 0.0001 | 1001673.78 |
=======================================================================================================================================
TOTAL DATASETS: 23 | ESTIMATED PAYLOAD: 11059.03 GB | QUERY TIME: 13.50s
---------------------------------------------------------------------------------------------------------------------------------------
CATALOG TBL: /home/user/my_lidar_project/catalog/catalog.gpkg
JSON METADATA: /home/user/my_lidar_project/catalog/manifest.json
=======================================================================================================================================
Note on column values:
- Date: If a provider only reports the collection year, missing months or days are displayed as
??(e.g.,2022-??-??). - Est (GB): This is an estimated payload size. Because registries don't always publish exact file sizes, this is approximated using the total project area and point density.
- pts/m2: Point density. Depending on the provider, this may be an exact metadata value or an estimated average across the entire project footprint.
2. Filtering by Dataset Name (--name)
If you know the title of your target dataset, you can filter the search using wildcards *, exact names, or regular expressions (prefixed with ~).
Finding Names via Exact String
You can find a specific point cloud acquisition by using its exact title:
als-finder search --roi ./examples/ltbmu_boundary.gpkg --name "CA_SierraNevada_5_2022" --workspace ./exact_sierra/
Console Output:
=======================================================================================================================================
LiDAR Data Search Results
=======================================================================================================================================
| Provider | Name | Date | Est (GB) | pts/m2 | Area km2 |
---------------------------------------------------------------------------------------------------------------------------------------
| USGS_EPT | CA_SierraNevada_5_2022 | 2022-??-?? | 1380.20 | 29.1700 | 6349.79 |
=======================================================================================================================================
TOTAL DATASETS: 1 | ESTIMATED PAYLOAD: 1380.20 GB | QUERY TIME: 3.14s
---------------------------------------------------------------------------------------------------------------------------------------
CATALOG TBL: /home/user/exact_sierra/catalog/catalog.gpkg
JSON METADATA: /home/user/exact_sierra/catalog/manifest.json
=======================================================================================================================================
Finding Names via Wildcard Strings
als-finder search --roi ./examples/ltbmu_boundary.gpkg --name "*Tahoe*" --workspace ./tahoe_wildcards/
Console Output:
=======================================================================================================================================
LiDAR Data Search Results
=======================================================================================================================================
| Provider | Name | Date | Est (GB) | pts/m2 | Area km2 |
---------------------------------------------------------------------------------------------------------------------------------------
| OpenTopography | 2014 USFS Tahoe National Forest Lidar | 2017-03-28 | 218.61 | 8.9300 | 3285.73 |
| OpenTopography | Lake Tahoe Basin Lidar | 2011-03-01 | 184.96 | 13.2000 | 1880.65 |
=======================================================================================================================================
TOTAL DATASETS: 2 | ESTIMATED PAYLOAD: 403.57 GB | QUERY TIME: 4.12s
---------------------------------------------------------------------------------------------------------------------------------------
CATALOG TBL: /home/user/tahoe_wildcards/catalog/catalog.gpkg
JSON METADATA: /home/user/tahoe_wildcards/catalog/manifest.json
=======================================================================================================================================
Finding Names via Explicit Regex
Prefix the query with a tilde ~ to use a python regular expression (e.g., finding datasets starting with CA_Sierra):
als-finder search --roi ./examples/ltbmu_boundary.gpkg --name "~^CA_Sierra.*" --workspace ./sierra_regex/
Console Output:
=======================================================================================================================================
LiDAR Data Search Results
=======================================================================================================================================
| Provider | Name | Date | Est (GB) | pts/m2 | Area km2 |
---------------------------------------------------------------------------------------------------------------------------------------
| USGS_EPT | CA_SierraNevada_5_2022 | 2022-??-?? | 1380.20 | 29.1700 | 6349.79 |
| USGS_EPT | CA_SierraNevada_6_2022 | 2022-??-?? | 1136.46 | 26.0800 | 5849.29 |
| USGS_EPT | CA_SierraNevada_8_2022 | 2022-??-?? | 1171.62 | 25.1400 | 6255.39 |
=======================================================================================================================================
TOTAL DATASETS: 3 | ESTIMATED PAYLOAD: 3688.28 GB | QUERY TIME: 3.51s
---------------------------------------------------------------------------------------------------------------------------------------
CATALOG TBL: /home/user/sierra_regex/catalog/catalog.gpkg
JSON METADATA: /home/user/sierra_regex/catalog/manifest.json
=======================================================================================================================================
3. Filtering by Chronology
Defining a Hard Start Date (--date)
If you only need modern datasets acquired after a specific date, strictly append the terminal bounding slash explicitly leaving the termination threshold open-ended organically:
als-finder search --roi ./examples/ltbmu_boundary.gpkg --date 2020-01-01/ --workspace ./recent_lidar/
Console Output:
=======================================================================================================================================
LiDAR Data Search Results
=======================================================================================================================================
| Provider | Name | Date | Est (GB) | pts/m2 | Area km2 |
---------------------------------------------------------------------------------------------------------------------------------------
| USGS_EPT | CA_SierraNevada_5_2022 | 2022-??-?? | 1380.20 | 29.1700 | 6349.79 |
| USGS_EPT | CA_SierraNevada_6_2022 | 2022-??-?? | 1136.46 | 26.0800 | 5849.29 |
| USGS_EPT | CA_SierraNevada_8_2022 | 2022-??-?? | 1171.62 | 25.1400 | 6255.39 |
| OpenTopography | USFS Freds Fire Lidar, CA 2015 | 2022-06-07 | 150.04 | 31.3700 | 641.96 |
| USGS_EPT | NV_WestCentralEarthMRI_3_2020 | 2020-??-?? | 433.16 | 5.3400 | 10890.04 |
=======================================================================================================================================
TOTAL DATASETS: 5 | ESTIMATED PAYLOAD: 4271.48 GB | QUERY TIME: 4.89s
---------------------------------------------------------------------------------------------------------------------------------------
CATALOG TBL: /home/user/recent_lidar/catalog/catalog.gpkg
JSON METADATA: /home/user/recent_lidar/catalog/manifest.json
=======================================================================================================================================
Defining a Hard End Date (--date)
If you only need historic acquisitions cleanly evaluated prior to a specific threshold, simply prefix the slash naturally dropping the starting bounds organically:
als-finder search --roi ./examples/ltbmu_boundary.gpkg --date /2020-01-01 --workspace ./historic_lidar/
Console Output:
=================================================================================================================
LiDAR Data Search Results
=================================================================================================================
| Provider | Name | Date | Est (GB) | pts/m2 | Area km2 |
-----------------------------------------------------------------------------------------------------------------
| USGS_EPT | CA_UpperSouthAmerican_Eldorado_2019 | 2019-??-?? | 2075.29 | 43.1600 | 6454.20 |
| OpenTopography | Paleo-Outburst Floods in the Truckee R | 2019-11-06 | 5.71 | 8.4000 | 91.21 |
| NOAA_STAC | DigitalCoast_DAV:id_9452 | 2019-10-21 | 2075.29 | 10.4100 | 26768.13 |
| USGS_EPT | USGS_LPC_CA_NoCAL_Wildfires_B1_2018 | 2018-??-?? | 643.56 | 10.8900 | 7928.51 |
| NOAA_STAC | DigitalCoast_DAV:id_9067 | 2018-07-07 | 723.53 | 1.2600 | 77212.96 |
| NOAA_STAC | DigitalCoast_DAV:id_9269 | 2018-01-22 | 40.74 | 0.0300 | 182391.32 |
| USGS_EPT | USGS_LPC_NV_Reno_Carson_QL1_2017_LAS_2 | 2017-??-?? | 151.15 | 9.5400 | 2126.64 |
| OpenTopography | Walker Fault System, Nevada, 2015 | 2017-07-28 | 35.77 | 7.2700 | 660.41 |
| OpenTopography | 2014 USFS Tahoe National Forest Lidar | 2017-03-28 | 218.61 | 8.9300 | 3285.73 |
| NOAA_STAC | DigitalCoast_DAV:id_8979 | 2017-03-03 | 2.94 | 0.0033 | 120829.31 |
| NOAA_STAC | DigitalCoast_DAV:id_6259 | 2016-04-28 | 233.77 | 0.0300 | 1135103.73 |
| NOAA_STAC | DigitalCoast_DAV:id_5022 | 2015-06-19 | 63.84 | 0.0200 | 363554.90 |
| NOAA_STAC | DigitalCoast_DAV:id_2612 | 2013-10-30 | 151.38 | 0.0300 | 698668.47 |
| USGS_EPT | CA_PlacerCo_2012 | 2012-??-?? | 36.96 | 3.9500 | 1254.54 |
| OpenTopography | Lake Tahoe Basin Lidar | 2011-03-01 | 184.96 | 13.2000 | 1880.65 |
| NOAA_STAC | DigitalCoast_DAV:id_1124 | 2009-09-01 | 141.08 | 0.0300 | 687536.10 |
| NOAA_STAC | DigitalCoast_DAV:id_4 | 1998-04-08 | 2.31 | 0.0003 | 1038061.18 |
| NOAA_STAC | DigitalCoast_DAV:id_3 | 1997-10-12 | 0.64 | 0.0001 | 1001673.78 |
=================================================================================================================
TOTAL DATASETS: 18 | ESTIMATED PAYLOAD: 6787.54 GB | QUERY TIME: 13.05s
-----------------------------------------------------------------------------------------------------------------
CATALOG TBL: /mnt/c/Users/gears/git/als-finder/scratch/historic_lidar/catalog/catalog.gpkg
JSON METADATA: /mnt/c/Users/gears/git/als-finder/scratch/historic_lidar/catalog/manifest.json
=================================================================================================================
Defining a Temporal Range (--date)
You can also search within specific historical windows (e.g., target point clouds collected during a 5-year span):
als-finder search --roi ./examples/ltbmu_boundary.gpkg --date 2015-01-01/2019-12-31 --workspace ./historic_lidar/
Console Output:
=======================================================================================================================================
LiDAR Data Search Results
=======================================================================================================================================
| Provider | Name | Date | Est (GB) | pts/m2 | Area km2 |
---------------------------------------------------------------------------------------------------------------------------------------
| USGS_EPT | CA_UpperSouthAmerican_Eldorado_2019 | 2019-??-?? | 2075.29 | 43.1600 | 6454.20 |
| OpenTopography | Paleo-Outburst Floods in the Truckee R | 2019-11-06 | 5.71 | 8.4000 | 91.21 |
| NOAA_STAC | DigitalCoast_DAV:id_9452 | 2019-10-21 | 2075.29 | 10.4100 | 26768.13 |
| USGS_EPT | USGS_LPC_CA_NoCAL_Wildfires_B1_2018 | 2018-??-?? | 643.56 | 10.8900 | 7928.51 |
| NOAA_STAC | DigitalCoast_DAV:id_9067 | 2018-07-07 | 723.53 | 1.2600 | 77212.96 |
| NOAA_STAC | DigitalCoast_DAV:id_9269 | 2018-01-22 | 40.74 | 0.0300 | 182391.32 |
| USGS_EPT | USGS_LPC_NV_Reno_Carson_QL1_2017_LAS_2 | 2017-??-?? | 151.15 | 9.5400 | 2126.64 |
| OpenTopography | Walker Fault System, Nevada, 2015 | 2017-07-28 | 35.77 | 7.2700 | 660.41 |
| OpenTopography | 2014 USFS Tahoe National Forest Lidar | 2017-03-28 | 218.61 | 8.9300 | 3285.73 |
| NOAA_STAC | DigitalCoast_DAV:id_8979 | 2017-03-03 | 2.94 | 0.0033 | 120829.31 |
| NOAA_STAC | DigitalCoast_DAV:id_6259 | 2016-04-28 | 233.77 | 0.0300 | 1135103.73 |
| NOAA_STAC | DigitalCoast_DAV:id_5022 | 2015-06-19 | 63.84 | 0.0200 | 363554.90 |
=======================================================================================================================================
TOTAL DATASETS: 12 | ESTIMATED PAYLOAD: 6270.20 GB | QUERY TIME: 4.41s
---------------------------------------------------------------------------------------------------------------------------------------
CATALOG TBL: /home/user/historic_lidar/catalog/catalog.gpkg
JSON METADATA: /home/user/historic_lidar/catalog/manifest.json
=======================================================================================================================================
4. Filtering by Point Density & Quality Level (--density)
You can filter datasets based on target point densities. als-finder supports both numeric point density bounds (pts/m2) or USGS 3DEP Topographic Quality Levels (QL0-QL3).
Filtering via USGS Topographic Quality Level
If you need a specific USGS Quality Level (e.g., QL1 which guarantees โฅ8.0 pts/mยฒ):
als-finder search --roi ./examples/ltbmu_boundary.gpkg --density QL1 --workspace ./high_res/
Console Output:
=======================================================================================================================================
LiDAR Data Search Results
=======================================================================================================================================
| Provider | Name | Date | Est (GB) | pts/m2 | Area km2 |
---------------------------------------------------------------------------------------------------------------------------------------
| USGS_EPT | CA_SierraNevada_5_2022 | 2022-??-?? | 1380.20 | 29.1700 | 6349.79 |
| USGS_EPT | CA_SierraNevada_6_2022 | 2022-??-?? | 1136.46 | 26.0800 | 5849.29 |
| USGS_EPT | CA_SierraNevada_8_2022 | 2022-??-?? | 1171.62 | 25.1400 | 6255.39 |
| OpenTopography | USFS Freds Fire Lidar, CA 2015 | 2022-06-07 | 150.04 | 31.3700 | 641.96 |
| USGS_EPT | CA_UpperSouthAmerican_Eldorado_2019 | 2019-??-?? | 2075.29 | 43.1600 | 6454.20 |
| OpenTopography | Paleo-Outburst Floods in the Truckee R | 2019-11-06 | 5.71 | 8.4000 | 91.21 |
| NOAA_STAC | DigitalCoast_DAV:id_9452 | 2019-10-21 | 2075.29 | 10.4100 | 26768.13 |
| USGS_EPT | USGS_LPC_CA_NoCAL_Wildfires_B1_2018 | 2018-??-?? | 643.56 | 10.8900 | 7928.51 |
| USGS_EPT | USGS_LPC_NV_Reno_Carson_QL1_2017_LAS_2 | 2017-??-?? | 151.15 | 9.5400 | 2126.64 |
| OpenTopography | 2014 USFS Tahoe National Forest Lidar | 2017-03-28 | 218.61 | 8.9300 | 3285.73 |
| OpenTopography | Lake Tahoe Basin Lidar | 2011-03-01 | 184.96 | 13.2000 | 1880.65 |
=======================================================================================================================================
TOTAL DATASETS: 11 | ESTIMATED PAYLOAD: 9192.89 GB | QUERY TIME: 3.98s
---------------------------------------------------------------------------------------------------------------------------------------
CATALOG TBL: /home/user/high_res/catalog/catalog.gpkg
JSON METADATA: /home/user/high_res/catalog/manifest.json
=======================================================================================================================================
Filtering via Exact Point Density Ranges (--density)
You can isolate structural quality matrices globally cleanly intercepting densities via explicit numeric bounds. In this example, we structurally isolate payloads globally exhibiting exactly between 2.0 and 10.0 points per square meter natively using the slash syntax (min/max).
Just like the --date flag, you can dynamically enforce open-ended parameters strictly mapping one-way thresholds (e.g., 2/ isolates datasets exclusively possessing โฅ 2 pts/m2, while /10 evaluates payloads strictly containing โค 10 pts/m2).
als-finder search --roi ./examples/ltbmu_boundary.gpkg --density 2/10 --workspace ./mid_res/
Console Output:
=======================================================================================================================================
LiDAR Data Search Results
=======================================================================================================================================
| Provider | Name | Date | Est (GB) | pts/m2 | Area km2 |
---------------------------------------------------------------------------------------------------------------------------------------
| USGS_EPT | NV_WestCentralEarthMRI_3_2020 | 2020-??-?? | 433.16 | 5.3400 | 10890.04 |
| OpenTopography | Paleo-Outburst Floods in the Truckee R | 2019-11-06 | 5.71 | 8.4000 | 91.21 |
| USGS_EPT | USGS_LPC_NV_Reno_Carson_QL1_2017_LAS_2 | 2017-??-?? | 151.15 | 9.5400 | 2126.64 |
| OpenTopography | Walker Fault System, Nevada, 2015 | 2017-07-28 | 35.77 | 7.2700 | 660.41 |
| OpenTopography | 2014 USFS Tahoe National Forest Lidar | 2017-03-28 | 218.61 | 8.9300 | 3285.73 |
| USGS_EPT | CA_PlacerCo_2012 | 2012-??-?? | 36.96 | 3.9500 | 1254.54 |
=======================================================================================================================================
TOTAL DATASETS: 6 | ESTIMATED PAYLOAD: 881.36 GB | QUERY TIME: 4.54s
---------------------------------------------------------------------------------------------------------------------------------------
CATALOG TBL: /home/user/mid_res/catalog/catalog.gpkg
JSON METADATA: /home/user/mid_res/catalog/manifest.json
=======================================================================================================================================
5. Filtering by Registry (--provider)
To only search specific registries, supply the short-hand provider flags (usgs, noaa, or opentopography). These map directly to the formal output Table Provider columns (USGS_EPT, NOAA_STAC, OpenTopography).
Single Provider
als-finder search --roi ./examples/ltbmu_boundary.gpkg --provider usgs --workspace ./usgs_only/
Console Output:
=======================================================================================================================================
LiDAR Data Search Results
=======================================================================================================================================
| Provider | Name | Date | Est (GB) | pts/m2 | Area km2 |
---------------------------------------------------------------------------------------------------------------------------------------
| USGS_EPT | CA_SierraNevada_5_2022 | 2022-??-?? | 1380.20 | 29.1700 | 6349.79 |
| USGS_EPT | CA_SierraNevada_6_2022 | 2022-??-?? | 1136.46 | 26.0800 | 5849.29 |
| USGS_EPT | CA_SierraNevada_8_2022 | 2022-??-?? | 1171.62 | 25.1400 | 6255.39 |
| USGS_EPT | NV_WestCentralEarthMRI_3_2020 | 2020-??-?? | 433.16 | 5.3400 | 10890.04 |
| USGS_EPT | CA_UpperSouthAmerican_Eldorado_2019 | 2019-??-?? | 2075.29 | 43.1600 | 6454.20 |
| USGS_EPT | USGS_LPC_CA_NoCAL_Wildfires_B1_2018 | 2018-??-?? | 643.56 | 10.8900 | 7928.51 |
| USGS_EPT | USGS_LPC_NV_Reno_Carson_QL1_2017_LAS_2 | 2017-??-?? | 151.15 | 9.5400 | 2126.64 |
| USGS_EPT | CA_PlacerCo_2012 | 2012-??-?? | 36.96 | 3.9500 | 1254.54 |
=======================================================================================================================================
TOTAL DATASETS: 8 | ESTIMATED PAYLOAD: 7028.40 GB | QUERY TIME: 3.01s
---------------------------------------------------------------------------------------------------------------------------------------
CATALOG TBL: /home/user/usgs_only/catalog/catalog.gpkg
JSON METADATA: /home/user/usgs_only/catalog/manifest.json
=======================================================================================================================================
Multiple Providers
You can pass the flag multiple times to search a specific combination of registries (e.g., pulling only usgs and opentopography):
als-finder search --roi ./examples/ltbmu_boundary.gpkg --provider usgs --provider opentopography --workspace ./combo/
Console Output:
=======================================================================================================================================
LiDAR Data Search Results
=======================================================================================================================================
| Provider | Name | Date | Est (GB) | pts/m2 | Area km2 |
---------------------------------------------------------------------------------------------------------------------------------------
| USGS_EPT | CA_SierraNevada_5_2022 | 2022-??-?? | 1380.20 | 29.1700 | 6349.79 |
| USGS_EPT | CA_SierraNevada_6_2022 | 2022-??-?? | 1136.46 | 26.0800 | 5849.29 |
| USGS_EPT | CA_SierraNevada_8_2022 | 2022-??-?? | 1171.62 | 25.1400 | 6255.39 |
| OpenTopography | USFS Freds Fire Lidar, CA 2015 | 2022-06-07 | 150.04 | 31.3700 | 641.96 |
| USGS_EPT | NV_WestCentralEarthMRI_3_2020 | 2020-??-?? | 433.16 | 5.3400 | 10890.04 |
| USGS_EPT | CA_UpperSouthAmerican_Eldorado_2019 | 2019-??-?? | 2075.29 | 43.1600 | 6454.20 |
| OpenTopography | Paleo-Outburst Floods in the Truckee R | 2019-11-06 | 5.71 | 8.4000 | 91.21 |
| USGS_EPT | USGS_LPC_CA_NoCAL_Wildfires_B1_2018 | 2018-??-?? | 643.56 | 10.8900 | 7928.51 |
| USGS_EPT | USGS_LPC_NV_Reno_Carson_QL1_2017_LAS_2 | 2017-??-?? | 151.15 | 9.5400 | 2126.64 |
| OpenTopography | Walker Fault System, Nevada, 2015 | 2017-07-28 | 35.77 | 7.2700 | 660.41 |
| OpenTopography | 2014 USFS Tahoe National Forest Lidar | 2017-03-28 | 218.61 | 8.9300 | 3285.73 |
| USGS_EPT | CA_PlacerCo_2012 | 2012-??-?? | 36.96 | 3.9500 | 1254.54 |
| OpenTopography | Lake Tahoe Basin Lidar | 2011-03-01 | 184.96 | 13.2000 | 1880.65 |
=======================================================================================================================================
TOTAL DATASETS: 13 | ESTIMATED PAYLOAD: 7623.49 GB | QUERY TIME: 12.81s
---------------------------------------------------------------------------------------------------------------------------------------
CATALOG TBL: /home/user/combo/catalog/catalog.gpkg
JSON METADATA: /home/user/combo/catalog/manifest.json
=======================================================================================================================================
6. Updating Catalogs (Atomic Rollbacks)
The generated manifest.json logs your original parameters (roi, dates, densities, providers). To quickly check the federal registries for newly published data in your project area, simply run:
als-finder update --workspace ./my_lidar_project/
(Note: During an update, als-finder makes a timestamped backup of your old manifest.json, catalog.csv, and catalog.gpkg before pulling new indexing results, ensuring your old references are never lost).
๐พ Stage 2: Downloading & Subsetting
To prevent catastrophic hard drive consumption and perfectly align local executions with High-Performance Computing (HPC) workflows, als-finder enforces a strict, unbreakable safety barrier between "Search" and "Download".
The Two-Step Safety Pipeline
- The Search: Run
searchto establish a project and locate the metadata records. - The Subsetting Generation: Run
download. The pipeline will never physically download binary LiDAR data by default. It spatially intersects the target acquisitions against your input--roipolygon, generating a tiny list of overlapping.lazfile URLs mapped to afetch_array.csv. - The Execution: You explicitly execute the CSV locally by appending the
--executeflag, or seamlessly feed the.csvtext list into an HPC scheduler for raw distribution.
7.1 Generating the Fetch List
Assume you executed a tight search query dropping a bounding box strictly over an area of interest inside the CA_SierraNevada_5_2022 USGS footprint:
als-finder search --roi "-120.01, 39.01, -119.99, 39.02" --name "CA_SierraNevada_5_2022" --workspace ./tiny_subset/
als-finder download --roi "-120.01, 39.01, -119.99, 39.02" --name "CA_SierraNevada_5_2022" --workspace ./tiny_subset/
==================================================================================================
LiDAR Fetch Array Matrix
==================================================================================================
| Provider | Name | Tiles | True Size | Format |
--------------------------------------------------------------------------------------------------
| USGS_EPT | CA_SierraNevada_5_2022 | 107 | 27.14 MB | .laz |
==================================================================================================
TOTAL ACQUISITIONS: 1 | PHYSICAL TILES: 107 | EXPECTED PAYLOAD: 27.14 MB
--------------------------------------------------------------------------------------------------
FETCH TARGET URI: ./tiny_subset/catalog/fetch_array.csv
==================================================================================================
7.2 Executing a Local Download (--execute)
If you visually verify the tile payload is safe for your local hard drive capacity, you formally pull the arrays into a strict Hive-Partitioned database struct:
als-finder download --roi "-120.01, 39.01, -119.99, 39.02" --name "CA_SierraNevada_5_2022" --workspace ./tiny_subset/ --execute
Console Output:
Executing Mode A/B: Physical Core Download Protocol
Targeting fetch array: tiny_subset/catalog/fetch_array.csv
Verified local workspace capacity: 29.71 GB available.
Physically orchestrating multi-threaded download sequence for 107 nodes...
[SUCCESS] Total Data Block Acquisition completed: 107/107 matrices mapped.
Resulting Hive Workspace Structure:
tiny_subset/
โโโ catalog/
โ โโโ catalog.gpkg
โ โโโ fetch_array.csv
โ โโโ manifest.json
โโโ data/
โโโ raw/
โโโ provider=USGS_EPT/
โโโ dataset=CA_SierraNevada_5_2022/
โโโ USGS_LPC_CA_SierraNevada_..._2022_LAS_2024.laz
โโโ ... (106 more files)
7.3 HPC Array Workflows (Expanse / Slurm)
Because als-finder maps the source URLs to precise data/... output paths inside the CSV, you never use the --execute flag on an HPC Head Node. You can build your fetch_array.csv offline, and simply pass that list directly to sbatch:
# Example generic fetching parallelization loop on Expanse
sbatch --array=1-1000 wget_fetcher.sh ./tiny_subset/catalog/fetch_array.csv
โ ๏ธ Data Processing: Caveats to Raw Downloads
Because als-finder pulls data directly from decentralized public repositories (USGS, NOAA, OpenTopography), the raw .laz and .las files in your data/raw/ folder are completely unconformed. If you stop at Stage 2, you will encounter severe analytical bottlenecks:
- Coordinate Reference Systems (CRS): USGS data might be in
EPSG:6339(UTM), while NOAA data might be inEPSG:4326(WGS84). You cannot safely merge them. - Classification Constraints (ASPRS): Different vendors use different classification integer mappings.
- Format Bloat: Some files are uncompressed
.las, some are legacy.laz.
To solve this completely, als-finder includes an automated harmonization engine using PDAL.
๐ ๏ธ Stage 3: Normalization & Standardization
The normalize command standardizes your raw downloads into a strictly uniform format. It executes the following pipeline on every single file in the data/raw/ directory:
- Format Upgrade: Converts everything to Cloud Optimized Point Cloud (
.copc.laz) for blazing-fast spatial indexing. - CRS Reprojection: Reprojects everything to Web Mercator (
EPSG:3857) by default, or dynamically calculates a local UTM zone using the--crs auto-utmflag. - Taxonomic Standardization: Wipes legacy vendor classifications, drops invalid points, and executes the SMRF (Simple Morphological Filter) algorithm to strictly classify the bare earth (Class 2) and vegetation (Class 1).
als-finder normalize --workspace ./tiny_subset/
Resulting Hive Workspace Structure:
tiny_subset/
โโโ data/
โโโ raw/
โโโ standardized/
โโโ provider=USGS_EPT/
โโโ dataset=CA_SierraNevada_5_2022/
โโโ CA_SierraNevada_5_2022_subset.copc.laz
โโโ ... (Uniformly classified COPCs)
๐ Stage 4: SpatioTemporal Asset Catalogs (--stac)
By simply appending the --stac flag to your normalize command, the engine parses the normalized COPC files and generates formal PySTAC JSON Items. These can be dragged and dropped into QGIS or fed into cloud STAC APIs for immediate geographic indexing.
als-finder normalize --workspace ./tiny_subset/ --stac
This populates a new directory natively in your catalog: tiny_subset/catalog/stac/.
Why STAC?
If you download 5,000 LiDAR tiles across 10 years and 8 different providers, manually finding the exact 4 tiles that cover a specific watershed on a specific date is nearly impossible without loading multi-gigabyte point clouds into GIS software. By generating a STAC catalog, als-finder creates lightweight JSON files that store the exact 3D bounding box, coordinate system, and acquisition date for every single point cloud, linking them together into a searchable hierarchy.
1. The QGIS "Drag and Drop" Map Demo:
You can use the QGIS STAC API Browser Plugin and point it to the catalog/stac/catalog.json file. QGIS will instantly draw colored boxes over a basemap showing the exact footprint of every single LiDAR tile you downloaded, allowing you to visually browse your local database instantly.
2. The Python Data Science Query:
You can programmatically query your new local database without needing a SQL server using pystac:
import pystac
# Load the local master catalog
catalog = pystac.Catalog.from_file("tiny_subset/catalog/stac/catalog.json")
# Instantly iterate through thousands of LiDAR files locally
for item in catalog.get_all_items():
print(f"Point Cloud: {item.id}")
print(f"Bounding Box: {item.bbox}")
print(f"Acquisition Date: {item.datetime}")
print(f"File Path: {item.assets['data'].href}")
๐ธ Stage 5: Visual QA/QC Quicklooks (--quicklook)
You don't need expensive desktop software to verify the integrity of massive point clouds. Appending the --quicklook flag triggers an instantaneous preview engine. It leverages readers.copc to stream only the lowest-resolution spatial tiers, ensuring it generates previews in seconds regardless of payload size.
als-finder normalize --workspace ./tiny_subset/ --quicklook
What it generates:
- Ground Hillshade (DEM): A shaded physical relief of the bare earth (Class 2).
- Canopy Height Model (CHM): A color-coded canopy height map (Blue=Earth, Green=Low Veg, Red=Tall Canopy) calculated using
filters.hag_nn. - Master Catalog: A simple HTML grid saved to
catalog/quicklooks_index.htmldisplaying side-by-side previews, origin acquisition dates, and physical vs. estimated point densities for every tile.
โก The Mega Command (End-to-End Execution)
If you have already defined your --roi and are ready to execute the entire lifecycle from public registry discovery to standard COPC, STAC indexing, and Quicklook generation without stopping at the safety barrier, you can chain the pipeline together:
# 1. Generate the Fetch List
als-finder download --roi "-120.505, 39.015, -120.495, 39.016" --name "CA_SierraNevada_4_2022" --workspace ./my_lidar_project/
# 2. Execute the Download, Harmonize, STAC index, and Preview
als-finder normalize --workspace ./my_lidar_project/ --execute --stac --quicklook
Note: The --execute flag can be passed directly to normalize. This tells the engine to first fulfill the pending fetch_array.csv downloads, and immediately transition into harmonization, STAC formatting, and QA/QC image generation natively.
๐๏ธ Acknowledgements & Authorship
This software is released under the open-source MIT License. Copyright Jonathan Greenberg.
Project Authors & Contributors:
- Jonathan Greenberg (University of Nevada, Reno): Lead Developer and Core Project Architect.
- Andrew Hudak (US Forest Service): Provided critical advisory feedback and domain tracking under joint grant alignment.
- Antigravity (Google DeepMind): Acted as the primary AI Software Engineer alongside Jonathan.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file als_finder-1.0.1.tar.gz.
File metadata
- Download URL: als_finder-1.0.1.tar.gz
- Upload date:
- Size: 74.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfd0861cd02f9f7eb1b17b22787049320639f1ffa8b5078da4994a47bb84ad21
|
|
| MD5 |
7df3cc656b33d8fe728567f8a4e0da1b
|
|
| BLAKE2b-256 |
96e5443b30d6e72e88c9d4f9c82ed1b35c4bb64515d36d9a8a852f88625238d8
|
Provenance
The following attestation bundles were made for als_finder-1.0.1.tar.gz:
Publisher:
pypi-publish.yml on cms-2024-hudak/als-finder
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
als_finder-1.0.1.tar.gz -
Subject digest:
cfd0861cd02f9f7eb1b17b22787049320639f1ffa8b5078da4994a47bb84ad21 - Sigstore transparency entry: 1339139445
- Sigstore integration time:
-
Permalink:
cms-2024-hudak/als-finder@52b5a5c16cf8bc04ad475826bcd98fd1d69dffb1 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/cms-2024-hudak
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@52b5a5c16cf8bc04ad475826bcd98fd1d69dffb1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file als_finder-1.0.1-py3-none-any.whl.
File metadata
- Download URL: als_finder-1.0.1-py3-none-any.whl
- Upload date:
- Size: 44.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc6e15606ca6c983fc904b399c7cc3d89d4af08a5757ee22696f85f45765bf18
|
|
| MD5 |
037a7c7044855721603e02d6a54c80f3
|
|
| BLAKE2b-256 |
44c174ce071bb1bc8fb7db0af65bdd61b83b9c4250601298dd2008d5fec6b1e3
|
Provenance
The following attestation bundles were made for als_finder-1.0.1-py3-none-any.whl:
Publisher:
pypi-publish.yml on cms-2024-hudak/als-finder
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
als_finder-1.0.1-py3-none-any.whl -
Subject digest:
bc6e15606ca6c983fc904b399c7cc3d89d4af08a5757ee22696f85f45765bf18 - Sigstore transparency entry: 1339139570
- Sigstore integration time:
-
Permalink:
cms-2024-hudak/als-finder@52b5a5c16cf8bc04ad475826bcd98fd1d69dffb1 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/cms-2024-hudak
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@52b5a5c16cf8bc04ad475826bcd98fd1d69dffb1 -
Trigger Event:
release
-
Statement type: