clouddrift.adapters.gdp.order_by_date#
- clouddrift.adapters.gdp.order_by_date(df: DataFrame, idx: list[int]) list[int] [source]#
From the previously sorted DataFrame of directory files, return the unique set of drifter IDs sorted by their start date (the date of the first quality-controlled data point).
Parameters#
- idxlist
List of drifters to include in the ragged array
Returns#
- idxlist
Unique set of drifter IDs sorted by their start date.