Wednesday, October 31, 2012

The direction of sunrise and sunset—the old fashioned way


…or another value of a good compass to sailors, photographers, and lawyers.



Sailors care about accurate compass bearings for position fixes and for evaluating the risk of collision as required of all mariners in the Navigation Rules:

Rule 7, Risk of Collision

(d) In determining if risk of collision exists the following considerations shall be among those taken into account:

(i) such risk shall be deemed to exist if the compass bearing of an approaching vessel does not appreciably change;

Note the word “shall.” This is not optional. The only way to measure such bearing changes in the allotted time is with a high quality compass.

Photographers sometimes need to know the precise direction of sunset so they can frame a picture precisely as they want it. A cheap compass will not do this as they cannot take bearings accurately enough to pin point a spot on the horizon. A good candidate for this task is the famous French model, known for some thirty years or more as the “hockey puck compass,” though no importer uses that name directly.  It sells for about $120. It can read a bearing to within ±1° or so, but we cannot count on that being the exactly correct bearing because local disturbances can throw this off somewhat, no matter how remote.  Leaning on a car would make much bigger errors than that. Your eyeglass frames could also, as well as your watch when holding this hand held instrument up to your eye.

So standard compass precautions must be taken, but that done, this compass will do the job nicely. It is is also small and rugged, which are bonuses in the field.  We would like to think that the compass in our iPhone might do the job, but they are not dependable for this precision. All electronic compasses are very sensitive to tilt angle.

But having the right compass is just step one. We then need to know what the direction of the sun is when we want to photograph it. If we are sticking with sunrise and sunset, we do not have to worry about time keeping. It happens when it happens.  Lawyers, on the other hand, might want to prove the sun was shining in their client’s eyes at any random time of day, so they do have to worry about time keeping.  We will come back to that.

I do not know of any one magic table that tells us exactly what we want, namely the magnetic bearing of the sun on the horizon for any latitude and longitude on any date. So we have to do a couple simple computations, after which we could create special tables for special locations.

First, the direction of the sun is an astronomical properly, totally independent of the magnetic field of the earth. Thus we must start with true directions. From the Nautical Almanac we can compute the direction of the sun at any time from any place, but this will be true directions (labeled T). That is, north is 000 T, east is 090 T, south is 180 T, and west is 270 T. Southwest would be 225 T. Or we can be more specific, as we will soon want to be, and the direction that is 20° south of west would be 250 T.

Now that the math is done, what do we need to know besides the date?  We need to know our latitude and we need to know the local magnetic variation. You can get your latitude from Google Earth. Just find the location you care about and look to the bottom of the screen. Magnetic variation (often called declination on land) is the difference between True North and Magnetic North. You can get it from the National Geophysical Data Center (www.ngdc.noaa.gov). The variation will have a label, E or W. It is defined in such a way that true bearings = magnetic bearings + Var E (or – Var W).  For our application, we will be going backwards, so:

Magnetic bearing = True bearing + Var W
or
Magnetic bearing = True bearing – Var E.


Now we are left to finding the true bearing of the sun at sunrise and sunset. A celestial navigator can compute this readily from the Nautical Almanac, but this takes tools we do not need.  There is no one table that does this job specifically, but there is one we can use. It is called Table 22. Amplitudes ofthe Sun. It is from Bowditch’s American Practical Navigator (1977 or earlier). 

In Table 22, the word amplitude means the angular difference between the direction of sunrise and due east or the direction of sunset and due west. The motion of the sun is symmetric across the horizon, so these values are the same on a given day. If the sun rises 20° south of east, it will set 20° south of west. In this case the amplitude would be S 20°.

We do have to keep the mind engaged, however, because the arithmetic switches. This is apparent if you look at a compass rose—always a good idea at this stage. That is, 20° south of east means 090T + 20 = 110T, whereas 20° S of west means 270T – 20 = 250T.

And we are now almost done. We are asking for a rather sophisticated result, so it should not be a surprise that we have a couple steps to take. Bear in mind as well that we are doing this with paper tables. In the end, we have apps for this and you can punch a button and get it from your cell phone!

To simplify its presentation, Table 22 does not use date, but rather uses the astronomically more significant parameter called the sun’s declination. This is the same word as used on land for variation, but it is a totally different concept; it is the latitude directly below the sun at this day of the year. (You see now why mariners like to use magnetic variation rather than magnetic declination.)  We are using sun’s declination just as an index to access the tables. Table of the sun's declination.

Suppose we are at latitude 38N, on May 13, and the local magnetic variation is 10° W. What is the compass bearing of sunrise and sunset?

