Page 1 of 1

Calculating Locations

Posted: Fri Jul 24, 2020 7:34 pm
by Michael
Calculating Hourly Positions

In theory, the calculation of a ship's hourly position is easy. You take a starting point, the course steered and distance travelled for each hour, and you arrive at a new position. This process is repeated until, several hours later, the ship will arrive at its next logged position. This rarely happens for many reasons:
  • Transcriber error
  • Log keeper error
  • Drift off course due to wind and current
  • Magnetic declination of the compass
  • Format errors
  • Travelling less than estimated due to passing through ice, towing another vessel, or frequent tacking for various reasons
  • Holding a certain a position using the engine while waiting for daylight or weather, exercising at ship drills, swinging the ship to adjust the compass or waiting for a rendezvous.
Each of these situations needs to be accounted for, and often more than one occur at the same time. The first step is to calculate a chunk, which I define as travelling from one logged position to another. The logged positions might be given as latitude and longitudes at one of three times: 8 AM, Noon and 8 PM. These positions may have been calculated by Dead Reckoning (D.R.) or Observed. Positions may also be calculated by using bearings and distances from known points.

The chunk is calculated by calculating the hourly positions from the first logged position the next one. The north/south and east/west differences between the calculated final position and the observed position are determined. These differences are divided by the number of hours for the chunk. The chunk is then recalculated and the corrections are applied to each new calculated position. The process is repeated until the final calculated and logged positions are very close. I consider these corrections to be due partly to drift.

If the calculated errors are large, or if the plotted voyage looks unreasonable because the ship is shown as sailing over land, then each of the above reasons must be considered.

Transcriber errors

The actual log page is examined and any error noted is corrected. Transcriber errors occur very infrequently. They are easy to spot and correct and they may include:
  • entering an incorrect value, i.e a typo;
  • not marking AM or PM with a time so that a PM note shows up in the AM;
  • typos such as entering E/12S instead of E1/2S;
  • not carefully checking handwriting and so entering NxN instead of NxW;
  • neglecting to save a page or entering an incorrect date; or,
  • not logging sailing data such as Underway, Stopped or logging bearings to specific locations.
Log keeper errors

These occur more frequently than transcriber errors, and they are more of a problem. These may include:
  • entering an incorrect value for a position (infrequent);
  • neglecting to enter the data for a given watch (rare);
  • excessive use of VAR for courses;
  • not logging changes in course;
  • having poor estimates of actual distance travelled;
  • not indicating if bearings etc. are True or Magnetic; or,
  • giving very few or non-specific bearings to locations.
If the error isn't obvious, the offending position is removed and the chunk is re-calculated using the next logged position as the end of the chunk. The calculated position for the "bad" position is then compared to the logged position. Often this is sufficient to spot the error, but sometimes a longer chunk is required. In an extreme case it could be from one noon observed position to the next noon observed position. This is often the case with the older sailing vessels and their positions given by dead reckoning. I have seen, on occasion, errors of 60 miles between a noon position calculated by dead reckoning and one calculated by observation.
  • Magnetic declination
    • For ships using magnetic compasses, the magnetic declination for their logged position and date is calculated using the Geomagnetic Reference Field (IGRF) model for years after 1899 and the GUFM1 model for years before 1900. The declination is applied to the ship's course and to any bearings used to calculate a ship's position.
  • Differences between Noon positions that are Observed and calculated by Dead Reckoning
    • The differences between the OBS and DR Latitudes and Longitudes are noted. Corrections to the previous 8 AM and 8 PM latitudes and longitudes are calculated and applied. This averages the differences over 24 hours instead of just four.
  • Calculator errors
    • These may be due to typographical errors or hidden bugs in the calculating program. These calculators have been used and improved for several years now, and they seem very stable.
  • Map errors
    • Some of the old maps had coastlines and locations misplaced by several miles. This depends on the area and the time. These show up when a ship logs the Lat/Long of a position and notes that it is some distance from a known point. The difference between the logged and the actual position can be calculated.
  • Travelling less than logged
    • This is usually seen in ice conditions, when the ship is tacking or when the ship is towing another vessel. My calculators can accept a speed ratio, which is then applied to the logged hourly distances. The calculator still displays the North/South and East/West errors, and iterates as necessary. Each chunk is plotted until a reasonable looking path is achieved.
  • Holding position
    • The ship's distance is changed to zero or to "a". This occurs when a ship stops due to fog or ice or is waiting for a rendezvous. If a ship is drifting, I assign a zero to the speed. If it is anchored, I assign the letter "a" to the speed. My calculator applies drift corrections to distances of zero, but not to a distance of "a".
Many of these issues can be overcome in a couple of ways:
  • The main calculating program flags format errors in course bearings, e.g. NxN, and for any distances that are too large;
  • The main calculating program displays the corrections needed to get from one point to another. If these are "large" a warning is given and, if they are too large, an error is displayed and the program stops;
  • The voyages are displayed in the OW Voyage Tool and/or Google Earth so they can be inspected visually for errors, such as being on land. Often the shape of the courses will show which channel is likely to have been traversed when the ship is travelling in areas with many islands or channels;
  • The ships typically follow fairly set routes when traversing the Inland Passage or other bodies of water; and,
  • Magnetic bearings are converted to true bearings using the program GUFM1 or IGRF as appropriate.
