Re: [wxp] Global satellite images

NOTE: The wxp mailing list is no longer active. The list archives are made available for historical reasons.

Dan and Jim,

Thanks for the solutions.  Both of them are workable.  Have a great weekend!


BC


On 7/11/08 4:10 PM, "Dan Vietor" <devo@xxxxxxxxxxxxx> wrote:



When you run xsat without specifying a projection, it displays the raw image
as is and then tries to overlay a map.   The raw image is only 640x350 in
resolution so when you display it in a 640x480 window, its fine.    But if you
blow it up to 1280x800, it has troubles.   The reason is that WXP tries to
determine the lat/lon of the center of the screen and then use that to draw
the map.   But if the image is 640x350, the center point is now out in space
and not on the image.   Thus WXP is confused in trying to determine a domain.

There are two solutions:

1) specify a domain to remap the image to:

xsat -inp=area ../sat/IR_20080711_0900  -de=d -ge=1100x700 -pd=globe

2) use WXP 6 satplot which resizes the image to the size of the window:

satplot -inp=area ../sat/IR_20080711_0900  -de=d -ge=1100x700


--
Ben Cotton
Unix Systems Administrator
Department of Earth and
 Atmospheric Sciences
Purdue University
http://www.purdue.edu/eas/resources/it/

CIVL 4212
O: 765-49-61546
C: 765-404-7986



  • 2008 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the wxp archives: