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

Home » Public Forums » archive » save multiple bands in one file in IDL ENVI
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: save multiple bands in one file in IDL ENVI [message #93116 is a reply to message #93106] Thu, 28 April 2016 21:33 Go to previous messageGo to previous message
zacharyanorman is currently offline  zacharyanorman
Messages: 17
Registered: July 2015
Junior Member
Glad you found it! It can be tricky learning a new programming language, but there are plenty of examples in the documentation center for the ENVI API. The most helpful thing to find out how to use different ENVI objects in idl is to use the "help" procedure in IDL on them and search for the object name. For example:

IDL> e = envi(/headless)
ENVI> ;specify parameters at the top of procedures
ENVI> file = Filepath('qb_boulder_msi', ROOT_DIR=e.Root_Dir, $
ENVI> SUBDIRECTORY=['data'])
ENVI>
ENVI> raster = e.openraster(file)
ENVI> help, raster
RASTER ENVIRASTER <41479>


If you then search online for "ENVIRASTER" you should get all of the methods and lots of examples for how to use them on harrisgeospatial.com.

Also, here is a help article that I wrote (I actually work at Harris - used to be Exelis VIS) with an example using a tile iterator in the new API for doing band math.

http://www.harrisgeospatial.com/Support/HelpArticlesDetail/T abId/219/ArtMID/900/ArticleID/14531/An-example-of-performing -band-math-with-the-new-ENVI-API.aspx

Let me know if you have any other questions!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: print data in colunms
Next Topic: IDL Stat analysis- ANOVA licening

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

Current Time: Wed Oct 08 16:06:57 PDT 2025

Total time taken to generate the page: 0.00405 seconds