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

Home » Public Forums » archive » Re: Skymap and Array Problems
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: Skymap and Array Problems [message #35752 is a reply to message #35746] Wed, 09 July 2003 07:28 Go to previous messageGo to previous message
wissels is currently offline  wissels
Messages: 2
Registered: July 2003
Junior Member
>> Furthermore, the galactic coordinates do not come out in sequential
>> order, so I need to sort them (along with their referenced data
>> points).
>
> This might be. Could you please try to explain the geometry of your grid in
> galactic coordinates. You start out with a rectangular grid in celestial
> coordinates, right? Ie one that can be described by 1D x & y arrays (not
> necessarily evenly spaced). Is the grid in galactic coordinates a distorted
> rectangular grid? Or (as I think you are implying) something more general.

The grid in galactic coordinates is not distorted. The
transformation involves rotation (the galactic plane is 63deg from the
celestial plane) and translation from the earth centered vertex to
vertex at the center of the galaxy.

I must have made the problem sound worse than it is. I'm just
frustrated, because of my lack of understanding in idl.

The main problem is that after conversion the coordinates are not
chronological. Meaning that instead of

Long Lat ..............i get..............Long Lat
-182 -89 12 23
-155 -45 -155 -45
12 23 -189 -89
35 78 35 78

As far as I can tell IDLgrCONTOUR (or CONTOUR for that matter) will
not let me plot well if the coordinates are not sorted. So I have to
sort all three arrays (the latitude set, the longitude set and the
data set) in order to map correctly. I hope that makes my problem a
little clearer. I will try looking at IDLgrPolygon.

Thanks!
Stephanie
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Speed test on Mac G5, anyone?
Next Topic: IDLgrText

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

Current Time: Sat Oct 11 05:56:58 PDT 2025

Total time taken to generate the page: 0.00242 seconds