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

Home » Public Forums » archive » Re: Map_Image and interpolation
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: Map_Image and interpolation [message #18239 is a reply to message #18231] Wed, 08 December 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Ben Tupper (tupper@seadas.bigelow.org) writes:

> I have a set of ship positions (Lon/Lat in WGS 84 map datum). I also
> have a bathymetric grid which I have warped into a tranverse mercator
> projection (Datum = WGS 84). The ship locations plot correctly on the
> warped image. Now I would like to interpolate values off of the warped
> image between consecutive ship locations.

Uh, why?! Surely the ships (and the bathymetric gird)
are in "real" space (as opposed to, say, "map" space)
and the interpolation should be done there. Once you
have the interpolated data, you just put it on the
map coordinate system using PLOTS, or whatever you do.
This is the beauty of the Map_Set command: it sets
up the mapping between your real coordinate system
and the map coordinate system.

> So how do I go from Ship Lon/Lat to WarpedGrid[X,Y]?

Make your calculations in Lon/Lat space and then
just *place* them on the Map, using the !Map system
variable to handle any transformations for you.

Cheers,

David

P.S. I have a sneaking suspicion I have completely
missed the point here. If so, I apologize profusely. :-)

--
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
Previous Topic: 64 bit ints
Next Topic: Re: Q: Xmanager explanation?

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

Current Time: Thu Oct 09 17:23:47 PDT 2025

Total time taken to generate the page: 0.40185 seconds