Skip to content

About

Free, open-source fishing forecast for Long Island shore anglers. Combines live NOAA tides, currents, buoys, weather and bathymetry to show where and when to fish for striped bass, bluefish, fluke, blackfish and porgy, with the reasons and the right tackle.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

10 Commits

Folders and files

Repository files navigation

🎣 StrikeCast

Free, open-data fishing intelligence for Long Island shore anglers. StrikeCast pulls live NOAA tides, currents, buoys, weather, alerts and high-resolution bathymetry, then tells you where and when to fish for striped bass, bluefish, fluke, blackfish (tautog) and porgy (scup) β€” and why.

No API keys. No subscriptions. Every data source is free and public.

Today view


What it does

🎯 Best bet right now Scans every spot and species for the next 24 h and explains the top pick in plain English, with a lure/bait suggestion.
β˜… Your spots, always on screen Jones Beach Field 10 Β· Sunken Meadow Field 3 Β· Point Lookout / Long Beach jetties Β· Jones Beach West End 2 Β· Robert Moses – Democrat Point (plus 12 more LI spots). Add or remove spots from the sidebar (β˜… Manage my spots).
πŸ—ΊοΈ Map with legend Spots colored by Bite Index. Satellite, NOAA nautical chart, OpenSeaMap and ocean-depth layers. Zoom into a spot to see drop-offs, troughs, channels, bars and numbered cast targets computed from NOAA's ~3 m bathymetry.
πŸ“ˆ 7-day hourly forecast Bite Index per species, tide curve + official current predictions, wind with direction arrows, surf and water temperature, night shading and highlighted best windows.
πŸ”Ž Explain any hour Factor-by-factor breakdown (current, tide stage, light, wind, surf, pressure trend, bait, season, water temp…).
🌊 Conditions & provenance Every number labeled measured / predicted / model / interpolated / heuristic, with station, distance and data age. Missing data is shown, never invented.
πŸ” Compare two dates e.g. Oct 10 vs Oct 22, 2026 at Democrat Point β€” side-by-side charts, a metric table, and a summary of what was different.
πŸ““ Fishing log + learning Log trips (including skunks). Each log entry saves a snapshot of the conditions at that time. After ~20 trips, StrikeCast trains a personal model with a chronological train/test split. CSV import/export.
⚠️ NWS alerts Small Craft Advisories, Gale Warnings, Coastal Flood statements for your spots.
πŸ“˜ Species & regs Season open/closed today, size and bag (NY, verify with DEC), best water temps, tactics, seasonal migration curves.
πŸ”Œ REST API FastAPI service for a future mobile/React frontend, with an hourly background refresh of your favorites.


Quick start

Requirements: Python 3.12+ and internet access. Packages install into a local .venv folder inside the project (nothing is installed system-wide).

Windows (double-click)

  1. Download or clone the repo.
  2. Double-click install.bat: it creates a local .venv and installs every package (listed in the file).
  3. Double-click start.bat: the dashboard opens in your browser. Close the window to stop it.

start.bat runs the installer automatically if it hasn't been run yet. PowerShell users can also use .\run.ps1 (.\run.ps1 api for the REST API, .\run.ps1 test for tests).

macOS / Linux

git clone https://github.com/<you>/strikecast.git
cd strikecast
chmod +x run.sh && ./run.sh

Then open http://localhost:8501. The first load pulls ~70 datasets (a progress bar shows each one) and takes 10–30 s; after that, responses are cached locally according to how often each provider updates.

Manual setup

python -m venv .venv
.venv/Scripts/activate            # Windows   (macOS/Linux: source .venv/bin/activate)
pip install -r requirements.txt
streamlit run dashboard/streamlit_app.py      # dashboard
uvicorn app.main:app --port 8000              # REST API  -> http://127.0.0.1:8000/docs
pytest -q                                     # tests

Configuration

Copy .env.example to .env (optional). Please set STRIKECAST_CONTACT to your GitHub URL or email: NOAA/NWS and OpenStreetMap ask API users to identify themselves.


Free data sources

