comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How to de-swivel a satellite projection?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
How to de-swivel a satellite projection? [message #6042] Fri, 05 April 1996 00:00
newman is currently offline  newman
Messages: 4
Registered: December 1995
Junior Member
What is the proper way (i.e., one that works) to de-rotate
a satellite projection? When using MAP_SET, I supply the
tilt and swivel values in the SAT_P variable, and this leads
to an "up is up" projection. I would like to generate a
"North is up" projection by de-rotating by the swivel value.
I have tried supplying this value as the Rot variable, but then
CONVERT_COORD returns values out of range ( 1e12 ).

Here are two examples:

PRO NO_BOMB
; Look at Boston from high above Los Angeles.
; Tilt and swivel create "up is up" projection.

WINDOW, XSIZE=512, YSIZE=512

MAP_SET, 33, -118, 0, sat_p=[2, 27.1144, 18.715], $
/grid, /continents, /satellite, /isotropic, $
/latdel, /londel, /label, $
limit=[42, -78, 45, -72, 42, -56, 40, -74]

p = CONVERT_COORD(256, 256, /device, /to_data)

PRINT, p

END

PRO YES_BOMB
; Look at Boston from high above Los Angeles.
; Derotate to create "North is up" projection.

WINDOW, XSIZE=512, YSIZE=512

; derotate by swivel value = 18.715
MAP_SET, 33, -118, -18.715, sat_p=[2, 27.1144, 18.715], $
/grid, /continents, /satellite, /isotropic, $
/latdel, /londel, /label, $
limit=[42, -78, 45, -72, 42, -56, 40, -74]

p = CONVERT_COORD(256, 256, /device, /to_data)

PRINT, p

END


*Any help much appreciated*

--
===============================================
Art Newman -
[not a spokesman for] Hughes Aircraft Company

take your pick: newman@dune.es.hac.com
amnewman@ccgate.hac.com
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: BUG in IDL 4.0a PowerMac
Next Topic: Re: REAL menues or just "button menues"

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:41:41 PDT 2025

Total time taken to generate the page: 0.00682 seconds