X
Search this forum:
Search
You are not authorized to create a new topic
Page 60 of 126 << < 5859606162 > >>
Topics
 Replies
 Views
 Last Post
2 Replies and 1092 Views [urgent] help on binary data reading  1092  2 Started by  Deleted User Hi guys, firstly, im very new with this language so im kinda lost. well i'm actually trying to modify a software programmed in idl. This software converts unformatted binary file into ascii type format. Now, the problem is that when a number in the binary file is too long, it will combine with the previous number which results only one number in ascii file. This is very problematic because i've created another program that reads and processes the ascii file, and this problem will cause a d...
2 1092
27 Apr 2011 02:32 AM
0 Replies and 1341 Views create XYZ text file from floating array  1341  0 Started by  Deleted User (IDL6.3 - windowsXP) I have a flloat array with dimensions 8100, 6805. Only about 300,000 of those points have values (others are all zero "nodata"). The data set is "georeferenced" (i.e. I know the lower left lat/lon and the degrees per pixel). I want to be able to do two things: 1) Export this array as an XYZ text file for ONLY the non-zero values. 2) Ideally, I want the text file to have lat/lon, and not column-row (X-Y) locations for each va...
0 1341
21 Apr 2011 10:51 AM
0 Replies and 1391 Views Piper Diagram  1391  0 Started by  Deleted User Has anyone tried creating a Piper Diagram in IDL (http://en.wikipedia.org/wiki/File:Mtshabezi_chemistry.png) Thanks, John
0 1391
18 Apr 2011 01:01 PM
0 Replies and 1208 Views How to read multiple binary files?  1208  0 Started by  Deleted User Dear all, I have multiple binary files in a folder. Now I want to read them with IDL and do some analysis. But how to read multiple files to an array variable Please give me some help. Thanks.
0 1208
17 Apr 2011 05:54 PM
1 Replies and 1865 Views IDL 8.1 now available  1865  1 Started by  Deleted User IDL 8.1 is available for download from the ITT VIS website. Highlights include:  - Control of graphics events in the new graphics - File support for KML/KMZ, GRIB and video output - Updated high resolution map data - Image processing and analysis routine enhancements  - Code management tools for the IDL workbench IDL licenses that are current on software maintenance are entitled to this new release.  Bill Okubo, IDL Product Manager
1 1865
14 Apr 2011 02:18 PM
0 Replies and 1321 Views Elliptical cone  1321  0 Started by  Deleted User Hello forum, I would like to create right centered (not oblique) cone that has an elliptical base. I suppose that MESH_OBJ is the starting point but maybe some of you have better ideas...
0 1321
13 Apr 2011 02:23 AM
2 Replies and 854 Views IDLnetURL function  854  2 Started by  Deleted User I want to use IDLnetURL function to download data from a remote ftp site. However, I found that ziped files(*.Z) that downloaded have wrong file sizes and cannot be unziped. Files in other format and downloaded from the same ftp don't have this problem. Any idea what's going on Thanks!
2 854
08 Apr 2011 02:36 PM
1 Replies and 1328 Views How to create new matrix based on specific condition  1328  1 Started by  Deleted User Hi all, I have ten images, I guess it also means 10 matrixes. I want to apply a "IF" condition to those matrixes for each pixel. And finally I want to generate a new matrix which based on the 'IF' condition. Specific, if the the pixel located at Row:5, Col:12 of original matrix_3(the third original matrix) match the "IF"condition. Then the value of Row_5 Col_12 of output matrix is 3. I'm not sure whether I describe the problem clearly. Thanks for...
1 1328
07 Apr 2011 06:28 PM
3 Replies and 1249 Views IDL 8.0 Contour function  1249  3 Started by  Deleted User I am playing with the new contour function. I would like to generate a series of contour plots with fixed scales. However, I could not find the argument that I can use to specify the exact levels I want. I have tried n_levels, min_value and max_value, c_value...None of them work. Help!!
3 1249
07 Apr 2011 02:19 PM
2 Replies and 1341 Views Clearing list from WIDGET_LIST  1341  2 Started by  Deleted User How do I delete the content (the rows of strings) of a WIDGET_LIST I tried using WIDGET_CONTROL, ..., SET_VALUE=null but nothing seems to happen I'm unexperienced with IDL so any help would be appreciated. Thanks, Stefan
2 1341
06 Apr 2011 02:48 AM
1 Replies and 1453 Views Accelerate Where() function  1453  1 Started by  Deleted User I have a long 2-column array and need to subgroup the data. Something like this: a = dblarr(2,62500) readdata(file,a) for i=0,6250-1 do begin b = lindgen(100)i*100 ; b may be random for j=0,99 do begin index = where(a&911,*&93 eq b&91i&93, count) if (count ne 0) then sub = a&910,index&93 ... endfor endfor It is extremely slow for the indexing part. Is there a way to remove the inner for cycle but simply use where(a&911,*&9...
1 1453
04 Apr 2011 09:54 AM
4 Replies and 1921 Views Vectors in IF condition  1921  4 Started by  Deleted User Hello, I have a simple line in my code: IF A EQ B THEN C=2 Variables A and B are vectors (of equal length), so the operator "EQ" also returns a vector, which "IF" statement does not want to accept. This is the error I've got from IDL: " Expression must be a scalar or 1 element array in this context: ." Question: how it is possible to compare vectors and use the result as a condition in IF statement in IDL Alexander
4 1921
04 Apr 2011 05:53 AM
0 Replies and 1135 Views How to determine a pixel whether within the ROI or not ?  1135  0 Started by  Deleted User When a image is subset by the ROI(blue line in the image), some pixels on the boundary was included. However, I want to keep the pixels that completely or a percentage threshold value such 90 of pixel area located within the ROI, which is not contaminated by the boundary objects such as the road. However, I found it difficult to get these pixel through IDL because no ENVI routines supported for this operation. I am also try do this by a simple way. I am removed the pixels of the fir...
0 1135
01 Apr 2011 09:16 PM
2 Replies and 1060 Views how to read date variable using idl  1060  2 Started by  Deleted User anyone could help me out now, I am wondering how to read the date variable such as "11:00/04/01/2011" in a Excell file, and how to plot it in coordinates system. Best wishes, Donald
2 1060
31 Mar 2011 08:21 PM
1 Replies and 2156 Views Reading multiple HDF/NCDF files in IDL running under Fedora 13  2156  1 Started by  Deleted User I have been struggling with the following problem. Ever since having a new operating system installed (Fedora 13, GNOME) I have problems with reading multiple HDF4/HDF5/HDF-EOS/NETCDF files in IDL (either 7.1 or 8.0). After reading a number of files - it depends on the amount of data that is being read - IDL simply stalls without error message and the only way out is to actually kill IDL. I encountered this first when running a script for reading one year of daily MOPITT data, which I ha...
1 2156
30 Mar 2011 07:42 AM
1 Replies and 1378 Views Using spawn command with variables  1378  1 Started by  Deleted User Hi, I am interested in using the spawn command in IDL to search for a list of files and store them in a variable. Something like: spawn, &91'find /Volumes/folder1/*.lc'&93, sourcefiles will store all of the file paths in an array sourcefiles, which I can access individually. Is there a way to use the spawn command with a idl/unix variable storing the path, such as: path='/Volumes/folder1/*.lc' spawn, &91'find' path&93, sourcefiles. I'm ...
1 1378
29 Mar 2011 12:22 PM
0 Replies and 1079 Views Object graphics for volumes  1079  0 Started by  Deleted User I've written a widget-based application that aligns two images relative to one another using a combination of user interaction and automatic registration based on mutual information. It uses object graphics (namely IDLgrImage) to allow the user to roughly align the images, then uses the transformation matrix from this as the initial values for the registration algorithm. I want to extend the functionality of the program to aligning 3D volumes. Ideally, I'd display 2D slices from the volumes ...
0 1079
27 Mar 2011 02:55 PM
2 Replies and 1393 Views Changing to a new license server  1393  2 Started by  Deleted User We have a floating license serving several High Performance Compute clusters. We need to change to a new license server machine. ITT Vis very promptly re-hosted my license key, and I have the Flexlm and IDL_lmgrd daemons running on the new machine. So far, so good - but wait - For each user on the compute cluster, IDL creates the file ~/.flexlmrc and uses it to stash the user's last known license definition. We laboriously diagnosed this the last time we had to migrate a license server ...
2 1393
24 Mar 2011 04:24 PM
0 Replies and 1516 Views Can idl create land sea mask  1516  0 Started by  Deleted User Hi, I am a new idl user and I need to know if I can create a land sea mask with idl. it should be made by three column, latitude,longitude and 1(land) and 0(sea). can i import a topographic map in idl and change it thanks claudia
0 1516
23 Mar 2011 09:46 AM
2 Replies and 2966 Views Array has too many elements error  2966  2 Started by  Deleted User Hello, I have the following lines in my code for calculation of mean values in a ROI in a 3-colour image: TV, I_disp, TRUE=1 ROI=CW_DEFROI(WG_Window_I, IMAGE_SIZE=&91500,500&93, OFFSET=&910,0&93) ROI_X=ROI MOD 500 ROI_Y=ROI/500 M=mean(I_disp&912, ROI_X, ROI_Y&93) When I select a large ROI (2500 points) in a 500x500 image with CW_DEFROI, IDL returns an "Array has too many elements" error in the last line "M=mean(I_disp&912, ROI_X, ROI_Y&93)" I would...
2 2966
22 Mar 2011 09:00 AM
You are not authorized to create a new topic
Page 60 of 126 << < 5859606162 > >>