FlowsBook a callSign inCreate free accountSign up
Workflows by industry

How marinas watch the wind and the boats coming and going

Marina weather and ship tracking in one routine: the wind forecast for the harbour each morning, and an hourly list of vessels that entered or left the zone.

Part of the guide Workflow automation

By the xMap team · · 5 min read

Marina weather and ship tracking answer two questions a dock office asks all day: what is the wind going to do, and who is arriving or leaving? The forecast for the harbour, hour by hour, tells staff when to warn berth holders and when to hold the fuel dock; the AIS signal that larger boats send tells them which vessels have just crossed the harbour mouth. An AI employee can send the first every morning and the second every hour, so the office stops refreshing two websites.

This is for marina managers, dock masters, yacht clubs and charter companies. It covers what each kind of data shows, where it falls short (AIS in particular), and how to build both routines in xMap Flows.

The wind, hour by hour

The Weather forecast block, pointed at the marina and set to hour by hour, lists each hour's weather in words, temperature, rain and its chance, and wind speed. Day by day it gives each day's strongest wind, up to 16 days ahead. For a marina the next two or three days carry the decisions: when to tell visitors to stay an extra night, when to double the lines on the outer pontoon, when the forecourt should close.

Sailors read wind in knots, and the forecast comes in km/h. One knot is 1.852 km/h, so a Calculated field line such as wind_kt = round({{wind_kmh}} / 1.852) gives every hour in knots. Keep the hours above your own threshold and you have the warning list.

Who is coming in, from AIS

AIS is the radio signal vessels send with their identity, position, speed and heading. The Ships (AIS) block listens to a live stream for 30, 60 or 90 seconds over the area you draw, and keeps the last position heard for each vessel, with its name, type, speed, status and stated destination. You can keep only some types, such as pleasure and sailing boats, passenger boats, and tug and service craft.

On its own that is a snapshot of who is around. Zone alert turns it into movements: it remembers where each vessel was at the last run and reports only those that entered, crossed, or left a zone you draw, such as the harbour entrance or the visitor pontoon. A boat that sailed straight past between two checks is still caught, because the block looks at the line from its last position to its new one.

Be honest about what AIS misses

AIS is not a full list of the boats in a marina, and a dock office should know why before it relies on it:

  • Many small leisure boats carry no AIS transmitter, or switch it off in harbour. Dinghies, small motorboats and older yachts often do not appear at all.
  • Coverage depends on receivers on the coast near you. Some stretches of coast are heard well, others thinly or not at all, and it varies by region. Run a test first: the step says when the stream sent nothing for the area.
  • A boat at a berth reports less often than one under way, so a short listen can miss it. The 90-second listen hears more of them.
  • Names and sizes arrive in separate messages, so a vessel heard for the first time may show only its number until its details come through.

Used with that in mind, AIS is excellent for the vessels that matter most to a dock office: visiting yachts large enough to carry it, charter fleets, ferries and work boats.

Two routines, one office

Most marinas run the two as separate flows on different clocks, because the weather changes slowly and the boats do not.

The morning wind note

  1. A Schedule starts the flow at 6:30 every day in season.
  2. Weather forecast fetches three days, hour by hour, at the marina's position, with wind and rain.
  3. A Calculated field converts the wind to knots; a Filter keeps the hours above your threshold.
  4. xMap LLM writes a short note: the windiest spells, which days to warn visitors about, and a reminder that skippers decide for themselves.
  5. An Email goes to the dock team and, if you like, a WhatsApp message to berth holders who asked for it.

The hourly movements list

  1. A Schedule starts the flow every hour, or every 15 or 30 minutes on busy summer weekends.
  2. An Area of interest covers the harbour and its approach, drawn on the map.
  3. Ships (AIS) listens for 60 seconds and keeps the types you care about.
  4. Zone alert reports only the vessels that entered or crossed the harbour entrance since the last run; a second copy with Left it lists departures.
  5. A Slack post to the dock channel names each vessel, its type, speed and destination, with a link to its public tracking page.

A made-up marina in Auckland might keep the morning note for the whole team and send the hourly list only to the person on the fuel dock; one in Palma might do the opposite in August, when visitors arrive every few minutes.

When the two meet

The useful moment is when a strong wind is due and boats are still out. A flow can do both in the same run: fetch the next six hours of wind, list the vessels moving inside the area, and if the wind passes your line, send the duty manager the names of boats that have not come back. It is still only the boats that transmit AIS, so it is a prompt to call, not a headcount.

As an AI employee

The template Pleasure boats in the marina area, every hour builds the movements list with Ships and Zone alert, ready to post to Slack. Storm coming: secure the boats is the wind side, written for harbours and fishing fleets, and Ferry weather notice for passengers shows how a passenger-facing note is worded. The ports and shipping page has more, and the guide to an AI employee for field operations covers daily alerts in general.

Questions

Will every boat in the marina show up?

No. Only vessels that transmit AIS appear, and many small leisure boats do not carry it. Treat the list as the larger and commercial boats, not a full count.

Does the forecast include wind direction or gusts?

No, it gives wind speed in km/h for each hour and the strongest wind of each day. Staff should check direction and gusts before telling skippers anything about going out.

How often can the boats be checked?

As often as every 5 minutes, though every hour or every 15 minutes is enough for most harbours. Each run listens for 30, 60 or 90 seconds.

Can it tell me when a boat leaves, not only when it arrives?

Yes. Set Zone alert to Left it in a second flow, or a second branch, to list vessels that were inside at the last run and are outside now.

Templates that do this

Read next

More on workflows by industry · Every article · Templates

Put it to work

An AI employee in xMap Flows does this on live data, on its own timetable. Start from a template or describe it in plain words.