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

Home » Public Forums » archive » Re: open and save a set of image
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: open and save a set of image [message #51359] Thu, 16 November 2006 09:03 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paul van Delst writes:

> Uh, it depends what you mean by "images", "open", "analize" and "save". :o)
>
> A useful answer requires more detail.

Well, I'm not sure we want to do the *entire* homework assignment! :-)

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: open and save a set of image [message #51360 is a reply to message #51359] Thu, 16 November 2006 08:09 Go to previous messageGo to next message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
cecilia.devecchi@gmail.com wrote:
> Hi!
> We're newbie in IDL programming and we have this problem:
> We have a set (72) images to open, analize and save the output.
> Do you know if exists a routine to automatize this process or if
> anybody has already written this routine or similar?

Uh, it depends what you mean by "images", "open", "analize" and "save". :o)

A useful answer requires more detail.

cheers,

paulv

--
Paul van Delst Ride lots.
CIMSS @ NOAA/NCEP/EMC Eddy Merckx
Ph: (301)763-8000 x7748
Fax:(301)763-8545
Re: open and save a set of image [message #51364 is a reply to message #51360] Thu, 16 November 2006 07:16 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
cecilia.devecchi@gmail.com writes:

> We're newbie in IDL programming and we have this problem:
> We have a set (72) images to open, analize and save the output.
> Do you know if exists a routine to automatize this process or if
> anybody has already written this routine or similar?
> Thanks in advance

I think what you are looking for is a FOR loop.

You can use FILE_SEARCH to locate all your image files
and tell you how many there are. Then, you just open
them one by one and do whatever it is you do to them.
Even a newbie should be able to write this code in less
than 10 minutes. :-)

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: open and save a set of image [message #51421 is a reply to message #51360] Mon, 20 November 2006 05:21 Go to previous message
cecilia.devecchi is currently offline  cecilia.devecchi
Messages: 6
Registered: November 2006
Junior Member
Well, probably we're more newbie than others :).

We agree with Paul, we have given few details. We know that we need of
a FOR loop, but we have this problem: the name of image are
01--1-960305-0941-D-24258, 02--1-960409-0941-D-24759, etc...How do we
open (simply open) all the image with this kind of name? For the remain
of homework (analisys etc), the script is already written.
We need some advice about this "name problem" from programmers expert
(like David that is a "IDL guru" ;)) or programmer that has already
dealt this problem.
Thanks
Regards


Paul van Delst ha scritto:

> cecilia.devecchi@gmail.com wrote:
>> Hi!
>> We're newbie in IDL programming and we have this problem:
>> We have a set (72) images to open, analize and save the output.
>> Do you know if exists a routine to automatize this process or if
>> anybody has already written this routine or similar?
>
> Uh, it depends what you mean by "images", "open", "analize" and "save". :o)
>
> A useful answer requires more detail.
>
> cheers,
>
> paulv
>
> --
> Paul van Delst Ride lots.
> CIMSS @ NOAA/NCEP/EMC Eddy Merckx
> Ph: (301)763-8000 x7748
> Fax:(301)763-8545
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Issue with 6.3, Mac OS X 10.4, 3 displays, X11
Next Topic: widget_droplist

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

Current Time: Wed Oct 08 13:42:28 PDT 2025

Total time taken to generate the page: 0.00460 seconds