|  |  |  |  | 
						
						
						
							| 
									
									| 
 | 3 Replies and 1798 Views
										IDL 8.4 : SERIOUS problems with save files  1798  3
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Good morning,
I am running IDL 8.4 on a windows 2008 server machine. I have two problems with the save files I am creating:
1. Even though I am including the exit, /no_confirm, command before the end command at the end of the program, IDL does not exit. I.e. the save file starts, runs, executes and then just sits there. If I simply run the same code properly, i.e. open, compile, run, then it executes and at the end, exists IDL. From the save file, it does not. Any ideas
2. Why do the save file ... |  |  |  | 3 | 1798 | 27 May 2015 12:32 AM | 
						
						
						
							| 
									
									| 
 | 3 Replies and 1824 Views
										Conversion of digital numbers to radiance of several ASTER images  1824  3
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi everybody!I&180;m working with several ASTER images level 1A, and i&180;d like to know if it&180;s possible to create a program for converting all these images into radiance automatically, without working one by one.Is there a way to create a program capable of reading the gains an offset values from de metadata file, and aplying these coeficients into a bandmath to convert de DN to radiance values And do it for several imagesThanks in advance!Regards. |  |  |  | 3 | 1824 | 21 May 2015 07:58 AM | 
						
						
						
							|  | 1 | 1930 | 20 May 2015 10:50 AM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 2017 Views
										How can I read .avi video files?  2017  1
										Started by  Zachary Norman
										
										
										
											
											
											
											
											
											
										
										
										I was wondering if there was a simple method to read avi formatted video files |  |  |  | 1 | 2017 | 19 May 2015 02:15 PM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 1780 Views
										Issues with Legend function  1780  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I'm adding a legend to a plot using the legend function. The legend shows the correct name and symbol for each data set, but the symbol appears three times in front of the text instead of just once.  Does anyone know how to get a single symbol in front of the text in the legend  I'm calling the function as follows:
