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

Home » Public Forums » archive » Re: Has anyone worked with ARF files and brought them into IDL successfully?
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: Has anyone worked with ARF files and brought them into IDL successfully? [message #64971] Sat, 07 February 2009 12:16 Go to next message
Duppy is currently offline  Duppy
Messages: 5
Registered: February 2009
Junior Member
On Feb 5, 12:51 pm, David Fanning <n...@dfanning.com> wrote:
> Duppy writes:
>> I'm very new at this and need a layman's perspective. I'm sort of
>> being thrown into programming at my job and I'm not a programmer at
>> all. Whatever help anyone could give would be greatly appreciated.
>
> We thought so, from all the hard questions you are asking. ;-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Smarmy, arrogant comments are not necessary.
Re: Has anyone worked with ARF files and brought them into IDL successfully? [message #64972 is a reply to message #64971] Sat, 07 February 2009 12:14 Go to previous messageGo to next message
Duppy is currently offline  Duppy
Messages: 5
Registered: February 2009
Junior Member
On Feb 5, 2:24 pm, "ben.bighair" <ben.bigh...@gmail.com> wrote:
> On Feb 5, 12:59 pm, Vince Hradil <vincehra...@gmail.com> wrote:
>
>
>
>> On Feb 5, 11:58 am, Vince Hradil <vincehra...@gmail.com> wrote:
>
>>> On Feb 5, 11:48 am, Vince Hradil <vincehra...@gmail.com> wrote:
>
>>>> On Feb 5, 10:36 am, Duppy <richsuza...@gmail.com> wrote:
>
>>>> > I'm looking to write a program in IDL to parse a header  so I can read
>>>> > an ARF file into IDL.   I'd also like to create an ENVI header
>>>> > somehow.  I was told I could use the Data Viewer in ENVI to see the
>>>> > code, but I did it....wasn't sure exactly what I was supposed to look
>>>> > for.
>
>>>> > I'm very new at this and need a layman's perspective. I'm sort of
>>>> > being thrown into programming at my job and I'm not a programmer at
>>>> > all. Whatever help anyone could give would be greatly appreciated.
>
>>>> > Thanks,
>
>>>> > D.
>
>>>> Can you describe a little bit about what an ARF file is?  Is it an
>>>> image format?  What type of program writes the ARF file?  I've written
>>>> several custom routines for reading all kinds of raw data formats -
>>>> first you have to know exactly how the data are "packed".
>
>>>> Thanks,
>>>> Vince
>
>>> I found this:http://tinyurl.com/ad6kel
>>> and also found out that xnview can read ARF files - maybe you can
>>> convert them?
>
>> I guess that xnview ARF might be something else...
>
> I think that Duppy might provide a little more detail, but since this
> is likely to be imagery (given the ENVI reference) then these two
> links might help.  Or at least they can reduce the universe of
> possibilities by determining if ARF is related to FITS...
>
> http://www.file-extensions.org/arf-file-extension-flexible-i mage-tran...
>
> and you can verify that a file is FITS using...
>
> http://fits.gsfc.nasa.gov/fits_verify.html
>
> Cheers,
> Ben

Sorry. Yesterday was a very busy day at work. I have never worked
with .arf files before. I ordered some panchromatic imagery from a
company called Sensiac. The data was all sent in movie files in
this .arf file format using a program called ImageJ made from NIH---
it's a free viewer comparable to IDL and ENVI apparently. Anyway, I'm
used to not having problems bringing in files into ENVI. Now I have to
do it via IDL and I'm not sure how to do it. Funny how you'd think
attending the IDL courses I'd know how to bring in a simple file into
ENVI after converting it in IDL, but they never taught that crap. I
guess they figure teaching things like addition and subtraction of
variables like 2+2 is more valuable than bringing in data.
Re: Has anyone worked with ARF files and brought them into IDL successfully? [message #65010 is a reply to message #64972] Thu, 05 February 2009 11:24 Go to previous messageGo to next message
ben.bighair is currently offline  ben.bighair
Messages: 221
Registered: April 2007
Senior Member
On Feb 5, 12:59 pm, Vince Hradil <vincehra...@gmail.com> wrote:
> On Feb 5, 11:58 am, Vince Hradil <vincehra...@gmail.com> wrote:
>
>
>
>> On Feb 5, 11:48 am, Vince Hradil <vincehra...@gmail.com> wrote:
>
>>> On Feb 5, 10:36 am, Duppy <richsuza...@gmail.com> wrote:
>
>>>> I'm looking to write a program in IDL to parse a header so I can read
>>>> an ARF file into IDL. I'd also like to create an ENVI header
>>>> somehow. I was told I could use the Data Viewer in ENVI to see the
>>>> code, but I did it....wasn't sure exactly what I was supposed to look
>>>> for.
>
>>>> I'm very new at this and need a layman's perspective. I'm sort of
>>>> being thrown into programming at my job and I'm not a programmer at
>>>> all. Whatever help anyone could give would be greatly appreciated.
>
>>>> Thanks,
>
>>>> D.
>
>>> Can you describe a little bit about what an ARF file is? Is it an
>>> image format? What type of program writes the ARF file? I've written
>>> several custom routines for reading all kinds of raw data formats -
>>> first you have to know exactly how the data are "packed".
>
>>> Thanks,
>>> Vince
>
>> I found this:http://tinyurl.com/ad6kel
>> and also found out that xnview can read ARF files - maybe you can
>> convert them?
>
> I guess that xnview ARF might be something else...

I think that Duppy might provide a little more detail, but since this
is likely to be imagery (given the ENVI reference) then these two
links might help. Or at least they can reduce the universe of
possibilities by determining if ARF is related to FITS...

http://www.file-extensions.org/arf-file-extension-flexible-i mage-transport-system-bitmap

and you can verify that a file is FITS using...

http://fits.gsfc.nasa.gov/fits_verify.html


Cheers,
Ben
Re: Has anyone worked with ARF files and brought them into IDL successfully? [message #65011 is a reply to message #65010] Thu, 05 February 2009 09:59 Go to previous messageGo to next message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Feb 5, 11:58 am, Vince Hradil <vincehra...@gmail.com> wrote:
> On Feb 5, 11:48 am, Vince Hradil <vincehra...@gmail.com> wrote:
>
>
>
>> On Feb 5, 10:36 am, Duppy <richsuza...@gmail.com> wrote:
>
>>> I'm looking to write a program in IDL to parse a header  so I can read
>>> an ARF file into IDL.   I'd also like to create an ENVI header
>>> somehow.  I was told I could use the Data Viewer in ENVI to see the
>>> code, but I did it....wasn't sure exactly what I was supposed to look
>>> for.
>
>>> I'm very new at this and need a layman's perspective. I'm sort of
>>> being thrown into programming at my job and I'm not a programmer at
>>> all. Whatever help anyone could give would be greatly appreciated.
>
>>> Thanks,
>
>>> D.
>
>> Can you describe a little bit about what an ARF file is?  Is it an
>> image format?  What type of program writes the ARF file?  I've written
>> several custom routines for reading all kinds of raw data formats -
>> first you have to know exactly how the data are "packed".
>
>> Thanks,
>> Vince
>
> I found this:http://tinyurl.com/ad6kel
> and also found out that xnview can read ARF files - maybe you can
> convert them?

I guess that xnview ARF might be something else...
Re: Has anyone worked with ARF files and brought them into IDL successfully? [message #65012 is a reply to message #65011] Thu, 05 February 2009 09:58 Go to previous messageGo to next message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Feb 5, 11:48 am, Vince Hradil <vincehra...@gmail.com> wrote:
> On Feb 5, 10:36 am, Duppy <richsuza...@gmail.com> wrote:
>
>> I'm looking to write a program in IDL to parse a header  so I can read
>> an ARF file into IDL.   I'd also like to create an ENVI header
>> somehow.  I was told I could use the Data Viewer in ENVI to see the
>> code, but I did it....wasn't sure exactly what I was supposed to look
>> for.
>
>> I'm very new at this and need a layman's perspective. I'm sort of
>> being thrown into programming at my job and I'm not a programmer at
>> all. Whatever help anyone could give would be greatly appreciated.
>
>> Thanks,
>
>> D.
>
> Can you describe a little bit about what an ARF file is?  Is it an
> image format?  What type of program writes the ARF file?  I've written
> several custom routines for reading all kinds of raw data formats -
> first you have to know exactly how the data are "packed".
>
> Thanks,
> Vince

I found this: http://tinyurl.com/ad6kel
and also found out that xnview can read ARF files - maybe you can
convert them?
Re: Has anyone worked with ARF files and brought them into IDL successfully? [message #65013 is a reply to message #65012] Thu, 05 February 2009 09:51 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Duppy writes:

> I'm very new at this and need a layman's perspective. I'm sort of
> being thrown into programming at my job and I'm not a programmer at
> all. Whatever help anyone could give would be greatly appreciated.

We thought so, from all the hard questions you are asking. ;-)

Cheers,

David

--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Has anyone worked with ARF files and brought them into IDL successfully? [message #65014 is a reply to message #65013] Thu, 05 February 2009 09:48 Go to previous messageGo to next message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Feb 5, 10:36 am, Duppy <richsuza...@gmail.com> wrote:
> I'm looking to write a program in IDL to parse a header  so I can read
> an ARF file into IDL.   I'd also like to create an ENVI header
> somehow.  I was told I could use the Data Viewer in ENVI to see the
> code, but I did it....wasn't sure exactly what I was supposed to look
> for.
>
> I'm very new at this and need a layman's perspective. I'm sort of
> being thrown into programming at my job and I'm not a programmer at
> all. Whatever help anyone could give would be greatly appreciated.
>
> Thanks,
>
> D.

Can you describe a little bit about what an ARF file is? Is it an
image format? What type of program writes the ARF file? I've written
several custom routines for reading all kinds of raw data formats -
first you have to know exactly how the data are "packed".

Thanks,
Vince
Re: Has anyone worked with ARF files and brought them into IDL successfully? [message #65049 is a reply to message #64972] Mon, 09 February 2009 08:09 Go to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Feb 7, 2:14 pm, Duppy <richsuza...@gmail.com> wrote:
> On Feb 5, 2:24 pm, "ben.bighair" <ben.bigh...@gmail.com> wrote:
>
>
>
>> On Feb 5, 12:59 pm, Vince Hradil <vincehra...@gmail.com> wrote:
>
>>> On Feb 5, 11:58 am, Vince Hradil <vincehra...@gmail.com> wrote:
>
>>>> On Feb 5, 11:48 am, Vince Hradil <vincehra...@gmail.com> wrote:
>
>>>> > On Feb 5, 10:36 am, Duppy <richsuza...@gmail.com> wrote:
>
>>>> > > I'm looking to write a program in IDL to parse a header  so I can read
>>>> > > an ARF file into IDL.   I'd also like to create an ENVI header
>>>> > > somehow.  I was told I could use the Data Viewer in ENVI to see the
>>>> > > code, but I did it....wasn't sure exactly what I was supposed to look
>>>> > > for.
>
>>>> > > I'm very new at this and need a layman's perspective. I'm sort of
>>>> > > being thrown into programming at my job and I'm not a programmer at
>>>> > > all. Whatever help anyone could give would be greatly appreciated.
>
>>>> > > Thanks,
>
>>>> > > D.
>
>>>> > Can you describe a little bit about what an ARF file is?  Is it an
>>>> > image format?  What type of program writes the ARF file?  I've written
>>>> > several custom routines for reading all kinds of raw data formats -
>>>> > first you have to know exactly how the data are "packed".
>
>>>> > Thanks,
>>>> > Vince
>
>>>> I found this:http://tinyurl.com/ad6kel
>>>> and also found out that xnview can read ARF files - maybe you can
>>>> convert them?
>
>>> I guess that xnview ARF might be something else...
>
>> I think that Duppy might provide a little more detail, but since this
>> is likely to be imagery (given the ENVI reference) then these two
>> links might help.  Or at least they can reduce the universe of
>> possibilities by determining if ARF is related to FITS...
>
>> http://www.file-extensions.org/arf-file-extension-flexible-i mage-tran...
>
>> and you can verify that a file is FITS using...
>
>> http://fits.gsfc.nasa.gov/fits_verify.html
>
>> Cheers,
>> Ben
>
> Sorry. Yesterday was a very busy day at work. I have never worked
> with .arf files before. I ordered some panchromatic imagery from a
> company called Sensiac.  The data was all sent in movie files in
> this .arf file format using a program called ImageJ made from NIH---
> it's a free viewer comparable to IDL and ENVI apparently.  Anyway, I'm
> used to not having problems bringing in files into ENVI. Now I have to
> do it via IDL and I'm not sure how to do it. Funny how you'd think
> attending the IDL courses I'd know how to bring in a simple file into
> ENVI after converting it in IDL, but they never taught that crap. I
> guess they figure teaching things like addition and subtraction of
> variables like 2+2 is more valuable than bringing in data.

Here's what you can try:
1- download and install xnview and see if it will read the .arf
files. Then convert them to something that can be read into IDL, e.g.
TIFF, JPG, PNG, etc.
2- download and install ImageJ and read the files back in, then save
as something IDL can read.
3- figure out the file format of the .arf files (perhaps by contacting
Sensiac?) and write your own parser.
Re: Has anyone worked with ARF files and brought them into IDL successfully? [message #65070 is a reply to message #64971] Sat, 07 February 2009 12:56 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Duppy writes:

> Smarmy, arrogant comments are not necessary.

Sorry, you thought these fell into that category. It's
just that after 20 some years of answering IDL questions
whenever I get one that I think "I don't have any IDEA
how to do that!", it is from an IDL newbie. I don't
know why that is, but it is almost always the case.
I always feel just about the opposite of arrogant
when that happens. :-)

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: Re: How to define resolution (not dimension!) for IDLanRoi->computeMask
Next Topic: Re: How to read a multi-band image with IDL

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

Current Time: Wed Oct 08 17:37:13 PDT 2025

Total time taken to generate the page: 0.00522 seconds