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

Home » Public Forums » archive » Re: IDL Map warping
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL Map warping [message #1806] Sun, 13 March 1994 23:30
stl is currently offline  stl
Messages: 70
Registered: February 1994
Member
In article <2lsuln$g55@tamsun.tamu.edu> keitha@tamsun.tamu.edu (Keith A. Aclin) writes:
> I am in the middle of writing an IDL program to take a gif image of a radar
> screen display and place ti in a map image. The program todate will read
> in the gif file and present it using TRUE_COLOR=. Once I try to place this
> image into the map projection using
> MAP_SET,/Mercator,TITLE='title'
> Image=MAP_IMAGE(initial,/BILIN,/COMPRESS,LIMIT=Z(nimlat,niml og,$
> maxlat,maxlong)
> the image is not in true colors any longer. It is possible to see the
> original image thou the "snow" that is now over the image, but it not
> usable for research. The other problem that is occurring is in the
> MAP_IMAGE keyword. I keep getting syntax errors for my lat/long loca-
> tions. But according to the manual I have this is where and how to place
> the command. .....

hi,

okay, it looks like the problem with the project is that you don't define
a limit with the map_set command. I would guess that all you have to do
is do a limit = [...] with bounds at least as big as your image, and things
will be fine. What exactly is the error you are getting.
As for the colors. Sounds like you do not have enough free colors to
represent your true color table, in which case your color table gets
thrashed. To check this, in a similiar scenario like you program, do a
!D.n_colors to see how many free colors you have, and then compare that
with how big yur color table is. Also, try looking at your color table
with xpalette to see if it has been destroyed.

remember you have limited colors..

-stephen





--
Stephen C Strebel / SKI TO DIE
stl@maz.sma.ch / and
Swiss Meteorological Institute, Zuerich / LIVE TO TELL ABOUT IT
01 256 93 85 / (and pray for snow)
[Message index]
 
Read Message
Previous Topic: IDL Map warping
Next Topic: CALL_EXTERNAL on SGI IRIX

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

Current Time: Fri Oct 10 08:31:53 PDT 2025

Total time taken to generate the page: 0.32041 seconds