|
|
|
|
|
1 Replies and 1365 Views
DAYMET data in IDL 1365 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 |
1365 |
09 Feb 2016 11:46 AM |
|
1 Replies and 1706 Views
IDL error 1706 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 |
1706 |
02 Feb 2016 12:21 PM |
|
1 Replies and 1607 Views
Problem reading dicom data into some computers 1607 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 |
1607 |
28 Jan 2016 04:22 PM |
|
2 Replies and 4971 Views
Run IDL script from Windows Command Line 4971 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 |
4971 |
28 Jan 2016 09:55 AM |
|
2 Replies and 1722 Views
interpolate irregular 3D grid 1722 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 |
1722 |
27 Jan 2016 11:16 AM |
|
2 Replies and 2007 Views
Build Mask Based on One Bands&39; DN 2007 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 |
2007 |
26 Jan 2016 02:09 PM |
|
1 Replies and 2734 Views
call_external error in IDL 64bit version ? 2734 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 |
2734 |
21 Jan 2016 09:20 PM |
|
6 Replies and 2564 Views
export to tiff 2564 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 |
2564 |
20 Jan 2016 12:40 PM |
|
1 Replies and 1501 Views
Finding Maximum in noisy function. 1501 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 |
1501 |
19 Jan 2016 05:01 PM |
|
3 Replies and 1830 Views
Batch Processing MTL&39;s 1830 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 |
1830 |
16 Jan 2016 03:08 PM |
|
2 Replies and 1520 Views
Suppressing ENVI windows 1520 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 |
1520 |
12 Jan 2016 10:46 AM |
|
2 Replies and 1729 Views
IDL to Python Bridge - _iLocIndexer 1729 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 |
1729 |
08 Jan 2016 04:01 PM |
|
3 Replies and 1532 Views
Check if a File is being read in correctly 1532 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 |
1532 |
06 Jan 2016 08:08 PM |
|
1 Replies and 1586 Views
trouble using "where" command in IDL 1586 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 |
1586 |
04 Jan 2016 10:33 AM |
|
2 Replies and 1619 Views
object method as function_name 1619 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 |
1619 |
30 Dec 2015 11:56 AM |
|
1 Replies and 1372 Views
Running IDL 8.2 on Mac OS X 10.10 Yosemite 1372 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 |
1372 |
29 Dec 2015 04:43 PM |
|
1 |
1639 |
24 Dec 2015 12:13 AM |
|
11 Replies and 2481 Views
Histogram correlation 2481 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 |
2481 |
16 Dec 2015 12:01 PM |
|
1 Replies and 2612 Views
&39;Tag name DOCLIP is undefined for structure IDLITMANIPVISVIEW&39; 2612 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 |
2612 |
15 Dec 2015 01:57 AM |
|
1 Replies and 1644 Views
change detection 1644 1
Started by Deleted User
hi, I'm working on NDVI changes over time. i have calculated the NDVI for 2 years, but I need guidance on how to calculate areas of change based on threshold limits.
so i guess my question is how do i calculate the threshold between these 2 images
|
|
|
|
1 |
1644 |
12 Dec 2015 08:49 AM |