2.5.1.6. cpforager.GPS_Collection.to_SeabirdTracking
- GPS_Collection.to_SeabirdTracking(metadata)
Produce the dataframe formatted for Seabird Tracking Database from GPS_collection.
- Parameters:
self (cpforager.GPS_Collection) – a GPS_Collection object
metadata (pandas.DataFrame.) – the dataframe with the metadata needed for Seabird Tracking Database.
- Returns:
the dataframe at the Seabird Tracking Database format.
- Return type:
pandas.DataFrame
The resulting dataframe contains all the position recordings found in the GPS_Collection and its associated metadata (thus duplicated). The correspondance between data and metadata is done using the
bird_idcolumn of the metadata and theidfield of each GPS in the GPS_Collection. Sinceequinoxandargos_qualityare not relevant for GPS but are for Seabird Tracking, they are set to “NA”. See STDB for more details about the format.Note
The required fields in the metadata dataframe are
bird_id,``sex``,``age``,``breed_stage``,equinoxandargos_quality. Possible values for these fields are constrained by Seabird Tracking Database.