Data Provider Type Notes
Tide highs/lows NOAA CO-OPS predicted Station chosen per spot (e.g. Democrat Point 8515228)
Tidal currents (max flood/ebb, slack) NOAA CO-OPS current predictions predicted Fire Island Inlet, Jones Inlet, Crane Neck, Shinnecock…
Water temperature, water level NOAA CO-OPS gauges, NOAA NDBC buoys 44025 / 44065 / 44069 measured Freshest suitable station is used; any substitution is shown
Offshore waves, swell / wind-wave split NOAA NDBC 44065 / 44025 (stdmet + spectral summary) measured Corrects the wave model near the present; never shown as surf
Hourly forecast, alerts NOAA / National Weather Service API predicted Official wind; Small Craft / Gale / Coastal Flood alerts
Weather (pressure, gusts, clouds, rain) Open-Meteo (CC BY 4.0) model Also historical archive for date comparisons
Waves, swell, SST Open-Meteo Marine model Primary + secondary swell and wind sea ~12 km off each ocean spot
Marine zone forecasts, surf zone forecasts NWS Coastal Waters Forecast / Surf Zone Forecast (api.weather.gov, tgftp fallback) predicted Wave fallback, cross-check, advisories
Archived NWS products & advisories Iowa Environmental Mesonet AFOS / VTEC archive archived Date comparison and validation only
Bathymetry (~3 m) NOAA NCEI CUDEM via DEM ImageServer measured (survey) Drop-offs, troughs, channels, cast targets
Nautical chart NOAA Office of Coast Survey ENC (WMS) β€” Map overlay
Imagery / basemaps USGS National Map (public domain), Esri, OpenStreetMap, CARTO, OpenSeaMap β€” Map layers
Geocoding Zippopotam.us (ZIP), OSM Nominatim (places) β€”
Sun & moon PyEphem (computed locally) computed Sunrise/set, twilight, moonrise/set/transit, phase

How the scores work

StrikeCast follows a transparent, configurable, rule-based approach (see configs/species.yaml):

  1. Baitfish Habitat Suitability Index (0–100) β€” separate profiles for adult bunker, peanut bunker, sand eels, bay anchovies and silversides. Each responds differently to season, water temperature, habitat, onshore wind duration, tide direction and sea state.
  2. Species Habitat Index ("presence", 0–100) β€” season (a location-specific migration curve adjusted for latitude and water body) Γ— water temperature, then refined by shoreline structure (spot tags + bathymetry) and preferred bait.
  3. Feeding Activity Index (0–100, hourly) β€” tidal current strength vs the species' preference (from NOAA current predictions β€” max current is not assumed to be at mid-tide), tide stage, light (dawn/dusk/night/day + cloud), onshore/offshore wind relative to that beach's orientation, surf (weighted by how exposed the spot is), a water-clarity proxy, 3- and 24-hour pressure trend (the rise behind a cold front is penalized), bait and temperature trend. Wind, surf, pressure, clarity (and light for bass/blues) are also limiting factors: below a knee they pull the score down instead of being averaged away (feeding_limiting in configs/species.yaml). Storm/nor'easter phases (pre / during / post) apply configurable effects; storms are not assumed to always hurt fishing, but the pre-storm boost stops once the blow has started.
  4. Fishability β€” practical shore-angler limits: wind, gusts, surf on jetties, inlet waves, lightning, heavy rain, fog. (A separate surf safety label β€” OK / Caution / Dangerous β€” is shown on each card and is not part of the score.)
  5. Bite Index = presence^0.6 Γ— feeding^0.4 Γ— fishability (rescaled).
Bite Index Label
80+ πŸ”΄ Hot
65–79 🟠 Very good
50–64 🟑 Good
35–49 🟒 Fair
< 35 βšͺ Slow

These are environmental suitability scores, not calibrated catch probabilities. Actual catches also depend on lure choice, casting reach, skill and effort. Only models trained and calibrated on your own logged trips report probabilities.

πŸ”₯ Blitz alerts

A blitz β€” bass or blues driving bait to the surface within casting range, usually under diving birds β€” needs everything at once, so StrikeCast scores it separately from the Bite Index and deliberately strictly (weighted geometric mean: one weak factor pulls it down):

