|
|
|
|
|
1 Replies and 1436 Views
printf within time interval 1436 1
Started by Deleted User
I am fairly new to IDL and need some help with coding a specific task. I have a data file with time intervals that I read in from one text file (file A with i elements). For example, the time interval vectors are 'timestart' and 'timeend' and they each have the form FLOAT = Array&911, 78&93. The times are in utc seconds. These two vectors form the time interval (i.e. timestart&91i&93 and timeend&91i&93 where timestart&91i&93
Any help with exampel code related to this task would be grea...
|
|
|
|
1 |
1436 |
24 Nov 2012 04:51 PM |
|
5 Replies and 1663 Views
multiple lines pasted into console from DE editor don't run 1663 5
Started by Deleted User
Hi. I've noticed another problem with 8.2.1 DE that was non-existent in 7.1 There seems to be an issue with copying lines of code from a file open inside the editor into the IDL console. I often like to have programs open in the editor and I debug by pasting various lines into the console and doing some real-time manipulations.
However, when I paste multiple lines of code into the console, they do not run. They appear to paste just fine but the actual code doesn't carry out. And when I pre...
|
|
|
|
5 |
1663 |
22 Nov 2012 09:03 AM |
|
2 Replies and 1148 Views
Read binery file 1148 2
Started by Deleted User
Hi
I got a problem with loading a binary file with IDL. I cannot read data with different byte order. In the header of ENVI standard file "byte order" is equal to 0 or 1 (Host, Ieee respectively). The default value for reading data with binary_read is 0, but how can I change it to 1.
There are some other function to read binary data but I do not know which function or program can read binary data with different byte order.
thanks a lot.
|
|
|
|
2 |
1148 |
21 Nov 2012 01:19 PM |
|
1 Replies and 1238 Views
Multiple Plots on a Page using IDL 1238 1
Started by Deleted User
Hello,
I am trying to have two plots in the horizontal direction in one page using IDL.
a part of the code:
!P.Multi = &910,2,1,0,0&93
;first plot
!P.Position = &910.02,0.04,0.40,0.90&93
Map_Set, 90, 0, -90, /Stereographic, /isotropic, limit=&9160,180,60,-180&93
polyfill,&91&910,0&93,&910,1&93,&911,1&93,&911,0&93&93,/normal,color=blanc
Map_Continents,color=0,/Continents,thick=2
Map_Grid, color=0, londel=30, latdel=10, glinethic...
|
|
|
|
1 |
1238 |
21 Nov 2012 10:12 AM |
|
1 Replies and 1145 Views
regarding header file 1145 1
Started by Deleted User
how to create a header file... and from where we can get hyperion data information e.i. band, line, rows, samples, offset etc.
|
|
|
|
1 |
1145 |
20 Nov 2012 03:42 AM |
|
1 Replies and 1344 Views
Scale and resolution of the image capture by aircraft, 1344 1
Started by Deleted User
Scale and resolution of the image capture by aircraft,
I’m wondering if there is a mathematical relation between the scale and resolution of the image captured by aircraft and thus the attached table can be justified:
(sorry i couldn't insert the image here or even attach it)
Mathematically, the scale of the image captured by the aircraft can be obtained from the equation:
Scale = 1/(H/f)
where H is the flying height of the aircraft and f is the focal length of the cam...
|
|
|
|
1 |
1344 |
16 Nov 2012 03:49 AM |
|
2 Replies and 1220 Views
read_miltiband_image 1220 2
Started by Deleted User
Hello,
I have simple problem! How could i get multiband image in to IDL enviroment. How could i open it
For example, image name "Jura.bil", Dims: row12775 x col28745 x bands18, Unsigned Int 13.219.825.500 bytes, pixel size 0.92 m, wavelenth range from 432 nm to 797 nm.
So, could you write me a read_script please
Thank you....
|
|
|
|
2 |
1220 |
16 Nov 2012 02:26 AM |
|
4 Replies and 1350 Views
How to quickly draw red-NIR scatter plot? 1350 4
Started by Deleted User
I want to extract the soil line by IDL, a scatter plot of red-NIR is needed. Although the following code is working, however, it's very slow for a large image or high resolution image because repeated drawing of many coincide points.
PLOT,B3,B4,LINESTYLE=1,PSYM=3
When I directly plot the red-NIR space in the ENVI, I found it very fast even for a very large image. Can you tell me how to solve this problem
|
|
|
|
4 |
1350 |
16 Nov 2012 12:26 AM |
|
3 Replies and 1156 Views
active plot window remains in front? 1156 3
Started by Deleted User
In IDLDE 7.1, once an active direct graphics window was open, it was possible to input commands into the IDLDE console while keeping the active window "up front" (or "on top") so that you can make plotting changes on the fly and see it update without making the IDLDE active and "on top", thus covering up the plotting window. This was nice because they could overlap each other on the monitor but I could still easily make real time changes and see the results. This ...
|
|
|
|
3 |
1156 |
15 Nov 2012 09:55 AM |
|
2 Replies and 3049 Views
curve fit a sine function 3049 2
Started by Deleted User
I cannot figure out how to curve fit a sine function. Could someone please provide an example
I have already figured out how to curve fit other plots, but for some reason cannot get sine to work.
The problem is that keep getting "CURVEFIT: Failed to converge- CHISQ increasing without bound"
Thanks for any help
|
|
|
|
2 |
3049 |
15 Nov 2012 12:47 AM |
|
4 Replies and 1457 Views
I having a problem with creation Window (famous form in other languages) 1457 4
Started by Deleted User
Im new student of IDL, and am having a problem with creation Window..
I use SolarSoft Library, and i need create a Window (form) and various buttons for execute some routines, but i don't have success.. I following this example for study http://www.sulsoft.com.br/idl/index.phplink=guia_uso_l specifically this code http://www.sulsoft.com.br/idl/imagens/jpgs/guia_uso/imagens/tabela_L02.jpg, a error occurs in second line "base = widget_auto_base..." my version of IDL is 8.1.
someone ca...
|
|
|
|
4 |
1457 |
14 Nov 2012 12:28 PM |
|
0 Replies and 1291 Views
SAV files, java, and console output (IDL 8.2) 1291 0
Started by Deleted User
I am struggling today with what looks like some fundamental
misunderstandings about using ILD sav files. I'm working on some
legacy code where the desired end product is a sav file IDL
'executable'. There are some things that need to be changed in this
project, and I want ro run the project right from the IDL project, vs.
runnin the sav file - but I can't. I can a newly compiled and
generated sav file just fine, but if I left click on the project
itself in the work...
|
|
|
|
0 |
1291 |
13 Nov 2012 03:41 PM |
|
3 Replies and 1274 Views
Inverse matrix is failing 1274 3
Started by Deleted User
I have a matrix N
N FLOAT = Array&913, 3&93
With the following values:
10.0000 5.45787e006 3.55141e006
5.45787e006 2.97883e012 1.93831e012
3.55141e006 1.93831e012 1.26125e012
When I take the inverse of the matrix:
u = INVERT(N)
The inverse fails,
Because the result of
uN
0.894347 1.52182e-006 5.25777e-007
-512203. 1.79728 0.227137
-231619. 0.543829 1.14051
Does not give a 3x3 identity matrix.
Any ideas
Thanks
|
|
|
|
3 |
1274 |
09 Nov 2012 04:32 PM |
|
1 Replies and 1361 Views
IDL equivalen command for ARCGIS Trend function 1361 1
Started by Deleted User
Hi does anyone know the equivalent idl Function(s) that can perform the ARCGIS function Trend
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html/Trend/009z0000006v000000/
Thank you
|
|
|
|
1 |
1361 |
08 Nov 2012 03:36 PM |
|
0 Replies and 1104 Views
use of temporary in IDL 1104 0
Started by Deleted User
I had a question regarding the use of temporary in IDL.
I wanted to re-order a 3D array.
Suppose the array is vol = IntArr( 512, 512, 287 )
I sorted the Z dimension and got the indices. The command I then used was
vol = temporary( vol&91 *, *, sorted_z&93 )
Despite this, the memory used is still the same if I don’t use temporary (almost 5 times the size of the array)Is this the correct way to use temporary If I am using it correctly, is it just the IDL way of reading columns and r...
|
|
|
|
0 |
1104 |
06 Nov 2012 09:08 AM |
|
1 Replies and 1133 Views
Creation of Widget Unsuccessful (activex widget) 1133 1
Started by Deleted User
When working from the ide, I'm able to load an activex widget calendar (mscal.ocx) successfully. If I build the project and run the .sav from the idlvm, the widget fails. Can anyone explain why this occurs and how to get the idlvm to properly load the activex widget
Thanks,
David
|
|
|
|
1 |
1133 |
06 Nov 2012 07:28 AM |
|
1 Replies and 1330 Views
Start IDL Workbench from Windows command line and specify workspace 1330 1
Started by Deleted User
I am running the IDL Workbench 7.1.1 with Windows XP-Pro.
I would like to start the Workbench from the command line and specify the Workspace. Is this possible
If you like details: I repeatably run the same IDL sav file on multiple machines at the same time without an operator. This sometimes fails because there are not enough IDL licenses. I can recover: after one hour, the calling program gives up, kills IDL, and restarts it. But, I have noticed that if I start the IDL Workbench first, ...
|
|
|
|
1 |
1330 |
02 Nov 2012 10:55 AM |
|
1 Replies and 1040 Views
Different colors FILL_BACKGROUND in plot-function 1040 1
Started by Deleted User
Hi All,
Is there a way, using the current plot-function, to apply multiple colors for the FILL_BACKGROUND option
For instance, let's say I want to fill the area under curve, bigger than zero, with red and the area under curve, smaller than zero, with blue. How would i do that, without having to break up my data and make two separate overlapping plots
Thanks!
Wouter
|
|
|
|
1 |
1040 |
02 Nov 2012 07:34 AM |
|
0 Replies and 1371 Views
idl ClipViaEvf how to process holes in evf file?? 1371 0
Started by Deleted User
hello, everyone.
I have some evf files, and some of them have holes in it. I want to subset raster files in img format with these evf files. I use the ENVI open vector file , export vector file as ROI , and subset data via ROI, I can get the correct result. while I have many data to process, so I want to write IDL procedure to clip data via evf file.
the result is with some problems, the holes in the evf is not masked. why this happened what should I do. the code is belo...
|
|
|
|
0 |
1371 |
01 Nov 2012 11:54 PM |
|
1 Replies and 2012 Views
ATCOR instaliation 2012 1
Started by Deleted User
Hi Dear
I want to install the ATCOR 2/3 in my IDL language and run it, but i can not how i can install it. Please help me how i can install Thank you
Best, Hadi
|
|
|
|
1 |
2012 |
01 Nov 2012 11:06 PM |
|