Go to the USGS Home Page

USGS MIPS Sunpos Documentation






This program computes the suns' azimuth and elevation angles given the date, time, latitude and longitude and writes the information to the print file .

         

Parameters

DATE, STIME, ETIME and ITIME

These parameters are used to select date and time the user wants to know the suns's azimuth and elevation angles. Sunpos will perform its calculations at intervals between the starting and ending times on the date specified using the incremental time value (ITIME). The format for the date and times are YYYYMMDD and HHMMSS, respectively.

ZONE, LAT and LONG

These parameters are used to select the area of interest. Along with the latitude and longitude, the time zone (ZONE) in which the area is in must also be specified. Note that for the Pacific, Mountain, Central, Eastern and Atlantic zones the time zones are 8,7,6,5 and 4 respectively.

SAVE

This parameter is used to select whether or not SUNPOS should take the effect of daylight savings time into its calculations. By default, daylight savings time is not taken into consideration.

Examples

Below is a sample print file created by SUNPOS.

****************************** sunpos ******************************

Execution date:  Fri Dec 15 14:52:19 1995


Parameters selected : 

  DATE   = 1991215
  STIME  = 120000
  ETIME  = 160000
  ITIME  = 10000
  LAT    = 35.25
  LONG   = 111.5
  ZONE   = 7
  SAVE   = Yes

Time          : 12:00:00.000
Sun azimuth   :   20.4008
Sun elevation :   29.8400

Time          : 13:00:00.000
Sun azimuth   :    4.4096
Sun elevation :   32.4841

Time          : 14:00:00.000
Sun azimuth   :  -12.0073
Sun elevation :   31.6600

Time          : 15:00:00.000
Sun azimuth   :  -27.3041
Sun elevation :   27.5065

Time          : 16:00:00.000
Sun azimuth   :  -40.5768
Sun elevation :   20.6280

Connect     (00:07:47.00)
CPU         (00:00:00.09)
Direct I/O  (16)
Page faults (48)

See Also

Hazesun 
Tmhaze 
U.S. Department of the Interior | U.S. Geological Survey | Jobs
Home | Search | Disclaimers & Privacy Web Rings
Send comments to webman@TerraWeb.wr.usgs.gov
URL:
Last Modified: Thu Oct 31 15:08:24 MST 2002
FirstGov: Your First Click to the U.S. Gov ernment