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

Home » Public Forums » archive » i need help with imagemap
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
i need help with imagemap [message #25426] Mon, 18 June 2001 04:42 Go to next message
alisonl is currently offline  alisonl
Messages: 2
Registered: June 2001
Junior Member
hi,

i am a fairly new idl user and need some help.
i currently have images from the meteosat satellites, which i am
trying
to convert to latitude/ longtitude coordinates. i have managed to
create
arrays for the latitude and longtiude of each pixel, but this is as
far as i have got.
i have tried using liam gumleys imagemap program, but without success.
the most common complaint idl has with this
program is that i have reached the end of file before the end of the
program.
has anyone got any ideas what i might be doing wrong?
any help would be great.

alison lucie
Re: i need help with imagemap [message #25496 is a reply to message #25426] Thu, 21 June 2001 04:50 Go to previous message
alisonl is currently offline  alisonl
Messages: 2
Registered: June 2001
Junior Member
"
>
> Hi Alison,
>
> I suspect the problem is caused by the method you are using to read the
> file. IMAGEMAP doesn't know anything about data files: it just plots
> arrays that already exist in memory.
>
> Can you be a bit more specific about the type of data file you are
> trying to read? For example,
>
> How many pixels are in each row?
> How many rows?
> What is the data type for each pixel (e.g., byte, 16-bit integer, 32-bit
> float)?
> How many bytes of header information (if any)?

hi,
there are 1250 pixels in each row and 625 rows. the data type is byte for each pixel.
there is no header file on the image.
> all my other problems were caused by plain stupidity and have been sorted so far.

thanks for your time

alison
> Cheers,
> Liam.
> http://cimss.ssec.wisc.edu/~gumley/
Re: i need help with imagemap [message #25507 is a reply to message #25426] Tue, 19 June 2001 09:37 Go to previous message
Sdavis is currently offline  Sdavis
Messages: 12
Registered: July 1998
Junior Member
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
check out
<br><A HREF="http://cimss.ssec.wisc.edu/~gumley/imagemap.html">http://cimss.ssec.wisc.edu/~gumley/imagemap.html</A>
<p>if you haven't already.
<p>alison lucie wrote:
<blockquote TYPE=CITE>hi,
<p>i am a fairly new idl user and need some help.
<br>i currently have images from the meteosat satellites, which i am
<br>trying
<br>to convert to latitude/ longtitude coordinates. i have managed to
<br>create
<br>arrays for the latitude and longtiude of each pixel, but this is as
<br>far as i have got.
<br>i have tried using liam gumleys imagemap program, but without success.
<br>the most common complaint idl has with this
<br>program is that i have reached the end of file before the end of the
<br>program.
<br>has anyone got any ideas what i might be doing wrong?
<br>any help would be great.
<p>alison lucie</blockquote>

<pre>--&nbsp;
&lt;>&lt;>&lt;>&lt;>&lt;>&lt;>&lt; >&lt;>&lt;>&lt;>&lt;>&lt;>&lt;>&lt; >&lt;>&lt;>&lt;>&lt;>&lt;>&lt;>&lt; >&lt;>&lt;>&lt;>&lt;>&lt;>&lt;>&lt; >&lt;>&lt;>&lt;>&lt;>&lt;>&lt;>&lt; >&lt;>&lt;>&lt;>&lt;>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Sean M. Davis
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ___ o&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ; __&nbsp;&nbsp; __&nbsp;&nbsp; sdavis@nis.lanl.gov
&nbsp;&nbsp; |\/&nbsp; o\ o&nbsp; ,,,,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ) `-'. \&nbsp; NIS-1
&nbsp;&nbsp; |/\___/&nbsp;&nbsp; (::::[||||||||||||||#==#[| Los Alamos National Laboratory
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; ''&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp; ).-.__/&nbsp;&nbsp; 505-667-8784
&lt;>&lt;>&lt;>&lt;>&lt;>&lt;>&lt; >&lt;>&lt;>&lt;>&lt;>&lt;>&lt;>&lt; >&lt;>&lt;>&lt;>&lt;>&lt;>&lt;>&lt; >&lt;>&lt;>&lt;>&lt;>&lt;>&lt;>&lt; >&lt;>&lt;>&lt;>&lt;>&lt;>&lt;>&lt; >&lt;>&lt;>&lt;>&lt;></pre>
&nbsp;</html>
Re: i need help with imagemap [message #25517 is a reply to message #25426] Mon, 18 June 2001 10:02 Go to previous message
Paul van Delst is currently offline  Paul van Delst
Messages: 364
Registered: March 1997
Senior Member
"Liam E. Gumley" wrote:
>
> alison lucie wrote:
>> i am a fairly new idl user and need some help.
>> i currently have images from the meteosat satellites, which i am
>> trying
>> to convert to latitude/ longtitude coordinates. i have managed to
>> create
>> arrays for the latitude and longtiude of each pixel, but this is as
>> far as i have got.
>> i have tried using liam gumleys imagemap program, but without success.
>> the most common complaint idl has with this
>> program is that i have reached the end of file before the end of the
>> program.
>> has anyone got any ideas what i might be doing wrong?
>> any help would be great.
>
> Hi Alison,
>
> I suspect the problem is caused by the method you are using to read the
> file. IMAGEMAP doesn't know anything about data files: it just plots
> arrays that already exist in memory.

Actually the error quoted, that IDL has "reached the end of file before the end of the
program" sounds more like a corrupted source code file with an unterminated (or
incorrectly terminated) control construct. I get that error sometimes when I quickly
fiddle with IF constructs when testing code.

It can be a bugger to find this stuff as IDL doesn't report a useful line number (it
reports the last END as where the error occurred.... which, strictly speaking, is correct
but not too helpful.)

But, without more info, the above is just a guess.

paulv

p.s. I use Liam's imagemap successfully all the time and wonder what is meant by "the most
common complaint idl has with this program..." What other complaints do you get, Alison?

--
Paul van Delst A little learning is a dangerous thing;
CIMSS @ NOAA/NCEP Drink deep, or taste not the Pierian spring;
Ph: (301)763-8000 x7274 There shallow draughts intoxicate the brain,
Fax:(301)763-8545 And drinking largely sobers us again.
Alexander Pope.
Re: i need help with imagemap [message #25522 is a reply to message #25426] Mon, 18 June 2001 07:51 Go to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
alison lucie wrote:
> i am a fairly new idl user and need some help.
> i currently have images from the meteosat satellites, which i am
> trying
> to convert to latitude/ longtitude coordinates. i have managed to
> create
> arrays for the latitude and longtiude of each pixel, but this is as
> far as i have got.
> i have tried using liam gumleys imagemap program, but without success.
> the most common complaint idl has with this
> program is that i have reached the end of file before the end of the
> program.
> has anyone got any ideas what i might be doing wrong?
> any help would be great.

Hi Alison,

I suspect the problem is caused by the method you are using to read the
file. IMAGEMAP doesn't know anything about data files: it just plots
arrays that already exist in memory.

Can you be a bit more specific about the type of data file you are
trying to read? For example,

How many pixels are in each row?
How many rows?
What is the data type for each pixel (e.g., byte, 16-bit integer, 32-bit
float)?
How many bytes of header information (if any)?

Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: New book: "Practical IDL Programming"
Next Topic: Re: New book: "Practical IDL Programming"

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

Current Time: Wed Oct 08 15:17:21 PDT 2025

Total time taken to generate the page: 0.06768 seconds