Calculate weights using NHGF STAC catalog

Generate grid-to-polygon intersection weights for a user supplied feature collection using NHGF STAC catalog metadata.

area-weighted intersections gdptools stac nhgf zarr

Inputs
Id Title Data Type Description
collection_id STAC Collection ID string The ID of a collection in the NHGF STAC catalog (e.g., 'conus404', 'terraclim').
variables Variable names string JSON array of variable names to extract from the STAC collection (e.g., '["PWAT", "T2"]').
shape_file Feature collection string GeoJSON FeatureCollection representing user polygons.
shape_crs Feature CRS string EPSG code or proj string describing the feature CRS.
shape_poly_idx Feature identifier field string Name of the attribute column that uniquely identifies geometries.
wght_gen_proj Weight-generation projection string EPSG code or proj string used for weight calculations (equal-area recommended).
start_date Start date string Beginning of the extraction period (YYYY-MM-DD).
end_date End date string End of the extraction period (YYYY-MM-DD).