|
|
|
|
|
4 Replies and 1383 Views
IDL crashes during the use of Common Variables 1383 4
Started by Deleted User
Hi,
I'm using IDL 8.2.3 on a Windows 7 64 bit machine. I´m getting in to trouble when I use common variables in connection with the function lsode.
I do not have the problem running the same code with the same idl version on a linux machine. Has anybody an idea on this
Edit: Java runtime environment is up to date. The header of the error log is:
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fed7b9...
|
|
|
|
4 |
1383 |
06 Dec 2013 05:18 AM |
|
4 Replies and 1484 Views
Triangulate function 1484 4
Started by Deleted User
Hello
I am using the triangulate function to get tr variable from xy points.
Trinagulate, x, y, tr
I would like to know for a point X1 and Y1, how to know speedly the tr id which contain this point...
(What is the id of tr which contains point X1, Y1)
Thanks a lot
aurelien boulben
|
|
|
|
4 |
1484 |
05 Dec 2013 02:32 PM |
|
1 Replies and 2101 Views
loading .mat file in IDL 2101 1
Started by Deleted User
I am new bee in ENVI IDL,I want to load .mat file in IDL.I have tried with OPENR but it requires to assign array variable (BYTARR).I want to do loading of .mat without assigning array variable.Please help me through this.
|
|
|
|
1 |
2101 |
20 Nov 2013 06:15 AM |
|
5 Replies and 1746 Views
How to get all the combinations of N arrays by choosing one element from each array at each time 1746 5
Started by Deleted User
Hi, everyone
I have N arrays, take N = 3 as an example, array1 = &911, 2, 3&93, array2 = &914, 5&93 and array3 = &916, 7 ,8, 9&93. I want to get one element from each array at each time to combine them into a new array that has N elements. For example, I choose 1 from array1, choose 4 from array2, and choose 6 from array3, then get a 3 elements newarray = &911, 4, 6&93. I want to get all of these combinations( in this example, it has 3 * 2 * 4 = 24 combinations). My question is how t...
|
|
|
|
5 |
1746 |
19 Nov 2013 05:55 AM |
|
1 Replies and 1484 Views
MATHSTAT_114: Dynamically loadable module is unavailable on this platform: IMSL 1484 1
Started by Deleted User
When running IDL 8.2.3 from command line or GUI, I get the error in the subject line. What is wrong I tried launching idl -32 per https://www.exelisvis.com/Support/HelpArticles/TabId/185/ArtMID/800/ArticleID/5025/5025.aspx but this did not solve the problem.
Thanks!
|
|
|
|
1 |
1484 |
18 Nov 2013 07:01 PM |
|
1 Replies and 1268 Views
layer stacking routine --> read_tiff error 1268 1
Started by Deleted User
Hello,
I am trying to read a bunch of tiffs that were created programmatically with ENVI's layer stacking routine into arrays, but keep getting an error. Turns out when I query_image on one of the tiffs, a 0 is returned, indicating (from http://www.exelisvis.com/docs/QUERY_IMAGE.html): The return status will indicate failure for files that contain formats that are not supported by the corresponding READ_* routine, even though the file may be valid outside the IDL environment.
I'm not quite clea...
|
|
|
|
1 |
1268 |
18 Nov 2013 07:38 AM |
|
1 |
1172 |
15 Nov 2013 07:15 AM |
|
1 Replies and 1152 Views
Eror in Mosaic_doit, replicate_inplace: variable is undefined, converstion destination variable 1152 1
Started by Deleted User
Hi all
I was trying to mosaic the MODIS aerosol MOD04 files to a big one. and the error appears as given in the title.
could any help to debug this thanks a lot.
fids = LONARR(N_elements(index_yy_dd))
pos = LONARR(3, N_elements(index_yy_dd))
DIMS = LONARR(5, N_elements(index_yy_dd))
MAP_INFO =replicate(map, N_elements(index_yy_dd))
for i = 0, N_elements(index_yy_dd)-1 do begin
envi_open_file, filelist&91index_yy_dd&91i&...
|
|
|
|
1 |
1152 |
14 Nov 2013 08:12 PM |
|
1 Replies and 1995 Views
Error Handling 1995 1
Started by Deleted User
I have a program that takes files from a directory and calls another procedure to do data manipulation on it. Sometimes the procedure being called throws an error, it is not always in the same place. This causes the program to stop and then I have to manually restart it remove the offending file from the directory. What I would like to happen is that if any error is throw the first program moves the file out of the directory and then starts on the next file in the directory. I have tried the cat...
|
|
|
|
1 |
1995 |
10 Nov 2013 12:05 PM |
|
2 Replies and 1267 Views
Is it possible to convert classification image in a single evf file? 1267 2
Started by Deleted User
Hi, everyone
Recently, I got a classification image by using ENVI, and I want to convert it to a single evf file, I have tried to use 'rtv_doit', but it can only convert one class each time by specifying the value keywords, so I wonder is it possible to convert classification image in a single evf file Thanks in advance.
|
|
|
|
2 |
1267 |
10 Nov 2013 09:50 AM |
|
1 Replies and 1373 Views
ROI Region Intersect in IDL/ENVI API 1373 1
Started by Deleted User
Greetings,
I have a multi-band image, that I would like to mask based on criteria from each band of the image. I use the ROI_THRESH_DOIT to create the ROI for each band separately. Now I would like to intersect the regions for all the bands of the images to create the mask.
How can I do so programmatically
|
|
|
|
1 |
1373 |
07 Nov 2013 11:12 AM |
|
0 Replies and 1155 Views
setting up .dat file color table in IDL 1155 0
Started by Deleted User
Hello all,
I am preparing a large amount of .dat (and .hdr) files in IDL, to be view in ENVI and elsewhere. Is there a way to prepare color tables for the images (which are floating-point rasters) so that when they are opened up in ENVI the images will automatically be displayed according to said color table
When I load the image into ENVI and right click --> Change Color Table, and change the color table to a specific scale, the image is displayed the way I (for the most part) desire. I am won...
|
|
|
|
0 |
1155 |
04 Nov 2013 02:47 PM |
|
3 Replies and 1079 Views
sub-pixel 1079 3
Started by Deleted User
hello
i'd like to make a code for a landsat 8 image file to know the percentage of each material in the image . i read and find that sub-pixel is the best way . but i don't know how can i start
|
|
|
|
3 |
1079 |
04 Nov 2013 02:43 AM |
|
1 Replies and 1372 Views
Negative array index 1372 1
Started by Deleted User
I wanted to turn off negative index using the commands "COMPILE_OPT STRICTARRSUBS"
. Assume x = indgen(100). New IDL 8 returns error for x&91&91-1,-2&93&93, but not for x&91-1&93. Is there anyway that I can turn off the negative indexing completely
Thank you in advance!
|
|
|
|
1 |
1372 |
01 Nov 2013 02:11 PM |
|
1 Replies and 1198 Views
writing fixed-length strings to netcdf-4 1198 1
Started by Deleted User
I have an IDL script that creates a netCDF-4 file with a bunch of variables in it. I want one of them to be an array of fixed-length strings. I would like the file to recognize that it is a fixed-length string if possible. When I try to use the /STRING option to ncdf_vardef, I typically get an error. Does anyone know how to do this I can successfully write single characters using the /CHAR option, but not fixed-length strings.
Thanks!
Chris O'Dell
|
|
|
|
1 |
1198 |
29 Oct 2013 10:42 AM |
|
3 Replies and 1220 Views
Read binary files in a loop 1220 3
Started by Deleted User
Hi,
I am a new IDL user. For the purposes of my work I need to read a large number of binary files in a loop and then save them as ascii files. I was hoping you could help me with that. The program that I am using can only read one file at a time 'fpname' and then spit out 4 output variables on the screen: swdnsrf,lwdnsrf,swupsrf,lwupsrf.
To execute the code I run the command: read_fluxes, './app_n025_2011350_1400.SurfFluxes',swdnsrf, lwdnsrf, swupsrf, lwupsrf
where '
app_n025_2011350_1400.Surf...
|
|
|
|
3 |
1220 |
28 Oct 2013 11:49 AM |
|
1 Replies and 1255 Views
write_jpeg inside a loop 1255 1
Started by Deleted User
hello. I'm still pretty new to idl, so bare with me.
I'm trying to read a load of .fits files, plots those files and then save the plots using the write_jpeg function. But I'm trying to do it all inside a loop so that it reads a file -> saves the plot ->reads next file ->saves that plot.. etc.
But when it writes a new jpeg file, it overwrites the previous one and I want to save them all in the same directory with names image1, image2, image3.. etc.
What is the write_jpeg syntax for this
Thanks
|
|
|
|
1 |
1255 |
25 Oct 2013 10:27 AM |
|
2 Replies and 1298 Views
How to fast the picture saving speed? 1298 2
Started by Deleted User
Hi, guys:
I use new graphics function to produce hundreds of pictures.
But I find thar saving the picture to png file is very slow. Every
minutes, just five pictures were saved. So, how can I fast the picture
saving speed. Very thanks!
Dave
|
|
|
|
2 |
1298 |
13 Oct 2013 08:23 PM |
|
3 Replies and 1275 Views
Landsat create RGB composite 1275 3
Started by Deleted User
I download idl create RGB composite Landsat. But i run idl, it can't running.
Can you help me Thanks
PRO Landsat_Create_R5G4B3
workspace='D:\Python\GLOF\landsat\'
outpath='D:\Python\GLOF\output\'
dirs=file_search(workspace,'*',/test_directory)
compile_opt strictarr
envi,/restory_base_save_files
envi_batch_init, LOG_FILE = 'batch.log',/NO_STATUS_WINDOW
for i=0,n_elements(dirs)-1 do begin
filelist=file_search(dirs&91i&93,'*B50.tif',count=count)
if count eq 1 ...
|
|
|
|
3 |
1275 |
10 Oct 2013 07:47 PM |
|
8 Replies and 1489 Views
Graphical interface to compare two datasets 1489 8
Started by Deleted User
Hi there,
i am new into IDL and started with it arround 1 month ago. Now I want to advance and create a IDL script with a graphic interface which compares two raster datasets (different in resolution). My IDL book does not help me. It contains only the absolute basics. Is there any source in the internet where it is described how to do this and where I can learn it, not only copy
I am thankful for every answer
Greetings
John
|
|
|
|
8 |
1489 |
09 Oct 2013 10:17 AM |