|
|
|
|
|
2 Replies and 2034 Views
Generate a .sav that can not be restored 2034 2
Started by Deleted User
Hi,
I have to deliver an IDL program to a client. The easy way is to generate a .sav file and giving it to him. The problem is that with the RESTORE procedure, my client can see my whole program and then modify it or reuse it. Is there a way of transmitting an IDL program to someone without him being able to use the RESTORE procedure but him being able to use it with the right IDL command
Thanks
|
|
|
|
2 |
2034 |
10 Feb 2016 04:45 AM |
|
1 Replies and 1653 Views
DAYMET data in IDL 1653 1
Started by Deleted User
A customer has written us with the following question about using DAYMENT data within IDL:
I am analyzing DAYMET data from mosaiced images for the entire western U.S. for the years 1993-2014 For 93-2012, I extracted values for 100 plots using lat/lons from ArcGIS and Python. I recently acquired 2013 & 2014 data but no longer have an ArcGIS license so I used IDL instead. As a test, I re-ran the extraction for one variable (precipitation) for 2005 in IDL to compare against the prior ArcGIS outpu...
|
|
|
|
1 |
1653 |
09 Feb 2016 11:46 AM |
|
1 Replies and 1969 Views
IDL error 1969 1
Started by Deleted User
Hello, i keep getting this message: IDLGRSRCDEST::ERASE:Unable to acquiredevide content. Please consult the supplier of the application. I was trying to see a PET scan, i have registered and i was aprroved, then i dowloaded the IDL 8.5.1 for Microsoft Windows (7,8,10) 64-bit. Please help me.
|
|
|
|
1 |
1969 |
02 Feb 2016 12:21 PM |
|
1 Replies and 1906 Views
Problem reading dicom data into some computers 1906 1
Started by Deleted User
A customer has an issue in which he is reading a dicom file with the code below using multiple systems:
image=fltarr(400,400)
fn=file_which()
image=read_dicom(fn)
print,max(image),min(image)
On some systems, the output is "1638 0" (which is the correct result) and on other systems, the output is "0 0" (the image is not being read correctly).
|
|
|
|
1 |
1906 |
28 Jan 2016 04:22 PM |
|
2 Replies and 5412 Views
Run IDL script from Windows Command Line 5412 2
Started by Deleted User
Hi,I am trying to run a simple IDL script from the Windows Command Line and cam having trouble finding the correct syntax. For example, how would I run the following script from the terminalPRO, ADD, A, B C = A B PRINT, CEND Thanks,Andrew
|
|
|
|
2 |
5412 |
28 Jan 2016 09:55 AM |
|
2 Replies and 2127 Views
interpolate irregular 3D grid 2127 2
Started by Deleted User
Hi, I am trying to interpolate an atmopsheric model to an altitude grid, and I am totally confused by the interpolation methods, and just can't work out how to do it. I have:
lon = fltarr(144) ; 0 to 360
lat = fltarr(96) ; -90 to 90
alt = fltarr(144,96,66) ; calculated from pressure grid and so different at all points.
I want to interpolate other property arrays (144,96,66) onto the same lat/lon, and a specific altitude grid (alt_i = fltarr(66)).
Currently, I am simply looping...
|
|
|
|
2 |
2127 |
27 Jan 2016 11:16 AM |
|
2 Replies and 2300 Views
Build Mask Based on One Bands&39; DN 2300 2
Started by Deleted User
Hi,
I would like to build a binary image from a range of DNs of a single band. I'm trying to isolate shadows (if it matters), I need to do a small manipulation to the mask before it is applied to the image, so I need to write the 'raw' mask to disk. I'm using the third band or Value band of the HSV image. This is my code so far, I will adapt it to batch File_Search, but for now I'm just feeding it a hard path to a test image.
; Open the HSV file
file = "E:\2013img\LauraZones\processing\...
|
|
|
|
2 |
2300 |
26 Jan 2016 02:09 PM |
|
1 Replies and 3007 Views
call_external error in IDL 64bit version ? 3007 1
Started by Deleted User
the C language example of 'call_external' in IDL directory cannot works correctly in IDL 64bit versions(8.2 and 8.5 tested), but the same code can run correctly in IDL 32-bit versions(8.2 and 8.0 tested). The problem seems to come from the function 'call_external'. The error message from the console is:
ENVI> PUSHD, FILEPATH('',SUBDIRECTORY=&91'external','call_external','C'&93)
ENVI> ALL_CALLEXT_EXAMPLES
Calling simple_vars with the following arguments:
B_L BYTE = 2I_L INT = 3L_L LONG = 4F_L F...
|
|
|
|
1 |
3007 |
21 Jan 2016 09:20 PM |
|
6 Replies and 2897 Views
export to tiff 2897 6
Started by Deleted User
I have an error while trying to change the output of the mosaic_doit function to a tiff file. It out puts a dat file which is not working with various python functions I need it to. This is the approach I took right now. envi_doit exports out a .dat file. Let me know if there is any other way or if there is something else that I can do to fix this.
envi_doit, 'mosaic_doit', fid=mfid, pos=mpos, $ dims=mdims, out_name=out_name, xsize=xsize, $ ysize=ysize, x0=x0, y0=y0, georef=0,MAP_INFO=ma...
|
|
|
|
6 |
2897 |
20 Jan 2016 12:40 PM |
|
1 Replies and 1739 Views
Finding Maximum in noisy function. 1739 1
Started by Deleted User
A user has a data set and wants to find the maximum. This user has asked if IDL has a routine that does this.
|
|
|
|
1 |
1739 |
19 Jan 2016 05:01 PM |
|
3 Replies and 2127 Views
Batch Processing MTL&39;s 2127 3
Started by Deleted User
I need to process multiband MTL.txt files in a program that produces tif files from them that have reflectance data. The reflectance program only processes one MTL file at a time. I would like to batch process all MTL files in a folder, or several folders if possible. Similar to the proposition in this thread: http://www.exelisvis.com/Support/Forums/tabid/184/forumid/7/postid/17162/scope/posts/Default.aspx17162
How can I apply my program to the batch processing in the program in that thread
|
|
|
|
3 |
2127 |
16 Jan 2016 03:08 PM |
|
2 Replies and 1819 Views
Suppressing ENVI windows 1819 2
Started by Deleted User
I have an IDL script that is running through a collection of rasters. 95 of the rasters run through the script fine, the 5 that do not stall at a envi header info popup. I need a way to suppress this window and write to a text file the rasters that generate this error. I am not too familiar with IDL, and am hoping that there I can raise an exception and then continue through the script.
If you could please point me in the correct direction or provide me some sample code, it would be much appre...
|
|
|
|
2 |
1819 |
12 Jan 2016 10:46 AM |
|
2 Replies and 1990 Views
IDL to Python Bridge - _iLocIndexer 1990 2
Started by Deleted User
When using the IDL to Python bridge in IDL 8.5 and working with a "pandas" dataframe, I am unable to use the .iloc&91"index_number"&93 function that I can use in python. For example, with my dataframe, df, I am unable to run: df.iloc&910&93 to return the row of index &910&93. I can return the columns by calling df.&91"my_column_name"&93, but I am looking to return a row of my dataframe.
The error that I get is:
Python: Unable to index object of type: &qu...
|
|
|
|
2 |
1990 |
08 Jan 2016 04:01 PM |
|
3 Replies and 1811 Views
Check if a File is being read in correctly 1811 3
Started by Deleted User
I am new to IDL and working remotely with the author of a routine to understand why the routine works on his system and not on mine. We are using the same input files, the same routine, and the same commands to analyze asteroid spectra. He asked me to check if my IDL system was reading the input file (an asteroid spectrum) in correctly. How can I do this
|
|
|
|
3 |
1811 |
06 Jan 2016 08:08 PM |
|
1 Replies and 1856 Views
trouble using "where" command in IDL 1856 1
Started by Deleted User
IDL user question:
Hi:
I'm running the following simple script to use "where" command. It works for all values but 0.9. Any thoughts why this is happening I tried this on both IDL 8.2.3 on Mac, and IDL 8.2.2 linux version on our server. Thank you.
IDL> x=indgen(21)*.05
IDL> print, where(x eq .8)
16
IDL> print, where(x eq .95)
19
IDL> print, where(x eq 1)
20
IDL> print, where(x eq .9)
-1
|
|
|
|
1 |
1856 |
04 Jan 2016 10:33 AM |
|
2 Replies and 1903 Views
object method as function_name 1903 2
Started by Deleted User
Is it possible to pass an object method in as a function_name in, for example, curvefit I have an obj and would like a method that does a curvefit. curvefit isn't liking a function named 'self.someMethodName'. It if undefined. Curvefit has no knowledge of self (that is is called within an object class definition). Yes I am new to oop. Does what I am trying to do make any sense It would nice to have all the obj properties available with the method used by curvefit, to avoid all the ...
|
|
|
|
2 |
1903 |
30 Dec 2015 11:56 AM |
|
1 Replies and 1595 Views
Running IDL 8.2 on Mac OS X 10.10 Yosemite 1595 1
Started by Deleted User
QUESTION:
HI, I had IDL 8.2 running on may MAC before I upgraded OSX to 10.10.5. Now I get an error "idlde.darwin.x86_64 cannot beopened". How do I fix this problem
|
|
|
|
1 |
1595 |
29 Dec 2015 04:43 PM |
|
1 |
1902 |
24 Dec 2015 12:13 AM |
|
11 Replies and 2811 Views
Histogram correlation 2811 11
Started by Deleted User
I'm trying to determine correlation values between 2 histograms that I have created with ENVI/IDL. The histograms I have created are made from single band images and my IDL script outputs stat reports but I am having trouble figuring out a process to run correlation between these 2 histograms.
The idea is to have one standard image histogram that I would check many other image histograms against in order to determine correlation between them. Can anyone push me in the right direction
|
|
|
|
11 |
2811 |
16 Dec 2015 12:01 PM |
|
1 Replies and 2901 Views
&39;Tag name DOCLIP is undefined for structure IDLITMANIPVISVIEW&39; 2901 1
Started by Deleted User
Hello,
When calling the 'image' function in IDL 8.2, I sometimes get the following error:
"Tag name DOCLIP is undefined for structure IDLITMANIPVISVIEW".
Once it has appeared, the only solution is to restart the computer and sometimes I just cannot get rid of it.
Any help would be appreciated.
Thank you
|
|
|
|
1 |
2901 |
15 Dec 2015 01:57 AM |