gedih3.cli.gh3_build_ducklake#

Functions#

get_cmd_args()

get_file_list(root_dir)

List the parquet files of the H3 database.

main()

Module Contents#

gedih3.cli.gh3_build_ducklake.get_cmd_args()[source]#
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.parquet naming 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).

gedih3.cli.gh3_build_ducklake.main()[source]#