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

Home » Public Forums » archive » Re: Newbie needs help...
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: Newbie needs help... [message #23136 is a reply to message #23135] Wed, 10 January 2001 12:18 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Bruce Bowler (bbowler@bigelow.org) writes:

> karmic confusion reigns supreme...

Now we *are* getting somewhere... :-)

> I have this big huge array (here
> after referred to as a BHA) of data (BHAd) an equally sized BHA of
> latitudes (BHAlat) of each point in BHAd and another BHA of longitudes
> (BHAlon) of each point in BHAd. NB, row x of BHAlat is not constant,
> neither is column y of BHAlon
>
> I understand map_set, I understand map_grid, I understand map_continents
> (well, not in the tao-ist sense of the word). map_image is where I'm
> getting confused... how does map_image know about BHAlat and BHAlon
> when they are not inputs to the process?

Ah, this is what IDL doesn't do. Liam does this
by taking each one of your pixels (I'm paraphrasing
here) and putting it over on your map one by one.
Then he sees that he has a very holey map (pun
intended in this case), so he "fills it in" with
some kind of dilation thing, if I remember correctly.
(Where *is* Liam, anyway!?) That's why he doesn't
want you to trust the numbers. He has had to fudge
them a bit. But they look great!

I guess if I were in your shoes, I might try to
reformat the part of the image I was interested
in onto a regular lat/lon grid. I'd probably try
to use TRIANGULATE and TRIGRID first, to see if
that would work. You will jimmy the numbers, of
course, but no way around that if you want to use
IDL. Then, I would put the regular lat/lon image
on the map using Map_Image.

There are probably other ways to warp the image
onto the map, but there is no getting around the
need to do it. What you would prefer, I'm sure, is
to have a map warped to the image. But this is NOT
possible in IDL.

Then, I would get the specified value from the
regular lat/lon grid, if I couldn't figure out
a way to get a better number from my original
array. Remember that the display *IS* only a
display. You are not really looking at your data.
All you want to do is have the display *represent*
your data in a more or less faithful way. I think
Liam's solution is as good as you are likely to
get for actually displaying your data.

Once you have the display, getting the actual value
out of your data set shouldn't be terribly hard.
You might need some kind of look-up table for
indexing, but this should be fairly straightforward.

Cheers,

David

P.S. Let's just say I really wish Liam would step
in here. :-(

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL compatibility
Next Topic: Tickmarks and ticklabels

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

Current Time: Sat Oct 11 08:17:29 PDT 2025

Total time taken to generate the page: 0.31892 seconds