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

Home » Public Forums » archive » SOM and GCTP
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
SOM and GCTP [message #80311] Wed, 30 May 2012 07:26 Go to next message
Bruce Bowler is currently offline  Bruce Bowler
Messages: 128
Registered: September 1998
Senior Member
Looking for examples of using GCTP calls to convert from SOM(x,y) to Lat/
Lon and vise-versa so I don't have to re-invent the wheel.

Thanks!
Bruce
Re: SOM and GCTP [message #80444 is a reply to message #80311] Thu, 31 May 2012 10:23 Go to previous message
Bruce Bowler is currently offline  Bruce Bowler
Messages: 128
Registered: September 1998
Senior Member
On Thu, 31 May 2012 08:43:27 -0700, ben.bighair wrote:

> On May 30, 10:26 am, Bruce Bowler <bbow...@bigelow.org> wrote:
>> Looking for examples of using GCTP calls to convert from SOM(x,y) to
>> Lat/
>> Lon and vise-versa so I don't have to re-invent the wheel.
>>
>> Thanks!
>> Bruce
>
> Hi Bruce,
>
> MAP_PROJ_INIT describes setting up the !MAP structure by specifying a
> number of SOM_xyz parameters. I don't know anything about SOM, but in
> general if you can get your projection stuff initialized then you can
> swap back and forth between coordinate systems using MAP_PROJECT_FORWARD
> and MAP_PROJECT_INVERSE.
>
> Is that helpful or totally useless?
>
> Cheers,
> Ben

Probably completely helpful. I just wish the IDL "documentation" had more
complete examples in it :-(

Bruce
Re: SOM and GCTP [message #80445 is a reply to message #80311] Thu, 31 May 2012 08:43 Go to previous message
ben.bighair is currently offline  ben.bighair
Messages: 221
Registered: April 2007
Senior Member
On May 30, 10:26 am, Bruce Bowler <bbow...@bigelow.org> wrote:
> Looking for examples of using GCTP calls to convert from SOM(x,y) to Lat/
> Lon and vise-versa so I don't have to re-invent the wheel.
>
> Thanks!
> Bruce

Hi Bruce,

MAP_PROJ_INIT describes setting up the !MAP structure by specifying a
number of SOM_xyz parameters. I don't know anything about SOM, but in
general if you can get your projection stuff initialized then you can
swap back and forth between coordinate systems using
MAP_PROJECT_FORWARD and MAP_PROJECT_INVERSE.

Is that helpful or totally useless?

Cheers,
Ben
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: put a variable in 2D-array to plot a contour on a map.
Next Topic: Re: put a variable in 2D-array to plot a contour on a map.

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

Current Time: Wed Oct 08 15:16:53 PDT 2025

Total time taken to generate the page: 0.00490 seconds