Factor Importance From
Bait near shore very high fall exodus of juvenile bunker / spearing / anchovies from the bays, measured as the Great South Bay buoy cooling below the ocean buoys, plus bait calendar and spot type
Migrating fish very high migration calendar for the spot, nudged up while the water cools
Water temperature high fall bass ~50–60 Β°F, blues ~60–72 Β°F (measured)
Wind & surf high light-moderate wind and gusts, no strong offshore wind, surf under ~3–4 ft, no storm
Moving water high current strength; the ebb at inlets, jetties and river mouths
Light moderate first light β†’ ~1.5 h after sunrise, last ~1.5 h of daylight
Barometer moderate steady or slowly falling; not post-front, not a deepening storm

πŸ”₯ Blitz alert = score β‰₯ 90, every factor above its floor, measured inputs and ≀ 3 days lead. πŸ‘€ Blitz watch = close, one factor marginal or unverified. Alerts show on the spot cards, as a banner on the Today tab, as red/amber bands with stars on the 7-Day Forecast chart, as a row in the species Γ— hour heatmap and as a band on the Best 90 min chart. A Birds diving / Surface blitz entry in the Fishing Log confirms it for 36 h. Replayed over Oct 20 – Nov 22, 2026, alerts fired on 7–8 of 34 days at the inlet spots, all in weeks whose fishing reports described blitzes, and none on storm or post-front days β€” details, limits and how to re-run the check in docs/BLITZ_MODEL.md.

Best 90-minute window

The ⏱️ Best 90 min tab answers when exactly to go for one species, spot and date:

  • Every 90-minute window starting on that date is scored in 5-minute steps, averaging suitability over the whole interval (not just its midpoint). Windows may cross midnight; for today only windows that haven't started are used.
  • Components, each with its own per-species weight (window: block in configs/species.yaml): light from the continuous solar elevation (so seasons are handled automatically β€” no fixed clock times), tidal current, tide phase & direction, habitat/structure, season, water temperature and the hourly wind / surf / pressure / clarity / bait forecast, times shore fishability. Season and water temperature also act as a ceiling (Γ— √(season Γ— temperature)), so a species that has left for the year cannot score "Hot". Species are tagged diurnal, nocturnal, crepuscular and/or flexible β€” striped bass hunt low light and darkness, tautog are daylight bottom feeders that need manageable current.
  • Tide height and current are separate variables. Current speed, direction and slack times come only from NOAA current-station predictions. Without a station, a clearly labeled tidal-phase flow index (no knots) is used and forecast confidence drops.
  • Synchronized solar and tide charts share one time axis; a translucent box spanning both marks the recommended window with its start/end times, score and a plain-English reason. A draggable comparison window and a second-best window can be inspected without moving the recommendation.
  • Up to two windows a day, hours apart (cyan = best, violet = second best). Low-light feeders (crepuscular / nocturnal, e.g. striped bass, bluefish) always get a second session at least 4 h from the best, so you can plan around the rest of your day. Daylight-only feeders get a second one only if it is at least 3 h away and within 10 points of the best (e.g. two daylight slack tides for tautog). Set second_window: {min_gap_h, max_drop} per species.
  • A separate forecast confidence (0–100) reflects current-data availability, tide-station distance, overall data quality, location specificity, forecast lead time and how many of your logged sessions exist to judge the profile.

Log trips in πŸ““ Fishing Log (start/end time, bites, catches, lures, observed conditions): each one stores what the optimizer predicted, and the log tab compares predicted scores with your results. Skunks are kept as data, not treated as proof the forecast was wrong, and species weights are never changed automatically.

Data honesty rules

  • All times are UTC internally, shown in the spot's local timezone (DST-safe).
  • Measured, predicted, model, interpolated and heuristic values are labeled everywhere.
  • If a provider is down, the feature is marked missing, scores fall back to neutral values, and the data-quality grade drops. StrikeCast never substitutes an unrelated station without saying so.
  • Surf is physics, not a multiplier: offshore waves are shoaled, refracted, sheltered by real geography and broken (docs/SURF_MODEL.md). Bays and the Sound show wind chop, never ocean "surf". Every estimate has a range, a confidence label and its sources. With no usable data it says "Surf estimate unavailable". Validation against buoys and NWS forecasts: docs/VALIDATION.md.
  • Bathymetry structure is labeled "candidate": surveys are dated and sandbars move after storms.

Adding your own spots