The voyage is broken into "chunks" where each chunk has a start and end point. Chunks are then classified as ordinary, variable or mixed. Positions in each chunk are calculated as follows:
  • Ordinary. Each position is calculated using the course and distance for the hour. The calculated end point is compared to the actual end point. The difference between the two is broken into an hourly drift to the North and an hourly drift to the East. Each position is then re-calculated using the course, distance and hourly drifts for each hour. The calculated end point is again compared to the actual end point, and the process is repeated until the difference between the two is very small. When the ship is logged as not moving, it may be anchored or just drifting. In the first case the hourly drifts are not applied, but they are applied in the second case. When courses are known to be magnetic, the appropriate magnetic declination is calculated and applied. The calculation is done each time a logged position is given unless the end position is four hours or less from the previous position when a declination was calculated. If a calculated position is more 12 hours from the previous position when a declination was calculated, then a new calculation is made.
  • Variable. All the hours in the chunk have a course logged as VAR. The actual bearing and distance between the start and end points is calculated. The actual distance is compared to the total distance logged. The ratio between the two is applied to each of the logged hourly distances, and the actual bearing minus the declination is used for each hour. The hourly positions are then calculated with the ordinary process. The declination is added back in during the calculation of the ordinary process.
  • Mixed. The hours that do not have VAR for a course are processed from the start position to get a temporary position. The actual bearing and distance between this point and the end point is calculated. The hourly distances and courses required for the hours with VAR for a course are calculated as for variable chunks. The chunk is then processed as one that is ordinary.
Sometimes the vessel does not travel the distances as indicated by the hourly values. This often may occur when the vessel is travelling through icy waters, in high winds, towing another vessel or for other reasons. In cases such as these, a ratio can be applied to all the distances logged for a given chunk. An adjusted course will have smaller side-to-side variations than when calculated without the ratio being applied. This is quite noticeable when there are frequent course changes when the vessel is oscillating along an average course. This often happens when the vessel is frequently tacking, or taking sounding along a coast or in a channel.

Hours with multiple courses and/or distances are replaced by their vector sums before the voyage calculations are made. Hours with multiple values occur in several ways:
  • Pairs of course and distances are given. The vector sum calculation is straight forward;
  • Multiple courses but only one distance are given. If the Event log indicates the times of the course changes, then the vector sum is calculated using the minutes for each course travelled as the distance and the actual distance is adjusted by the ratio of the resultant divided by 60. If there are no times of course change given in the Event log, then the hour is divided by the number of course changes, and the minutes for each course are used as above; and,
  • Multiple distances but only one course are given. If there is nothing indicated in the Event log, then the distances are just added together.
Sometimes the end point for a chunk cannot be determined. This happens when a bearing and distance from a location are given but the position cannot be determined because of bad handwriting, poor spelling, an obvious error by the log keeper such as logging the wrong location or for other reasons. In this case there are two options:
  • Remove the position and calculate the chunk without it using the next logged position as the end point. When a position for the hour with the bad location is determined, as search for locations near that point can be made and perhaps the name of the location can be determined; or,
  • A chunk with either no start or no end position is calculated by moving forward from the start or backwards from the end. As above, locations in the vicinity of the calculated position are searched for a likely candidate.
In order to help find the latitude and longitude of locations mentioned in the log several sources are checked. The most commonly used sources for voyages in the North Pacific, Bering Sea and Arctic Ocean are:
  • Geonames. The data for the US and Russia were downloaded. In order to speed searches, the data for the states of California, Oregon, Washington and Alaska were extracted and saved in separate files. In the case of the first two states, data that were well east of the coast were excluded from the files;
  • The data for the province of British Columbia were downloaded from the Canadian Ministry of Natural Resources. Data that were well east of the coast were excluded;
  • The Dictionary of Alaska Place Names by Donald J. Orth; and
  • The Old Weather database of place names.
Scripts have been written that will display, on Google Earth, all the places within a given radius of a point. The plot of a part of a voyage can then be overlaid on these data. Another script will display a an eight point compass rose, true or magnetic, with arms of a specified length which can be used to plot out hourly position along a complicated route when no hourly positions have been logged. This happens on occasion when the ship is under the control of a pilot. In this case only the start and end positions and the duration of the voyage are known.

Each time a chunk has been calculated, the results are displayed on the Old Weather Voyage Calculator or on Google Earth. If any of the positions end up being over land, they are moved so as to be over water. This occurs most often when the ship is travelling along narrow channels or fjords, in an area with many small islands, or when there are frequent uses of VAR for courses.

Although it is difficult to state the average error in the positions calculated, I estimate that errors in the ships pre-1920 are in the order of 10 nautical miles, with smaller errors for ships post 1940.

Re: Calculating Locations

Posted: Tue Apr 05, 2022 7:50 pm
by Michael
Everyone has been very good about logging bearings. Here's a case of Yantic, 1875, travelling from Chefoo to Nagasaki. They give only noon locations, but on two separate days they reported bearings. The first day with a bearing showed that their noon position had to be out by a significant amount. The second day had two sightings of the Ass's Ears: one at 1345 and the second at 1600. Using these bearings also showed that the noon position was in error. This time, however, you could see how dramatically those bearings off the Ass's Ears make the voyage so much better.

Image

Image

Re: Calculating Locations

Posted: Tue Apr 05, 2022 8:06 pm
by Randi