Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 680 Bytes

README.md

File metadata and controls

26 lines (14 loc) · 680 Bytes

cng-python

A collection of some commonly used cloud-native geo utility functions for our python-based workflows

Install

Should be refactored as an installable module. For now just attach to sys path, e.g.:

import sys
sys.path.append("../cng-python/")
from utils import set_secrets, source_secrets

Utilities

  • set_secrets() Helper utility to read/write from S3 buckets. Particularly convenient for working with local minio buckets on Cirrus. duckdb S3 can read but not write to data.source.coop S3 at this time.

  • Some pydeck helpers, from gbif hex maps

  • H3 helper builtins (also used with gbif)

  • leafmap/maplibre helper for terrain style