# Gupe Polars — Sailing Race Performance Analysis

> Gupe Polars is a free web app for analyzing sailboat race performance. Upload a GPS track (GPX), boat instrument data (CSV), and the boat's ORC polar table, and it produces a color-coded nautical chart of polar percentage along the course, detects starts, finishes, tacks, gybes, mark roundings, and wind shifts, and breaks down where time was lost.

Built by the crew of Gup E, a J/99 racing out of Raritan Yacht Club, NJ (https://www.thegupster.com). Analysis works without an account; signing in lets you save races, track a season, and use the AI features.

## What you upload

1. **GPS track** — one or more GPX files (multi-day races are stitched together by timestamp). Works with chartplotter and app exports, including Triton Edge.
2. **Instrument data** — CSV with true wind speed (TWS), true wind angle (TWA), and boat speed (STW). Units in knots or m/s, European or ISO timestamps.
3. **ORC polar** — the boat's target speeds by TWS/TWA, as CSV (flat or ORC matrix format). Signed-in users can also extract a polar from an ORC certificate PDF or image with AI.

Example files: https://performanceanalysis.vercel.app/examples/sample-track.gpx, https://performanceanalysis.vercel.app/examples/sample-instruments.csv, https://performanceanalysis.vercel.app/examples/sample-polar.csv

## What you get

- **Polar % track map** — every segment colored by speed vs. polar target (≥95% green down to <70% red) on an OpenSeaMap nautical chart
- **Start and finish detection** — candidate start/finish times found automatically from course-over-ground behavior, adjustable by hand
- **Maneuver analysis** — tacks, gybes, and mark roundings with recovery time (seconds to regain 90% of entry speed) and distance lost; thresholds tuned for windward/leeward, coastal, or offshore races
- **Wind shift detection** — lifts and headers from estimated true wind direction; on windward/leeward courses, whether each shift was picked up
- **Loss ledger** — time lost to boat speed, maneuvers, mark roundings, and tactical/layline sailing
- **Wind band and point-of-sail breakdowns** — performance by wind strength and upwind/reaching/downwind
- **Helm and heel analysis** — when heel data is available
- **Drill plan** — practice priorities generated from the biggest losses

## With an account

- Save races to a campaign with crew and notes
- Compare races and see season trends
- **Achieved polar** — the boat's real speeds by wind band across all saved races, plotted against the target polar
- Share races read-only with crew
- **AI race debrief** and **AI season summary** written from the analysis data

## FAQ

**What is a polar percentage?** Boat speed divided by the polar target speed for the current true wind speed and angle. 100% means the boat is sailing at its rated potential.

**Do I need instruments?** Yes — wind speed, wind angle, and boat speed are required to compare against the polar.

**Does it cost anything?** No. The analyzer is free to use.