MIPS= PLOT(MIPS.Sersic_Index, MIPS.BT_ratio, XRANGE=&910,8.0&93, YRANGE=&910,1.0&93, $
   YTITLE='B/T', XTITLE='n', /CURRENT, $
   AXIS_STYLE=1, COLOR='blue', thick=2, linest... |  |  |  | 1 | 1780 | 14 May 2015 03:38 PM | 
						
						
						
							| 
									
									| 
 | 4 Replies and 2512 Views
										Plot image/Graphics directly to a *.png file  2512  4
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Dear Sir
I wish to save my graphics directly to a image file (file format is not important), as first displaying it in a window and then saving it to in image file takes a lot of time. Is there a way this can be achieved. I am using IDL version 8.2.3. 
Regards
Piyush |  |  |  | 4 | 2512 | 11 May 2015 12:17 PM | 
						
						
						
							| 
									
									| 
 | 4 Replies and 1738 Views
										output value os common structure into screen  1738  4
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Dear all,
I got the following information. The question is that why "print" cannot be ignored. "CDPSI_TEMPLATE" was defined as COMMON variable. Thank you very much.
ENVI> help, CDPSI_Template
CDPSI_TEMPLATE (COMMONVAR_TUD_CDPSITEMPLATE)
                STRUCT    = -> STRUCTURE_CDPSITEMPLATE Array&915000, 5000&93
ENVI> print, CDPSI_Template&911000, 1000&93.CPSI_TemporalCoherence
     0.328291
ENVI> CDPSI_Template&911000, 1000&93.CPSI_TemporalCoherence
 Objec... |  |  |  | 4 | 1738 | 08 May 2015 02:22 PM | 
						
						
						
							| 
									
									| 
 | 4 Replies and 2071 Views
										Issues with ENVIRaster  2071  4
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi,
 I am using Envi 5.2/IDL8.4 and try to get used to ENVIRaster functionalities instead of the old reading and writing routines but struggle with some points.
1. When I try to use ENVISubsetRaster to get a subset with its spatial references (see code below), it shows spatialref as undefined in the variables list. According to the help article, this should work. It also works when I use "spatialref = in_sub.spatialref".
 Is it directly implemented in ENVISubetRaster or not
Also, the ... |  |  |  | 4 | 2071 | 08 May 2015 09:32 AM | 
						
						
						
							| 
									
									| 
 | 3 Replies and 1734 Views
										Problems with saving files  1734  3
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi!
I am new in IDL. I have several hypercubes with 12-16 bands. I just want to take first band from the first hypercube and save it in one folder, then the first band from the next hypercube in the same folder. The process continue until the last band from the last hypercube...
I write a script from one band, but it didn't work because  '' Execution halted at : ENVI'' - error..
pro IDL_startup
compile_opt IDL2
input_path = 'D:\Rares\k12'
envi_open_data_file, '23_04_2015_09h43m04_K0012_... |  |  |  | 3 | 1734 | 07 May 2015 06:19 AM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 1768 Views
										IDL launch icons not appearing in Mac Launchpad screen  1768  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Problem: (Mac OS X 10.9.5) The IDL 8.4 icons like IDL84, IDLHelp84, etc are not showing up in my Launchpad, like they did for IDL 8.3. Is there any way to fix this |  |  |  | 1 | 1768 | 05 May 2015 07:00 PM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 1734 Views
										IDL 8.1 on Mac OS 10.10.3  1734  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I have a license for IDV v. 8.1. I updated with 8.2 but I cannot open it. I found that even newest version v.8.4.1 cannot be installed with OX 10.10.3. My MacBook Pro and  iMac have Yosemite, therefore do I need to wait for a newer version of IDL before I can use IDl on these machines I wanted to install v.8.1 so that I will be able to use it without update. |  |  |  | 1 | 1734 | 30 Apr 2015 10:58 AM | 
						
						
						
							| 
									
									| 
 | 7 Replies and 2450 Views
										IDL 7.1 on Yosemite 10.10.3  2450  7
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I'm trying to install IDL7.1 on a new macbook running OS X 10.10.3, and the Install.app files on the disk image (within the MacOSX folder) appear to be PowerPC files. I receive the following messages when trying to run the installers from command line and double-clicking:
'LSOpenURLsWithRole() failed with error -10665 for the file /Users/xxxxx/Downloads/idl711mac/MacOSX/Disk1/InstData/Install.app.'
''You can’t open the application “Install” because PowerPC applications are no... |  |  |  | 7 | 2450 | 29 Apr 2015 08:28 AM | 
						
						
						
							| 
									
									| 
 | 2 Replies and 1690 Views
										Excessive Messages When Building Project  1690  2
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										When I am building an IDL project, a very long list of information is displayed on console like following, I guess at least a few hundreds of lines. How can I turn off these messages. I cannot find any option on this from the Project Properties dialog.
...
 SAVE: Saved function: _IDLITVISUALIZATION::ISISOTROPIC.
 SAVE: Saved function: _IDLITVISUALIZATION::ISMANIPULATORTARGET.
 SAVE: Saved function: _IDLITVISUALIZATION::ISSELECTED.
 SAVE: Saved function: _IDLITVISUALIZATION::MATCHESTYPES.
 ... |  |  |  | 2 | 1690 | 26 Apr 2015 11:09 PM | 
						
						
						
							| 
									
									| 
 | 2 Replies and 1884 Views
										How to copy "ObjectHeapVariable" (How to pass an "ObjectHeapVariable" by value?)  1884  2
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi everybody,
how can I copy an "ObjectHeapVariable"
An example for illustration:
;-------------------------------------------------------------------------
a=plot(&911,2,3&93,&9142,42,42&93,/BUFFER,name="FIRST")
a.name ; prints: „FIRST“
b=a
b.name="LAST"
a.name ; prints: „LAST“, but I want it to print „FIRST“
;------------------------------------------------
I do understand that this is due to the o... |  |  |  | 2 | 1884 | 23 Apr 2015 09:05 AM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 3063 Views
										ObjHeapVar Error?  3063  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										subset_image_by_roi.pro
    
    
        
        I previous posted some code to clip the boundaries of an image to a shapefile.  
        For some images this works no problem but for other image I get a weird Object Reference error. 
        The error I'm getting is "Error: Invalid object reference: 
        My images are only about 1GB.  I have 192GB of ram and 12 cores.  
        Is the heap var the same as a pointer  The shapefile and image are in the same projection NAD83 UTM 19N
... |  |  |  | 1 | 3063 | 22 Apr 2015 12:52 PM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 1831 Views
										mean with DIMENSION and NAN keywords broken  1831  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										It seems that the mean() function with the DIMENSION and NAN keywords set is broken:
IDL> a = reform(findgen(64), 64, 1)
IDL> help, a
A               FLOAT     = Array&9164, 1&93
IDL> mean(a, dimension=2)
       0.0000000       1.0000000       2.0000000       3.0000000       4.0000000       5.0000000       6.0000000       7.0000000       8.0000000       9.0000000       10.000000       11.000000
       12.000000       13.000000       14.000000       15.000000       16.000000       17.... |  |  |  | 1 | 1831 | 20 Apr 2015 10:09 AM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 1682 Views
										2-vertex polyline drawn on image function graphic cannot be translated or rotated  1682  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Problem:
After drawing a 2-vertex polyline into the data space (/data) of a image graphic:
    img = image( dist(400,400) )
    p2 =polyline(&91100,300&93, &91100,300&93, '-r2', /data, target=img)
I'm unable to translate or rotate the polyline without changing its shape or slope. That is, I'm only able to individually move around the ends of the polyline relative to the image graphic. |  |  |  | 1 | 1682 | 15 Apr 2015 06:58 PM | 
						
						
						
							| 
									
									| 
 | 1 Replies and 1623 Views
										FILE_TEST function behavior  1623  1
										Started by  Zachary Norman
										
										
										
											
											
											
											
											
											
										
										
										I found that function File_Test(file, /DIRECTORY) changes the modification date/time of the folder being tested in IDL 8.2. If I understand correctly, this function (with DIR keyword) is supposed to just tell me if the file is a directory, not to do anything to that file. But now every time I test a folder, its original modification time is changed by IDL to the current time. I didn't see this issue in IDL 7.1. Is it a new bug in 8.2 or is there any keyword or workaround that can keep this from ... |  |  |  | 1 | 1623 | 15 Apr 2015 11:32 AM | 
						
						
						
							| 
									
									| 
 | 3 Replies and 1735 Views
										failed to get the output with a certain resolution  1735  3
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I retrieve AOD from MOD04 based on MCTK.  But the resolution of output is random when use geographic coordinate system. I wonder if I could get geographical output with a certain resolution without resampling or resizing the output. 
I use 'out_ps = &910.03d,0.03d&93 ;' in my IDL pro, but it doesn't work for MOD04 is not the grid dataset. And I know I can get the output with 10km resolution when I choose the projected coordinate system. However, I prefer the output with geographic coordinate s... |  |  |  | 3 | 1735 | 15 Apr 2015 05:56 AM | 
						
						
						
							| 
									
									| 
 | 3 Replies and 1535 Views
										output based on MCTK  1535  3
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I retrieve AOD from MOD04 based on MCTK.  But the resolution of output is random when use geographic coordinate system. I wonder if I could get geographical output with a certain resolution without resampling or resizing the output. I use 'out_ps = &910.03d,0.03d&93 ;' in my IDL pro, but it doesn't work for MOD04 is not the grid dataset. And I kown I can get the output with 10km resolution when I choose the projected coordinate system. However, I prefer the output with geographic coordinate sy... |  |  |  | 3 | 1535 | 14 Apr 2015 10:52 PM |