>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  DAYGLOBE

DAYGLOBE

DAYGLOBE

Name


      DAYGLOBE

Purpose


      Show the area of daylight/night on a globe.

Category


Calling Sequence


      dayglobe, lat0, lng0, ang0

Inputs


      lat0 = Latitude at center of globe. in
      lng0 = Longitude at center of globe. in
      ang0 = Rotation angle of image (deg CCW). in

Keyword Parameters


Keywords


        TIME=time Time string (def=current).
          May give as a date/time string or as Julian Seconds.
        ZONE=hrs Hours ahead of GMT (def=0). Ex: zone=-4 for EDT.
        /DEEPER means use deeper colors.
        /QUANTIZED means 10 degree banded day colors.
        /FINE means use higher resolution for colors (slower).
        /BLACK means use black background (else white).
        /COUNTRIES means plot countries.
        POINT='lng lat' Point to mark.
        COLOR=clr Color of point as R G B like '0 255 0').
        /GRID display a grid.
        CGRID=gclr Color for Grid as R G B like '0 255 0').
        CHARSIZE=csz Relative character size (def=1).
          Use 0 for no label.
        OUTCHARSIZE=outcsz Returned internal character size factor.
            Use outcsz*charsize to get same size outside routine.
        /STEREO means use Stereographic projection instead of
            Orthographic.
        SAT_RAD=satrad. If given must be satellite dist from center
          of earth in earth radii (>1.01). Gives satellite view.
        POSITION=pos Position array like for map_set. Overrides
            default position. Use a portrait shaped window to show
            normal text. Use charsize=-1 for no text.

Outputs


Common Blocks


Notes


Modification History


      R. Sterner, 1999 Oct 14
      R. Sterner, 2000 Sep 19 --- Added quantized day colors.
      R. Sterner, 2003 Oct 29 --- Fixed to work for 24-bit color display.
      R. Sterner, 2003 Nov 04 --- Fixed to work for PS too.
      R. Sterner, 2004 Mar 18 --- Added Satellite view.
      R. Sterner, 2010 May 04 --- Converted arrays from () to [].
  Copyright (C) 1999, 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.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us