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

Home » Public Forums » archive » Re: help with Imagemap to display gridded data
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
Re: help with Imagemap to display gridded data [message #77481] Sun, 04 September 2011 21:40
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

>> Hi, I want to display some gridded data arrays using Liam Gumley's
>> Imagemap tools, but I can't figure out how to call Imagemap properly.
>> The data are in polar stereographic projection. I have arrays of
>> latitude and longitude for each grid point. My question is how to give
>> the projection information to Imagemap? I tried the following to call
>> the tool but ended up error message: % Array subscript for NEWIMAGE
>> must have same size as source expression.
>>
>> IMAGEMAP, land,lat,lon,p0lat=90,p0lon=-95,nomap=nomap
>>
>> Would it be possible to use IMAGEMAP to display gridded data?
>
> You don't want to do this. Send me the data, and
> I'll write an article on how to do this correctly. :-)

OK, the proper way to do this is now described in this
article:

http://www.idlcoyote.com/map_tips/landcover.php

I've linked the data sets and a program for displaying
the data in the article if people want to play around
with it. Like so much satellite data, this data set
was weird, probably written incorrectly, and required
the programmer to make some reasonable guesses and
assumptions to come up with something sensible. In short,
it's a real world example. :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: help with Imagemap to display gridded data [message #77487 is a reply to message #77481] Sat, 03 September 2011 18:32 Go to previous message
envi35@yahoo.ca is currently offline  envi35@yahoo.ca
Messages: 48
Registered: March 2005
Member
On Sep 3, 8:50 pm, David Fanning <n...@dfanning.com> wrote:
> Jenny writes:
>> Hi, I want to display some gridded data arrays using Liam Gumley's
>> Imagemap tools, but I can't figure out how to call Imagemap properly.
>> The data are in polar stereographic projection. I have arrays of
>> latitude and longitude for each grid point. My question is how to give
>> the projection information to Imagemap? I tried the following to call
>> the tool but ended up error message: % Array subscript for NEWIMAGE
>> must have same size as source expression.
>
>>  IMAGEMAP, land,lat,lon,p0lat=90,p0lon=-95,nomap=nomap
>
>> Would it be possible to use IMAGEMAP to display gridded data?
>
> You don't want to do this. Send me the data, and
> I'll write an article on how to do this correctly. :-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Hi David,
That sounds great!! I'll email the data to you just now :)
Thanks!
Jenny
Re: help with Imagemap to display gridded data [message #77488 is a reply to message #77487] Sat, 03 September 2011 17:50 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jenny writes:

> Hi, I want to display some gridded data arrays using Liam Gumley's
> Imagemap tools, but I can't figure out how to call Imagemap properly.
> The data are in polar stereographic projection. I have arrays of
> latitude and longitude for each grid point. My question is how to give
> the projection information to Imagemap? I tried the following to call
> the tool but ended up error message: % Array subscript for NEWIMAGE
> must have same size as source expression.
>
> IMAGEMAP, land,lat,lon,p0lat=90,p0lon=-95,nomap=nomap
>
> Would it be possible to use IMAGEMAP to display gridded data?

You don't want to do this. Send me the data, and
I'll write an article on how to do this correctly. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDLDE quitting on startup
Next Topic: FSC_COLORBAR

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

Current Time: Wed Oct 08 15:13:04 PDT 2025

Total time taken to generate the page: 0.00505 seconds