Refer to Declination Table to learn that on May 13 the sun’s declination is N 18° 14’ (18.23°).

Then turn to Table 22 for latitude 38 and see that the amplitude is about 23.5° (ie about half way between 23.1 and 23.7 — fractions of a degree do not matter here at all. You can round up or round down.)

Then apply the label N or S to the amplitude that is the same as that of the declination. North in this case, so amplitude is N 23.5°.

Then the true sunset direction would be located at 270 + 23.5 = 293.5T

And the magnetic (compass) direction would since we have west variation:

Compass of sunset = 293.5 + 10 = 203.5 M.

This method works with these tables included here alone and nothing more.  If you have a computer you can in principle get this data from various sources, but it is not quite as simple as one might guess. The main problem if you want accurate data (ie ±2°) is you have to get involved in time keeping, because on that approach you need to know the time of sunrise or sunset and the values you find in the newspapers will not be accurate and the accurate ones will require you to adjust the times for your longitude… something we have not even mentioned here, etc.

If you care to pursue this, the place to start is www.starpath.com/usno find the time of sunset for your location then come back to that page to get the precise true direction. You still have to apply the magnetic variation on your own... or post questions here and we will try to help.




Sunday, October 21, 2012

Gill Pressure Ports

A barometer reading is sensitive to the wind. A sensor input directly exposed to the wind can lead to variations of 2 or 3 mb with strong wind gusts [1], and the effect depends on wind angle as well as wind speed. Even with a sensor indoors or below decks with a leaky seal to the outside, you will see variations of up to a mb with outdoor gusts [2].  Warships and first responder vessels all have to have pressurized pilothouses, so the barometer must be read from a lead to the outside, usually just a small Tygon tube.

Here is a version from RM Young [3]. This one sells for about $140.  Very simple; no moving parts; but the engineering that goes into them is not so simple and has evolved over the years, starting in the mid 70s. They are now often called a Gill Pressure Port, in honor of the inventor Gerald C. Gill who developed it for what is now called the National Data Buoy Center.

We have tracked down his original extensive technical report on the development of this device [4], which we will make into a pdf ebook that is inexpensive and easy to access. (For now it is too big, and takes some cleaning up.)

The history of this device is quite fascinating, and seems to be an example of some lack of communications between researchers–at least several of the key players do not reference each other during the days of its development.  See for example the early work of Miksad [5] and a related  patent app [6] filed in 1989, canceled in 1996... maybe there is a story there as well!

As should not be surprising, the best of the devices comes from Paroscientific, our neighbors just across the bridge in Redmond, WA. They are the world leader in all matters relating to high accuracy barometric pressure measurement. [7]  Paroscientific has somewhere online at their website a report of the testing of this device, but we have not found this yet.

And we should of course mention Vaisala, the world leader in production of the full range of weather instrumentation, which has a top of the line model as well [8]. These devices are often refereed to as static pressure ports, without reference to Gill, but it seems he was a pioneer in the development of the engineering.

For completeness,  note that the pressure port requirement has applications in other areas, such as pressure drop measurements in air conditioning conduits where there is a varying wind flow through the system [9].


THIS ARTICLE IS A WORK IN PROGRESS. IF YOU HAVE AN IMMEDIATE NEED FOR MORE DETAIL, LET US KNOW AND WE WILL PUSH IT UP THE LIST. FOR NOW I JUST WANTED TO COMPILE THE PIECES WE HAVE SO WE HAVE A REMINDER TO MAKE THE GILL EBOOK... which is in keeping with one of our ebook goals, to preserve obscure but important texts that somehow Google did not do for us. Ed. note: we published this one in 2019. see below.


References:

[1] Guide to Meteorological Instruments and Observing Practices, WMO-8 (related section cited in [7], below. Many copies of the full document online.)

[2] The Barometer Handbook
 
[3] RM Young model 61002

[4] Development and Testing of a No-moving-parts Static Pressure Inlet for Use on Ocean Buoys, Gerald C. Gill 1975-76. 120 pages.  Now available as a Kindle ebook.

[5] An Omini Directional Static Pressure Port, Richard Miksad, 1975-76

[6] Pressure Port Patent app (I do not know where we found this. It was part of the research for the Barometer Handbook. It at least shows the insides of one design, as does the Gill original article. We will, of course, never see the insides of the RM Young or Paroscientifc models online, unless we buy one and take it apart.)

[7] Paroscientific precision pressure port model 8007 (manual)

[8] Vaisala Static Pressure Head SPH10 / SPH20

[9] An Inexpensive Method for Measurements of Static Pressure Fluctuations, Liberzon and Shemer, 2009