SUNCLOCK Name
SUNCLOCK Purpose
Show world map with day, twilight, and night.
Category
Calling Sequence
sunclock, plat, plong Inputs
Keyword Parameters
Keywords: map_set keywords may be given to control the map
display.
TIME=dt_tm Specify a date and time.
Format is flexible but requires month name (3 char min).
Default is current system time. Ex: "1994 jun 22 13:45"
ZONE=n Specify a time zone as hours ahead of GMT.
Default is local time zone. Ex: zone=-4 for EDT.
Only needed if in another time zone.
/USA plots U.S. states.
LNG=tlng, LAT=tlat Lat and Long array to plot.
COLOR=clr Plot color [r,g,b].
/QUIET means suppress status messages.
/SAME_WINDOW means use last window instead of a new one.
Outputs
Common Blocks
sunclock_com Notes
Notes: The meaning of the colors is as follows:
Subsolar point: Red.
Daylight: Yellow-Orange.
Sun rise/set line: Red.
Twilights: Pink, Blue, and Darker Blue bands.
Civil: Sun is 0 to -6 degrees below horizon.
Nautical: Sun is -6 to -12 degrees below horizon.
Astronomical: Sun is -12 to -18 degrees below horizon.
Modification History
R. Sterner, 1994 Apr 5
R. Sterner, 2003 Oct 29 --- Fixed to work for 24-bit color display.
Copyright (C) 1994, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.