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

WORLD_SUNZD

WORLD_SUNZD

Name


      WORLD_SUNZD

Purpose


      Compute Sun zenith distance for an array of world points.

Category


Calling Sequence


      zd = world_sunzd(time, res)

Inputs


      time = time string (null string = current time). in
        May also give time in Julian Seconds.
      res = resolution in degrees for both lat and long. in

Keyword Parameters


Keywords


        ZONE=hrs Hours ahead of GMT (def=0). Ex: zone=-4 for EDT.
        SUNLNG=sunlng Returned subsolar longitude.
        SUNLAT=sunlat Returned subsolar latitude.

Outputs


      zd = Returned zenith distance array in degrees. out
        zd covers longitudes -180 to (+180-res) and
                  latitudes -90 to (+90-res).

Common Blocks


Notes


      Notes: To display result, do device,decomp=0 (if 24-bit),
        Use sun_colors to load sun color table, then display
        zd (tv, not tvscl). Can remap using map_image.

Modification History


      R. Sterner, 1999 Oct 14
      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.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us