Requesting a grib file:
Saildocs is an automated system and the format for a grib request must be followed exactly.
The format for a basic grib-file request is:
„lat0,lat1,lon0,lon1“ are the lat-lon limits (whole degrees followed by N/S or E/W)- this field is required, there is no default.
„dlat,dlon“ is the grid-spacing in degrees (e.g. „1,1“ for a 1-deg by 1-deg grid), if omitted the default is „2,2“. The minimum grid depends on the model, see „available models“ below. This parameter has a large effect on file-size, see below.
„VTs“ is a comma-separated list of valid-times (forecast-times, e.g. „24,48,72“), if omitted the default is „24,48,72“. Available valid-times depend on the model, see below. Note that forecasts beyond 4 or 5 days should be viewed with increasing skepticism.
„Params“ is a comma-separated list of parameters, default is pressure and wind if omitted.
The „|“ separator-character is the same vertical-bar character used with grib-requests, and is upper-case „\“ (above the „Enter“ key) on US-format keboards, or AltGr and „-“ on most international keyboards. Alternately the „/“ or „¦“ characters can be used.
If the entire request does not fit on a single line then insert a „=“ character and continue on the next line-see example below. Do not include any extra spaces before the „=“.
To request a grib file which covers 20N-60N and 120W to 160W, on a 2-degree grid for valid times of 24 to 72 hours, containing surface pressure and wind, send the following email:
Note that this is identical to:
IMPORTANT: Do not insert any extra spaces, Saildocs uses spaces to delimit parameters.
This example is around 2K bytes. The size is proportional to the number of data-points: i.e. the size and resolution of the grid, the number of valid times, and the number or parameters, figure 1.5 bytes per point. The biggest effect on file-size is the grid spacing, a 1,1-deg file is 4x larger than a 2,2-deg file.
These are uncompressed binary files which get compressed when sent via Sailmail or Winlink radio links, so there is no advantage to pre-compressed files.
The request must fit on a single line. However a long request-line can be broken with a „=“ character as follows:
A shortcut is also available for a long list of forecast-times, for example:
This means 6, 12 hours and then repeat the same 6-hour interval out to 96 hours.
To subscribe to this sample grib, use the same format and change the „send“ to „sub“ (or „subscribe“), for example:
This will enter a subscription which will be sent shortly after 06z (utc).
The default subscription is 14 days, to change this add a space and „days=30“ for a 30-day subscription, (or „days=0“ for an indefinite subscription). Other times can also be requested. For example:
sub gfs:20N,60N,160W,120W days=30 time=18:00
The primary source for grib files is NOAA/NCEP’s „GFS“ global model (request-code „gfs:“ or „grib:“). Available forecast-times are 0,3..180 hours on a 0.5-deg grid and 192,204..384 hours on a 2.5-deg grid. (Note that 0.5-deg data is not always available, in that case Saildocs will default to 1-deg). Available parameters are PRMSL for mean sea-level pressure, WIND for the gradient surface ((10-meter) wind, HGT for 500mb height, SEATMP for sea-surface temp, AIRTMP for air temperature (2M altitude), and WAVES for wave-height (from the WW3 model). The model data is updated shortly before 06:00z for the 00z model-run and every 6 hours.
Data from other NOAA and US Navy models is available, send a (blank) email to: firstname.lastname@example.org for details.
Canceling a subscription
To cancel a subscription, send the same message except change „sub“ to „cancel“. The grib-code must match exactly, even if it is incorrect. Cancelation instructions are also included with each subscription message.
Grib files generated by Saildocs are standard WMO-format grib file which can be viewed with Airmail’s Viewfax viewer or most charting programs including Coastal Explorer, Deckman for Windows, Expedition, Maxsea, Nobeltec, Raytech, or any other program that uses standard grib files.
Gribs are sent as Mime-coded file attachments and can be sent via radio email via Sailmail (www.sailmail.com) or the Winlink ham-radio system (www.winlink.org). When using any low-speed connection attention must be paid to the file-size. Sailmail will handle grib-files up to 30K (10K for Pactor-2) but that may be too large depending on distance, conditions and connection speed. Winklink allows attachments after the use has set an attachment limit, this is done by sending a Winlink-2000 Options message (Airmail’s Windows menu).
To get general info about Saildocs send a (blank) email to: email@example.com (auto-responder)
For problems/questions relating to Saildocs, send an email to firstname.lastname@example.org
For problems using any of the charting programs see the respective manufacturer website.
Saildocs was started in 1999 to provide internet weather data to Sailmail members. It was created and is supported by Jim Corenman, who co-founded Sailmail with Stan Honey and wrote the Airmail software. The grib project started in 2002 as a „science project“ and has recently moved to a new server with high-bandwidth connections to NOAA’s servers. Saildocs continues to be available without charge thanks to the support from Sailmail (www.sailmail.com).
Thanks for using Saildocs and Good Sailing!