**To**:**oar.pmel.ferret_users@xxxxxxxx****Subject**:**calculate grid area a function of latitude and longitude on earth'ssurface****From**:**Steve Knox <stevek@xxxxxxxxxxxxxxxxxx>**- Date: Tue, 13 Jan 2004 09:45:56 -0700
- Organization: NREL
- Sender: owner-ferret_users@xxxxxxxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920Netscape/7.0

I think I found what I needed from the Dr. Math Archives. For anyone who is interested here it is:

We started with the formula for the area of the earth between a line of latitude and the north pole (the area of a spherical cap, listed in the Dr. Math FAQ on Geometric Formulas).

A = 2*pi*R*h

where R is the radius of the earth and h is the perpendicular distance from the plane containing the line of latitude to the pole. We can calculate h using trigonometry as

h = R*(1-sin(lat))

Thus the area north of a line of latitude is

A = 2*pi*R^2(1-sin(lat))

The area between two lines of latitude is the difference between the area north of one latitude and the area north of the other latitude:

A = |2*pi*R^2(1-sin(lat2)) - 2*pi*R^2(1-sin(lat1))|

= 2*pi*R^2 |sin(lat1) - sin(lat2)|

The area of a lat-long rectangle is proportional to the difference in the longitudes. The area I just calculated is the area between longitude lines differing by 360 degrees. Therefore the area we seek is

A = 2*pi*R^2 |sin(lat1)-sin(lat2)| |lon1-lon2|/360

= (pi/180)R^2 |sin(lat1)-sin(lat2)| |lon1-lon2|

- Doctor Rick, The Math Forum

http://mathforum.org/dr.math/

--

_________________________

Steve Knox

NREL

Colorado State University

(970)491-1972

- Previous by thread:
**Re: calculate grid area a function of latitude and longitude onearth's surface** - Next by thread:
**memory size question**

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement