|
|
|
|
|
4 Replies and 1734 Views
BigTIFF keyword not recognised in WRITE_TIFF IDL 8.2.3 1734 4
Started by Deleted User
Hi, I'm working with IDL 8.2.3, and it's really great to see bigTIFF support has been added to read_tiff so I can read in larger files. The online help files suggest write_tiff can now write to bigTIFF format too, but when I try it the BIGTIFF keyword is not recognised, and it's not shown as a listed keyword in the hover help for the function either. Is there a known bug or am I working with an obsolete version of write_tiff I believe it's not actually written in IDL so I can't just look for ...
|
|
|
|
4 |
1734 |
06 Jan 2015 08:28 PM |
|
2 Replies and 1402 Views
Continuum_remove_doit 1402 2
Started by Deleted User
Hey!
I would like to ask .. if it's possible to use the function 'continuum_remove_doit' for a spectral library (*.sli) .. and how
Thanks!
Lucy
|
|
|
|
2 |
1402 |
06 Jan 2015 06:41 AM |
|
1 Replies and 1572 Views
Read String and Number on same line 1572 1
Started by Deleted User
I want to read a data file of this format:
apple 1 2 3 4 5
pear 6 7 8 9 0
I want to be able to read the first column as a string, and the rest of it as numbers. The problem I have is that IDL automatically reads the entire line when you tell it to read a string. So when I try to make it read "apple" it actually reads "apple 1 2 3 4 5". I found a routine called "strmid" which can extract part of a strong. So this will let me extract "apple" fro...
|
|
|
|
1 |
1572 |
05 Jan 2015 04:25 PM |
|
0 Replies and 1452 Views
adding PATH permanently 1452 0
Started by Deleted User
Dear IDL Experts,
I appreciate your suggestions for figuring out how to add a path permanently. To insert a new path I use: Windows->Preferences->IDL->Paths->Insert. The path stays there for a session then it disappears. Mostly, I had to add the new path each time when I open IDL.. I also tried a startup file (under Windows->Preferences->IDL->Startup File), that adds this directory to the path but looks like IDL does not care about startup file. My startup file has a line:
!PATH = !PATH PATH_...
|
|
|
|
0 |
1452 |
05 Jan 2015 11:21 AM |
|
0 Replies and 1364 Views
Error running IDL 8.4 .sav file in virtual machine 1364 0
Started by Deleted User
Hi everyone,
I am having some trouble running the .sav files generated using IDL 8.4 in virtual machine (same version, 8.4). The .sav file works perfectly fine when ran using IDL Runtime. However, it gives me the following error when ran using the virtual machine.
Attempt to call undefined procedure: 'RESOLVE_ALL'
I would really appreciate if someone could throw light on this problem.
Thanks
Magdoom
|
|
|
|
0 |
1364 |
30 Dec 2014 09:06 AM |
|
1 Replies and 1503 Views
Scatter Plots of Spatial Subsets 1503 1
Started by Deleted User
Hello all,
I'm a relative newcomer to ENVI/IDL. I'm trying to create 2D scatter-plots of small spatial sub-sets within a scene; ideally, I'd like to have 4-5 spatial sub-sets, and display them in different colours within a scatter plot to visualise trends.
Ultimately, I'd really like to produce a matrix of scatter plots showing the same data sets; I've seen this done before in MatLab and other packages.
I've written some IDL code for basic image processing and file operations, but I've not perf...
|
|
|
|
1 |
1503 |
19 Dec 2014 09:24 AM |
|
0 Replies and 1299 Views
Changing PATH in Preferences 1299 0
Started by Deleted User
Dear IDL Experts,
I keep adding a specific directory with all my functions into the IDL Path by using Windows->Preferences->IDL->Paths->Insert. The path stays there for a while (sometimes even for few session, I remember) then it suddenly disappears. Mostly, I had to add this path each time when I open IDL.. I also tried a startup file (under Windows->Preferences->IDL->Startup File), that adds this directory to the path but looks like IDL does not care about startup file and does not want to kee...
|
|
|
|
0 |
1299 |
15 Dec 2014 03:54 PM |
|
0 Replies and 1579 Views
No Valid LangCat Object 1579 0
Started by Deleted User
I am getting the "No Valid LangCat Object" in my iTools display. The LangCat files are in their correct folders. I believe I have a problem with the path. I am trying to resolve this using the suggested support page on this website. The command box currently reads:"IDL> print,pref_get('idl_path') IDL_PATH>;IDL_PATH>;IDL_DEFAULT>"When it should be reading this:"IDL> print, pref_get('idl_path')IDL_DEFAULT>;C:\Exelis\se51\lib;C:\Users\username\dj_dialog_editor;"...obvi...
|
|
|
|
0 |
1579 |
15 Dec 2014 02:17 PM |
|
0 Replies and 1297 Views
extraction of harmonic terms from FFT 1297 0
Started by Deleted User
Hi all,
I am working on MODIS time series vegetation index image that record vegetation phenology of a year. I have stacked the time series image to produce a image hypercube. And now I want to extract the harmonic terms from FFT in IDL to understand the crop rotation system in each pixel. since I am new in IDL, I can't understand it properly. Can anybody please help me in this regard
with thanks
Prasenjit
|
|
|
|
0 |
1297 |
14 Dec 2014 03:20 AM |
|
1 Replies and 1089 Views
Widget_list keeps changing size 1089 1
Started by Deleted User
Dear gurus,
I have a widget_list created with a given size, it appears ok when first shown up. However, whenever I set the value of the list by:
widget_control, mylist, set_value=strarray
The size of the widget_list is automatically changed. How can I prevent it changing the size
I am using IDL 8.4 on Linux Debian wheezy with Xfce.
|
|
|
|
1 |
1089 |
10 Dec 2014 09:22 PM |
|
0 Replies and 1614 Views
reading structure if first field is a string 1614 0
Started by Deleted User
Hi,
I'm trying to read an ASCII file using a structure as follows:
openr, 1, asciifile.txt
nrows=70
template={a:' ', mm:0, dd:0, hr:0, mn:0, sc:0}
data=replicate(template,nrows)
readf, 1, data
close, 1
The problem is that all five fields (a, mm, dd, hr, mn, sc) get dumped into data.a. Is there a simple way to read structures when the first field is a string
Thanks
|
|
|
|
0 |
1614 |
09 Dec 2014 03:26 PM |
|
0 Replies and 1606 Views
IDL itools ActiveX Malfunction i 1606 0
Started by Deleted User
Hello,
I need to transfer itools windows to Visual Studio, however when I try to do it, it crashes instantly. I have also tried Tri-window example on IDL website http://www.exelisvis.de/docs/tri-windowcomexportexample.html .
idlgrwindowexample and idlitdirectwindowexample classes work without a problem and I can use them from VS side. However idlitwindowexample(which in my case I need to use, because this example is about transfering itools windows to VS) does not work, in task manager I see th...
|
|
|
|
0 |
1606 |
09 Dec 2014 01:37 AM |
|
0 Replies and 1554 Views
convolving two spectra with CONVOL 1554 0
Started by Deleted User
I try to concolve two spectra using the CONVOL function. I am a beginner with IDL...
my first spectrum is:
FLUX2000 = fltarr(800,800)
openr, 1,'rotational_profile_2000.dat'
for I = 0, 798 DO BEGIN
readf, 1, format='(A3,F6.3,A6,F6.3)', STAR,XX,BLANK,YY
FLUX2000(I,I) = &91XX,YY&93
ENDFOR
CLOSE, 1
my second spectrum is:
FLUXGJ1097 = fltarr(402,402)
openr, 1,'corr_gj_1097_final.dat'
readf, 1, line
readf, 1, line
readf, 1, line
for I = 0, 400 DO BEGIN
readf, 1, format='(A10,E11...
|
|
|
|
0 |
1554 |
08 Dec 2014 10:04 AM |
|
0 Replies and 1215 Views
Flush ouput not working? 1215 0
Started by Deleted User
Hello,
I have a program with the following code fragement:
print, dMessage
flush, -1
res = ""
read, res, prompt = 'Enter : '
When I runs this in the idlde, things look file. However, when I make a sav file and run the program in the command line, the dMessage always writes AFTER the read prompt (not where I want it), even after I added the flush, -1 (which should write everything ito STDOUT, right) How can I ensure that the dMessage prints before the prompt
|
|
|
|
0 |
1215 |
03 Dec 2014 01:05 PM |
|
2 Replies and 1441 Views
How do I check if a widget_table is empty? 1441 2
Started by Deleted User
Lets say I used WIDGET_TABLE created a table but not yet input any data. I tried to use "WIDGET_CONTROL, MyTable, GET_VALUE=MyValue" and expect MyValue should return an empty array. But instead, MyValue returned a 6 by 6 array. What is the right way to check if the table is empty
|
|
|
|
2 |
1441 |
27 Nov 2014 12:07 AM |
|
1 Replies and 1444 Views
Batch process NDVI with polygon mask 1444 1
Started by Deleted User
Hello,I am new to ENVI and IDL. I am seeking to perform batch processing on world-view 2 images and would like to create output rasters only on certain polygons from my input raster. In other words, I want to apply NDVI and other vegetative spectral calculations only on specific orchard polygon areas, not the entire input image. I searched the docs and forums but I am left with little direction. Thank you.HC
|
|
|
|
1 |
1444 |
23 Nov 2014 06:13 PM |
|
2 Replies and 1294 Views
IDL working rogether with SARscape module 1294 2
Started by Deleted User
Hello, everyone:
Usuanally, I'm working hardly on SARscape, e.g. Interferometric Stacking modulo. By now, I would program my own applications by IDL with the SARscape products. Of course, these products can be read by IDL. Now I'm thinking about inserting modules or features of SARscape into my IDL code. Is it possible or does anyone have the relevant experiences
Thank you very much. Looking forward to your comments.
Best regards,
Chia-Hsiang
|
|
|
|
2 |
1294 |
21 Nov 2014 02:59 AM |
|
2 Replies and 1550 Views
Nifti reader/writer? 1550 2
Started by Deleted User
Dear all,
I am working on medical images and need to deal with Nifti .nii format sometime. I searched "Nifti" on this forum returns no results. Does anyone know if there is Nifti image file reader/writer in IDL or its extensions
Best regards,
Huang
|
|
|
|
2 |
1550 |
20 Nov 2014 11:05 PM |
|
1 Replies and 1135 Views
How to determine space needed to display axis info? 1135 1
Started by Deleted User
We're using IDL 7.0 from a C application executing .pro files. I'm looking at legacy .pro code that sets up a plot using Window, View, and Model objects. I can see where the view size is getting set via the VIEWPLANE_RECT property. It currently expands the x coords to allow for an extra 15 of the total xrange for the plot on both left and right sides to allow for axis info. We then place the left side axis at the first data point specified in the x range so that it stays visible as the data ...
|
|
|
|
1 |
1135 |
20 Nov 2014 08:35 AM |
|
1 Replies and 1186 Views
image function save method bug 1186 1
Started by Deleted User
hi
here is example code
img = FINDGEN(500, 500)
x = findgen(500)
i = IMAGE(img, x, x, rgb_table=33, $
yra=&91500, 0&93, /axis)
i.SAVE, '123.pdf'
i.SAVE, '123.png'
123.pdf and 123.png is different.
idl 8.4
|
|
|
|
1 |
1186 |
19 Nov 2014 09:28 PM |
|