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






      Map a flat map onto a sphere.


Calling Sequence

      flat2sph, flat, lng1, lng2, lat1, lat2, $


      flat = array containing flat map. in
        Longitude in X, Latitude in Y.
      lng1, lng2 = start and end longitude in flat (deg). in
      lat1, lat2 = start and end latitude in flat (deg). in
      lng0, lat0 = Long. and Lat. of sphere center (deg). in
      r = radius of sphere in pixels. in
          r may also be an array: [r,pa,ncx,ncy] where
          r = radius in pixels,
          pa = axis position angle in degrees,
          ncx, ncy = center in normalized coordinates.
      nx, ny = size of sphere image in pixels. in

Keyword Parameters


      sphere = output image of sphere. out

Common Blocks


      Note: flat may contain only a partial map.

Modification History

      R. Sterner, 6 Nov, 1989.
      R. Sterner, 26 Feb, 1991 --- Renamed from flat2sphere.pro
      R. Sterner, 27 Jan, 1993 --- dropped reference to array.
  Copyright (C) 1989, 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.

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