gedih3.cli.gh3_build_ducklake#
Functions#
|
List the parquet files of the H3 database. |
|
Module Contents#
- gedih3.cli.gh3_build_ducklake.get_file_list(root_dir)[source]#
List the parquet files of the H3 database.
Uses the manifest-aware
smart_glob(the _manifest.txt sentinel is O(1) on the GPFS metadata server) instead of guessing filenames from a year range and the<hex>.<year>.0.parquetnaming contract — the actual listing also catches fragments the guess would miss.- Parameters:
- root_dirstr or pathlib.Path
Root directory of the H3 database.
- Returns:
- list of pathlib.Path
Paths to parquet files, ordered so the first element is guaranteed to exist (used to infer the table schema).