|
|
|
|
|
23 Replies and 2389 Views
Contour procedure extremly slow, could be improved. 2389 23
Started by Deleted User
Hi,
I'm new to IDL and have been hired as a developer to improve the efficiency of an existing IDL application that is used as part of an operational system.
I have pin pointed one majorly slow part of the program down to the contour procedure. I'm not sure if this extends to IDL as a whole but this procedure seems to make very poor use of multi core systems.
As an example the data we pass to the contour procedure is a two-dimensional array 4051 x 2032.
Now this is a large am...
|
|
|
|
23 |
2389 |
04 Apr 2012 10:44 PM |
|
2 Replies and 1196 Views
idl help 1196 2
Started by Deleted User
respected sir,
i am a beginner in IDL.
my problem is that i have to open an image which is in ' .bin ' format
in idl.
i have converted it into ASCII format but stil its not opening.
how to open a DN value image in idl.
there is some other problem also.
as it is a satellite data image so its showing the dimension as '
Array&9114293248&93 '
which comes out to be ' 1184 * 3018 * 4 ' but its dimension is
in .CSV format which is ' 1184 * 3018 '
...
|
|
|
|
2 |
1196 |
03 Apr 2012 01:35 PM |
|
4 Replies and 1198 Views
2D scatter plot with color values range 1198 4
Started by Deleted User
Hi, I'd like to create a scatter plot with two independent variables and one dependent variable. The values of the dependent variable shoud be displayed as a colour range in the plot, and the two independent variables are to be shown on the x and y axis respectively.
Thanks in advance.
|
|
|
|
4 |
1198 |
31 Mar 2012 06:06 AM |
|
0 Replies and 1098 Views
need help to process the CALIPSO image using the IDL script 1098 0
Started by Deleted User
hello dear all ENVI IDL user,
I am facing the problem with processing the CALIPSO image for retrieving vertical feature mask. using the given IDL script in the CALIPSO website I have tried to run it, but it was not appeared in the way I want. does any body know how to retrieved the vertical feature mask in IDL I'm really thankful to them.
with regards,
Prasenjit.
|
|
|
|
0 |
1098 |
28 Mar 2012 02:09 AM |
|
0 Replies and 1010 Views
Problem with call_external - IDL 8.0 1010 0
Started by Deleted User
I am using the call_external command to run a little program that is written in CUDA (there is a C wrapper, which is what IDL calls). my problem is, it only works sometimes. Using the same shared object file, and the same instance of IDL, sometimes it gets all zeros back. I have done a bunch of debugging, and it seems the problem is with the loading of the SO file from IDL.
Any idea what could cause this
Let me know if you need more details.
EDIT to add more info: I am run...
|
|
|
|
0 |
1010 |
27 Mar 2012 10:47 AM |
|
3 Replies and 1370 Views
problems with IDL7.1 under mac os 10.7.3 1370 3
Started by Deleted User
I have problem to run IDL7.1 and corresponding ENVI software under MAC OS 10.7.3. The problem is shown as,
1. IDL7.1 is collapsed when I click on the graphic interface MENU.
2. when I start up ENVI, there is a error message shown as,
Attempt to subscript E_ROUTINES (ENVI_GLOBALS1_COMMON) with PTR is out of range.
Execution halted at: ENVI_CHECK_SAVE
ENVI_MM_SETUP
ENVI_M
ENVI
...
|
|
|
|
3 |
1370 |
27 Mar 2012 09:00 AM |
|
1 Replies and 1010 Views
Image not in range 1010 1
Started by Deleted User
Hello,
I'm sub-setting a large amount of images to a .evf file. The code works but if the image is not within the .evf boundary then I get an message that say's: Array dimensions must be greater than zero. The message makes sense but it stops the code and I have to manually bypass the images that's not in the .evf boundary. Is there a IDL code that allows me to bypass the images without manually taking out the images in the code
Thanks
|
|
|
|
1 |
1010 |
26 Mar 2012 08:57 AM |
|
1 Replies and 1048 Views
Can not change rgb_table and rgb_indices 1048 1
Started by Deleted User
Hi, guys:
I excute the fellowing example code:
file = FILEPATH('convec.dat', $
SUBDIR=&91'examples', 'data'&93)
z = READ_BINARY(file,DATA_DIMS=&91248,248&93)
index = &9130,60,90,120,150,220,255&93
c = CONTOUR(z, /FILL, ASPECT_RATIO=1, $
RGB_TABLE=39, RGB_INDICES=index, C_VALUE=index)
and I want to change the rgb_table and rgb_indices, like
c.rgb_table = 0
c.rgb_indices = index-15
but nothing change in the graphics window, why
...
|
|
|
|
1 |
1048 |
24 Mar 2012 04:53 AM |
|
4 Replies and 1279 Views
Multiple ROIS - Stats - ADDR Error 1279 4
Started by Deleted User
I have been using the code below to automate the process of calculating ROI stats for multiple ROI's in ENVIIDL 4.8
envi_select,title='input filename',fid=fid,pos=pos
name=envi_pickfile(title='roi file',filter='*.roi')
envi_restore_rois,name
...
|
|
|
|
4 |
1279 |
20 Mar 2012 05:39 AM |
|
1 Replies and 930 Views
Problem downloading IDL 930 1
Started by Deleted User
Hi,
I can not download IDL from the URL:
http://www.exelisvis.com/language/en-US/Downloads/ProductDownloads.aspx, by choosing the "IDL" options.
I get the error message:
...
|
|
|
|
1 |
930 |
15 Mar 2012 01:24 AM |
|
1 Replies and 962 Views
Calling tree 962 1
Started by Deleted User
Hello,
I was given an IDL programm, with many routines, many files. I would like to see at a glance which routine is calling which routine.
That's why I was thinking of using something like a calling tree generator, as doxygen e.g. I didn't find anything on the web to generate a calling tree, or to help to see who is calling who.
Any help would be appreciated!
Thanks a lot,
C Mazoyer
|
|
|
|
1 |
962 |
13 Mar 2012 03:33 AM |
|
6 Replies and 1095 Views
setdata method reset the view! 1095 6
Started by Deleted User
Hello,
I using the fellowing example code
; Read the data.
RESTORE, FILEPATH('globalwinds.dat', SUBDIR=&91'examples','data'&93)
; Set up the map projection, grid, and continents.
mapimage = MAP('Equirectangular', LIMIT=&910,-180,89,-30&93)
cont = MAPCONTINENTS(/CURRENT)
; Display the vector data on top of the map.
vect = VECTOR(u, v, x, y, /OVERPLOT, RGB_TABLE=39, AUTO_COLOR=1)
I use mouse to translate and scale the vector graphics and zoom to a small...
|
|
|
|
6 |
1095 |
12 Mar 2012 12:04 AM |
|
2 Replies and 943 Views
contour function 943 2
Started by Deleted User
Hi! I am new here and have been programming in IDL for about 23 years. So here goes.
Must one create a window for the contour function to operate Can I simply supply the
contour function with xrange=&910,1799&93 and yrange =&910,1799&93, for example without
first creating
window,1,/pixmap,xsize=1800,ysize=1800,retain=2
Would like to reduce my code, reduce memory usage and speed the program up.
|
|
|
|
2 |
943 |
09 Mar 2012 11:49 AM |
|
1 Replies and 1069 Views
E3De 1069 1
Started by Deleted User
I am debating to purchase the E3De LIDAR application or another similar one. The main use that I will have is to automatically convert multiple LAS files into a DEM surface. Additionally will need to split the LAS classes first to ground class only. Is the E3De application good to use for this purpose
|
|
|
|
1 |
1069 |
09 Mar 2012 08:13 AM |
|
2 Replies and 843 Views
Preprocessing 843 2
Started by Deleted User
Is there a script for IDL that can batch process QuickBird radiance from the basic tools > preprocessing > calibration utilities > QuickBird Radiance
I have a lot of images I need to process and it would be very helpful if I could automate the process.
Thanks
|
|
|
|
2 |
843 |
07 Mar 2012 05:28 PM |
|
1 Replies and 982 Views
Band Math Error 982 1
Started by Deleted User
Hello,
I'm new to IDL and I'm trying to run some band math equations on a lot of images. My script works for the first 100 images or so, but doesn't work on the rest. It says that the imagery must be a scalar or 1 element array in this context: . It seems that when I import the images into ENVI they display this ( fid = Long &912&93 ); while the other images displayed this ( fid = 2 ). Here is the script for an example image that does not work:
PRO Test
; Restore the cor...
|
|
|
|
1 |
982 |
01 Mar 2012 11:07 AM |
|
2 Replies and 1410 Views
IDL v8.1Mac Lion: Problem with Time Machine when using command line 1410 2
Started by Deleted User
When launching IDL v8.1 in command line with Mac os X Lion, I got the following warning message: “This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.” One workaround is to type "sudo /Applications/itt/idl/idl81/bin/idl" once (you have Administrator privileges). The error message no longer appears. After having done that, simply launch IDL without Admin privileges and it should work fine.
|
|
|
|
2 |
1410 |
29 Feb 2012 11:37 AM |
|
1 Replies and 1010 Views
IDL Virtual machine download failure 1010 1
Started by Deleted User
Why can I not download IDL Virtual machine. Ialwasy become "access denied" though i have been logged in for several weeks
|
|
|
|
1 |
1010 |
26 Feb 2012 06:23 AM |
|
1 Replies and 903 Views
Display nothing in widget_window? 903 1
Started by Deleted User
Hi guys:
I use IDL 8.1. I run the fellowing code and get nothing display in wedget window:
wBase = WIDGET_BASE(/COLUMN,MAP=0)
wDraw = WIDGET_WINDOW(wBase, XSIZE=400, YSIZE=400, RENDERER=1, UNAME='DRAWAREA')
WIDGET_CONTROL, wBase, /REALIZE
; Retrieve the newly-created Window object.
WIDGET_CONTROL, wDraw, GET_VALUE=oWin
oWin.erase
oWin.select
p = PLOT(/TEST, /CURRENT, /FILL_BACKGROUND)
WIDGET_CONTROL, wBase, MAP=1, /SHOW
When I remove 'oWin.era...
|
|
|
|
1 |
903 |
25 Feb 2012 06:39 PM |
|
1 Replies and 1203 Views
Griddata - Polynomial 1203 1
Started by Deleted User
Hello!
I am using the griddata function for a polynomial regression.
Triangulate, XDTM, XDTM, TrZ
Z = Griddata(XDTM, YDTM, ZDTM, Xout = &91X&93, Yout =&91Y&93, /Polynomial_Regression, Power = 1, Search_Ellipse = 50, Triangles = Tr)
I want to interpolate only one point (X, Y, Z), using polynomial regression form dataset XYZDTM using a 50 radius.I have no troubles to get a Z elevation, but i would like to get which points has been used to make interpolation. In other wo...
|
|
|
|
1 |
1203 |
22 Feb 2012 01:30 PM |
|