|
|
|
|
|
0 Replies and 1124 Views
Memory runs out in Mac (10.7) but same code works perfectly in Windows (XP) 1124 0
Started by Deleted User
I have an IDL code to read a set of data files and after some processing I save 4 NetCDF files for each one of the original data files. This code works perfectly on Windows PC, but on Mac the memory runs out and IDL crashes. I tried to improve using temporary and delvar but it does not help on Mac. Then I run this code in a Windows PC and it worked as I reported above.
It seems that every time I save these NCDF files the used memory are not released after the IDL procedure appointed to do that...
|
|
|
|
0 |
1124 |
12 Mar 2013 03:42 AM |
|
1 |
1505 |
08 Mar 2013 03:57 AM |
|
1 Replies and 1194 Views
how to write matrix multiply function using cycle 1194 1
Started by Deleted User
How to write function which will multiply matrices, using cycle (loop)
I know the integrated and , but I need to write my own function..
Can anyone help me, please
|
|
|
|
1 |
1194 |
27 Feb 2013 06:40 AM |
|
2 Replies and 1557 Views
IDL-IDL Bridge and ENVI API 1557 2
Started by Deleted User
Hi,
I'm built an ENVI extension composed of two files:
main.pro
login.pro
The main.pro contains the widgets logic while the logic.pro has the code to process an image. I used the IDL-IDL bridge functionality to call logic.pro from main.pro but I'm running into an issue when I try to call an ENVI API inside logic.pro.
I get the message error:
IDL_IDLBRIDGE Error: Attempt to call undefined procedure/function: 'ENVI_OPEN_FILE'.
I'm using IDL8.2 together with ENVI 5. The ENVI_OP...
|
|
|
|
2 |
1557 |
22 Feb 2013 04:39 AM |
|
1 Replies and 1276 Views
Problems with CONTOUR Function 1276 1
Started by Deleted User
Hello,
I am trying to use the new IDL graphics, but am struggling with a couple aspects. I have two questions:
1. How can you overplot a single contour that has a value of ZERO If I set c_value=0, that tells CONTOUR to use N_LEVELS. I can generate the filled contour plot just fine, but I like to overplot the zero line.
2. How can you change the number of major ticknames for the COLORBAR function I would like to compose a figure that has e.q. 21 filled contours, but a discrete color bar t...
|
|
|
|
1 |
1276 |
21 Feb 2013 02:11 PM |
|
1 Replies and 1294 Views
Performing multiple transformations in one batch script?? 1294 1
Started by Deleted User
Hello all,
I am writing to request help calculating multiple indices, topo variables, and other transformations (for a large number of files) in one script.
I am working with multiple seven band composites of integer (BSQ) Landsat TM5 surface reflectance and NED elevation data. I need to calculate NDVI, NDWI, and MNDWI on each input file. I also need to calculate some topographic variables including slope, aspect, and hillshade. Finally, if possible, I would like to run a Tasseled Cap and PC...
|
|
|
|
1 |
1294 |
21 Feb 2013 07:19 AM |
|
1 Replies and 1167 Views
Subsetting images automatically using a shapefile! 1167 1
Started by Deleted User
Hey,
I managed to write a programm with IDL to automatically load and project .hdf files in a folder and to save those files as geotiff. I would now like to subset all the image, which ar of global coverage, in order to save storage space and to focus on the area of interest. Does anyone already have a script to subet images using a shapefile as reference I am using IDL 8 and therefore would like to use shapefiles not .evf files or the ROIs.
Any help appreciated.
Greetings
Stef
|
|
|
|
1 |
1167 |
19 Feb 2013 03:20 AM |
|
1 Replies and 1171 Views
ENVI and customers 1171 1
Started by Deleted User
ENVI
hear what your customers need... You just made new useless interface than only few have used it...
|
|
|
|
1 |
1171 |
15 Feb 2013 04:01 PM |
|
0 Replies and 1066 Views
Tab highlighting in widget_tab 1066 0
Started by Deleted User
Hi
I am using widget_tab to create some tabs, and I occasionally change the current tab programmatically, using widget_control, set_tab_current. What I would like now, is to highlight the current tab somehow, either by changing the background color (preferably), or change the color of the tab-title, or make it bold.... or something else.... So far I haven't found a solution to this problem. Can anyone help me with this
Thanks very much
|
|
|
|
0 |
1066 |
15 Feb 2013 07:31 AM |
|
2 Replies and 1551 Views
Computing eigenvectors from a 3D dataset 1551 2
Started by Deleted User
Has anyone out there developed or know of any code for calculating the eigenvectors / eigenvalues of a three-dimensional array All of the standard functions (EIGENVEC, LA_EIGENVEC, etc.) only compute them for nxn matrices. The arrays I'm using are cubic but not symmetric. Any help much appreciated!
|
|
|
|
2 |
1551 |
14 Feb 2013 06:54 AM |
|
1 Replies and 1664 Views
Save Indices of Non-Missing Values of 2D Arrays the IDL Way 1664 1
Started by Deleted User
Hi everyone,
I am pretty new to IDL, have only been using it for a few months, and am now very stuck when manipulating 2D arrays.
I am trying to save the indices of non-missing values of tpw and m9 so I can exclude the missing values. Missing values in these datasets are denoted as -999.000. The dimensions of these two variables are Float&913601,1860&93. To exclude the missing values, I need to preserve the dimensions of the variables as I will need to map these. The existing IDL mapping ro...
|
|
|
|
1 |
1664 |
13 Feb 2013 11:46 AM |
|
6 Replies and 1270 Views
RGB image, lowest intensity = white 1270 6
Started by Deleted User
Hi,
I'm a chemist and at work we use IDL to make programs to visualize our data. One of such data visualizations are Red Green Blue overlay images, where each color represents a different element/compound and the total image shows the distribution of these elements in a sample. Below you can see the code we use to create these RGB images (I start off here with generation of some random data, just to give you an idea):
;Create image data
a=fltarr(500,500,3)
for i=0,499 do ...
|
|
|
|
6 |
1270 |
13 Feb 2013 05:49 AM |
|
1 Replies and 1123 Views
IDL script for MODIS-Aqua level3 1123 1
Started by Deleted User
Hello!
I work with MODIS-Aqua level3 mapped data.
I just need to cut some region from chlorophyll HDF files, example: A2013021.L3m_DAY_CHL_chlor_a_4km (array 8640,4320).
Ussualy I use ENVI for this goal, but as it is necessary to process a great number of files (the period 2033-2012), I tried to write script in IDL.
But I have no experience in IDL programming, it is really challenge for me and I have not yet succeeded.
Could you possibly help me with my script I would appreciate any you...
|
|
|
|
1 |
1123 |
12 Feb 2013 05:37 AM |
|
2 Replies and 1228 Views
Envi_convert_file_coordinates inaccurate? 1228 2
Started by Deleted User
Hello-
I'm a fairly inexperienced IDL user, but I'm working with someone who has considerably more experience and we're both stumped. Here's what we're trying to do. It's a bit complicated (at least to me!), so I hope this makes sense:
We have an ENVI file classified into 5 classes. Our hope is to randomly generate 30 lat/long points within EACH class (30 points/class), so that the random points can be identified in ArcGIS and compared to a high-resolution image to validate the classification....
|
|
|
|
2 |
1228 |
11 Feb 2013 01:01 PM |
|
3 Replies and 1499 Views
Add string to float 1499 3
Started by Deleted User
Hello,
I have a float array that lists a number of wavelengths like this:
12345
12345
12345
I would like to concatenate this array with a list of strings before them in order to get the following result in a txt file or as a variable:
Prairie1 12345
Prairie2 12345
Prairie3 12345
Can anybody help me
Cheers,
|
|
|
|
3 |
1499 |
06 Feb 2013 12:31 PM |
|
1 Replies and 1199 Views
X Windows on multiple monitors 1199 1
Started by Deleted User
Hi,
I have recently added a second monitor to my iMac and now whenever I create a plot window the window appears split between the two monitors. Is there anyway of defining where the windows are created by default in my idl startup script for example I'm using IDL 8.2.1 on mac os x 10.8
Thanks!
|
|
|
|
1 |
1199 |
04 Feb 2013 08:23 AM |
|
5 Replies and 1398 Views
fedora 18 - gnome - Fatal Error Initializing DML 1398 5
Started by Deleted User
After years on windows, I decided to give linux a try. I installed IDL 7.0 and immediately ran into some problem.
First it was the link to run idlde that was just a 0 byte file.... I found the correct executable and replaced this 0 byte file with a correct symbolic link.
Then, as idlde was openning, I got a "Fatal Error Initializing DML". googled about it, (seems this sort of problem is quite common on 64bit systems, but mine is an oldie Pentium 4, so 32bits) found about ldd and ins...
|
|
|
|
5 |
1398 |
04 Feb 2013 05:57 AM |
|
8 Replies and 1599 Views
Widget_table bug 1599 8
Started by Deleted User
Can someone tell me if the bug with Widget_table creating tables that are too wide and then automatically scrolling across when you click in the last column showing a blank white area is recorded in Exelis bug system And if so how can I be notified when this bug is fixed I've been asked by my employer to fix this bug in an application and my only answer to them is its a bug with IDL itself which I cannot fix.
Looking at this forum post http://objectmix.com/idl-pvwave/303661-removing-scroll-b...
|
|
|
|
8 |
1599 |
03 Feb 2013 05:44 PM |
|
1 Replies and 2460 Views
Converting ASD spectra to ASCII 2460 1
Started by Deleted User
Hello,
I am currently working on a project where I have to create a routine in order to process 2500 spectra from a field spectrometer. The files provided come in a ASD binary format that ENVI can read. I can import the files, then export them to ascii files (2 columns: wavelength, measure) using the spectral library. However, as they are classed in different folders depending on the study area, I would like to process them in IDL directly.
When I try to open them using openw, lun,"P003-...
|
|
|
|
1 |
2460 |
29 Jan 2013 11:41 AM |
|
2 Replies and 1204 Views
contour plots 1204 2
Started by Deleted User
How do I set the colors for a contour plot if I want 10 colors ranging from blue to red
|
|
|
|
2 |
1204 |
22 Jan 2013 07:41 AM |