Combines catch event data with GPS tracking trips to create fisher performance metrics and exports them to MongoDB for analysis.
Value
None (invisible). Creates and uploads data to two MongoDB collections: - Fisher catch statistics (aggregated summaries) - Trip-level performance metrics
Details
This function integrates two data sources: 1. Downloads catch events from tracks-app MongoDB (fisher-reported landings) 2. Retrieves corresponding GPS tracking data from PDS API 3. Matches catch events to tracking trips by date and device ID 4. Calculates fishing efficiency metrics (CPUE, fuel efficiency, search patterns) 5. Exports fisher statistics and performance metrics to MongoDB collections
Performance metrics include: - CPUE (kg per hour, kg per km traveled) - Search efficiency (distance vs range ratios) - Fuel efficiency estimates - Trip categorization (nearshore/mid-range/offshore)
See also
export_geos for exporting geospatial data
mdb_collection_push for MongoDB upload functionality