Your spots is editable in the dashboard: open β˜… Manage my spots in the sidebar to add any listed spot, reorder them (↑ ↓ β€” the main page follows this order) or remove one (βœ•), or press βœ• Remove from my spots under a card. To save a place that isn't listed, find it with Coordinates or Search a place and press β˜† Save to my spots on its card. Your list is kept in data/my_spots.json (not committed); delete that file to go back to the defaults.

To add a spot permanently for everyone, add an entry to configs/spots.yaml (favorite: true puts it in the default list) and re-run scripts/compute_exposure.py. You can also use ZIP code, Coordinates or Search a place in the sidebar. For a custom point, StrikeCast automatically picks the nearest NOAA tide, current, water-temperature and buoy stations, and works out the shoreline orientation from bathymetry. That means it can be used on any US coast, but the species seasons are tuned for Long Island / the NY Bight.

REST API

Endpoint Description
GET /spots Configured spots
GET /forecast/{spot_id}?days=7 Hourly features, indices, windows, sources, bathymetry
GET /rank?species=striped_bass&favorites_only=true Spots ranked by today's best Bite Index
GET /compare?spot_id=…&date_a=2026-10-10&date_b=2026-10-22 Two-date comparison
GET /window/{spot_id}?species=blackfish&day=2026-11-05&compare_start=… Best & second-best 90-min windows, factors, confidence
GET /blitz?favorites_only=true&days=3 Blitz alerts / watches, strongest first, with reasons
GET/POST /observations Fishing log
GET /sessions/evaluation?species=… Logged sessions vs predicted window scores
GET /geocode?q=11702 ZIP / place lookup

Project structure

app/
  core/        settings, structured logging, async HTTP client (retry, backoff, SQLite cache, stale-if-error)
  providers/   weather (Open-Meteo, NWS) Β· marine (NDBC, Open-Meteo Marine, QC) Β· nws_marine (CWF / SRF / advisories)
               Β· tides (CO-OPS) Β· lunar Β· geography (bathymetry, exposure rays) Β· geocode
  features/    tide/current interpolation, pressure tendency, onshore wind, clarity proxy, surf physics, seasonal curves
  models/      baitfish Β· presence Β· feeding Β· storms Β· bite (fishability, explanations, windows) Β· striped_bass
  services/    forecast orchestration, surf pipeline (boundary waves β†’ surf), date comparison, station discovery, fishing log
  ml/          personal model training (chronological split, ROC-AUC / PR-AUC / Brier, calibration)
  database/    SQLAlchemy models (SQLite by default, PostgreSQL-ready)
  main.py      FastAPI app + hourly scheduler
dashboard/     Streamlit app + map/chart/UI components
configs/       spots, stations, species & bait profiles, regulations, exposure.yaml (generated wave geometry)
scripts/       compute_exposure.py (ray-cast geometry) Β· validate_surf.py (model vs buoys / NWS)
docs/          SURF_MODEL.md Β· VALIDATION.md
tests/         pytest suite (tides, timezones/DST, parsing, scoring, surf physics & pipeline, marine data QC,
               missing data / outages, cache, API, log)

Roadmap

  • Wider spot library (NJ, CT, RI, Cape Cod) and per-region species calibration
  • Satellite SST fronts and chlorophyll (NOAA CoastWatch ERDDAP)
  • Push/email alerts when a favorite spot hits "Hot"
  • Spatiotemporal models once enough community observations exist
  • Boat mode

Contributing

Pull requests are welcome, especially local knowledge: better spot coordinates, structure tags and species timing. Run pytest -q before submitting.

Disclaimer & license

StrikeCast is a planning aid, not a safety tool. Jetties and inlets can be dangerous: always check the official NWS forecast and use judgment. Regulations shown are a convenience summary. Confirm current rules with NYSDEC and register (free) with the NY Recreational Marine Fishing Registry.

Code: MIT License. Data remain subject to their providers' terms (NOAA/USGS public domain; Open-Meteo CC BY 4.0; OpenStreetMap ODbL; OpenSeaMap CC BY-SA; Esri basemaps per Esri terms).

About

Free, open-source fishing forecast for Long Island shore anglers. Combines live NOAA tides, currents, buoys, weather and bathymetry to show where and when to fish for striped bass, bluefish, fluke, blackfish and porgy, with the reasons and the right tackle.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages