WorldCereal / ewoc_rdm_api

Backend APIs for Reference Data Module, used by website and other modules
MIT License
0 stars 0 forks source link

RDM: properties for tracking sample stratification #3

Closed jdries closed 4 months ago

jdries commented 6 months ago

As elaborated here: https://worldcereal.github.io/worldcereal-documentation/design/reference_data_module.html#sample-stratification-in-the-rdm we would like to add properties that allow to mark a sample as being selected by a specific run of a stratification algorithm.

The two crucial properties for this are: stratification_flag: a string, allowing us to identify the stratification stratification_timestamp: timestamp indicating when the sample was selected for stratification

These properties should be exposed both via OGC Features API, and in Parquet files.