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

Home » Public Forums » archive » Map an image onto a sphere
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Map an image onto a sphere [message #90903] Mon, 11 May 2015 11:22 Go to previous message
joellama is currently offline  joellama
Messages: 8
Registered: July 2013
Junior Member
Hi all,

I'm sure this has been answered before but I can't find the answer. I have an array that is 360 x 180 and I want to project it onto a sphere for display purposes. I've had success using the Molleweide projection with the documentation


arr = randomu(seed, [360, 180])
mollmap = IMAGE(arr, $
LIMIT=[-90,-180,90,180], GRID_UNITS=2, $
IMAGE_LOCATION=[-180,-90], IMAGE_DIMENSIONS=[360,180], $
MAP_PROJECTION='Mollweide', rgb_table=13)

But I can't seem to change it so that the projection is onto a sphere instead. Any help would be greatly appreciated. I would also ideally like to be able to specify the central longitude and latitude.

Thanks!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: % Program caused arithmetic error: Floating illegal operand
Next Topic: Re: Help extracting a single column from dat file

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

Current Time: Wed Oct 08 16:13:13 PDT 2025

Total time taken to generate the page: 0.00192 seconds