easysnowdata.processing.contract.finalize_frame#

easysnowdata.processing.contract.finalize_frame(gdf: Any, product: Any, source: Any, **extra: Any) → Any[source]#

Bring a loaded GeoDataFrame onto the output contract (§2.5).

EPSG:4326 (set when missing, reprojected otherwise), 2-D geometries (some archives store a constant Z), and the provenance attrs in gdf.attrs; extra goes to provenance() (source_url= and any product keys).