Ingest: copy and annotate
Lambda: volcano-ingest
Code: lambda/ingest_annotate/handler.py (in the demo repo)
Ingest lists only keys under camera/volcano/images/.../TKAH/TKAH.01/ — the Te Kaha camera — not every GeoNet volcano site.
Per image (over the last 7 UTC days by default, INGEST_LOOKBACK_DAYS):
- List
.jpgkeys from GeoNet for each day in the lookback window PutObjectcopy to private bucket (same key)- Parse key →
camera_id,utc_day,captured_utc, … - Derive
day_phaseandvisibilityfrom clock + pixel brightness put_object_annotationwith namespaceenvironment- Optionally mirror key fields to DynamoDB
Object key pattern
Section titled “Object key pattern”camera/volcano/images/{YYYY}/TKAH/TKAH.01/{YYYY.DDD}/{YYYY}.{DDD}.{HHmm}.{ss}.{camera_id}.jpgKeys that fail parsing are copied but not annotated.