|
|
|
|
|
1 Replies and 1315 Views
batch image stretching in idl 1315 1
Started by Deleted User
Hi,
I have a large number of images that are data type 2 and need to be data type 1. I have done this for individual images in ENVI by doing 'Basic Tools' > 'Stretch Data' > select image and then enter the Min and Max as 0.0 and 100.0 and change the data type from 'Integer' to 'Byte'. I am wondering if there is a function or way to do this as a batch script in IDL
Thank you.
|
|
|
|
1 |
1315 |
18 Jan 2013 10:32 AM |
|
1 Replies and 1005 Views
Task scheduling in IDL 1005 1
Started by Deleted User
Hello there,
I have IDL script that suppose to deal with near real-time data from METEOSAT that comes in every 15 minutes. The code itself is OK and works properly but I need to make it start automatically.
So my first question is how to make this script to start every 15 minutes within ENVI/IDL environment.
The second question: May be its easier to utilize Windows scheduling tools but for use it I am need
to call IDL from Windows command line.
Any suggestions about ...
|
|
|
|
1 |
1005 |
17 Jan 2013 06:33 AM |
|
0 Replies and 1211 Views
Length of Text Function Output 1211 0
Started by Deleted User
I'm trying to automatically output line of text with user variable font type and size. I am using IDL's text function and would like to parse the text and automatically insert a carriage return command (!C) when the text goes outside the graphic window.
How Can I figure out the length of a line of text in pixels given that the font_size or font_name will not be same
|
|
|
|
0 |
1211 |
16 Jan 2013 10:28 AM |
|
0 Replies and 1018 Views
band math batch processing 1018 0
Started by Deleted User
Hi,
I wrote a IDL program to calculate the yearly average precipitation. It can correctly average 285 images but not more than that. It will give an error saying that result is invalid and I tried the equation by using the ENVI band math. It also give an error. So please help me to solve this problem it is strange even though..
pro Average_images_batchP
compile_opt idl2
ENVI, /RESTORE_ALL
;
envi_batch_init, log_file='batch.txt'
;
...
|
|
|
|
0 |
1018 |
16 Jan 2013 03:51 AM |
|
3 Replies and 1251 Views
environment variables setting problem in MAC OSX 1251 3
Started by Deleted User
I have installed idl8.2 on my MAC OSX 10.8.
I am now using an IDL routine package, which needs to set some environment variables.
I set these environment variables in .bash_profile, e.g.
dir=/home/user/some_idl_package
caseLIB=$dir/lib
caseEXE=$dir/examples
caseDATA=$dir/data
export IDL_PATH=$dir:$IDL_PATH
export PATH IDL_PATH caseLIB caseEXE caseDATA
After source .bash_profile, idl woks well in terminal model.
But when I used idlde, these environment variables can not b...
|
|
|
|
3 |
1251 |
15 Jan 2013 09:22 AM |
|
7 Replies and 1480 Views
IDL routines with GUI 1480 7
Started by Deleted User
Hi there!
I'd like to write a very simple program with a GUI consisting of a editable text box and a button that saves in a text file anything written in the box. However, I couldn't find on the web a clear tutorial to do such a simple task. I'd appreciate any help!
Cheers
|
|
|
|
7 |
1480 |
15 Jan 2013 06:45 AM |
|
1 Replies and 1290 Views
Suggest that IDL develop a bridge between R and IDL. 1290 1
Started by Deleted User
Hi, IDL developer:
I suggest that IDL develop a bridge between R and IDL with RJAVA.
Because R have many data analysis function, which can extend
IDL's application. Thanks.
dave
|
|
|
|
1 |
1290 |
10 Jan 2013 08:29 PM |
|
2 Replies and 1296 Views
How to keep map scale between PS and win? 1296 2
Started by Deleted User
Hi, guys,
I use 'map_set, 36, 105, scale=36E6, /lambert' to draw map in 'win' device,
but use the same command in 'PS' device, the map range is different. How do
I make the map looked same in 'win' and 'PS' device, ie. compute the right 'scale'
paramter. Thanks!
Dave
|
|
|
|
2 |
1296 |
10 Jan 2013 08:23 PM |
|
1 |
1116 |
30 Dec 2012 08:09 PM |
|
3 Replies and 1412 Views
Attempt to call undefined procedure: 'CALL_EXTERNAL' 1412 3
Started by Deleted User
Hello everyone. It appears that my installation is somehow messed up, because for some reason it isn't finding the built-in function CALL_EXTERNAL. Could someone help me figure what's going on I'm using IDL 8.2.1, licensed to the University of Alberta. I also have the newest version of ENVI, but I'm not using it at the moment. Also, I chose default options in the installer (on LinuxMint 14.1), with the install directory as "/usr/local/exelis/".
The code making the external call (to ...
|
|
|
|
3 |
1412 |
22 Dec 2012 10:29 AM |
|
3 Replies and 1272 Views
Georeferencing Sensor Zenith Angle dataset 1272 3
Started by Deleted User
Hello all,
I am experiencing difficulties with georeferencing MYD021KM SensorZenith files. I have approx. 703 files that I need to extract the viewing geometry (sensorzenith and sensorazimuth) angles from. I downloaded the MCTK in order to do so. The process works when I use associated MYD03 geolocation files in the toolkit in ENVI, but the process is very slow, so i tried to do it programmatically. However, I have tried all of the example procedures in the user's guide--none of them will wor...
|
|
|
|
3 |
1272 |
21 Dec 2012 01:42 PM |
|
2 Replies and 1113 Views
mean 1113 2
Started by Deleted User
hello somebody know how calculate the mean but excluding some values
Example:
vector&913,1,2,6,-1,4,3&93. I want to calculate the mean but excluding the value -1
thanks
|
|
|
|
2 |
1113 |
21 Dec 2012 03:50 AM |
|
4 Replies and 1329 Views
Widget Object graphics code crashed IDL8.2 1329 4
Started by Deleted User
IDL8.2 crashed while I was trying to run my code, it works fine under windows, but crashed IDL8.2 under linux. It keep crashing even when I was trying to stop the program. please help. Thanks
Error Message:
A fatal error has been detected by the Java Runtime Environment,
SIGSEGV(0xb)at pc=0x66ea829c, pid=11214, tid =1847818272
JRE version 6.0-17-b04
Java VM: Java HotSpot(TM) 64-Bit Server VM (14.3-b01 mixed mode linux-amd64 )
Problematic frame:
C &91libGL.so.8.20x36d29c&93 X...
|
|
|
|
4 |
1329 |
17 Dec 2012 10:05 AM |
|
4 Replies and 1592 Views
device, set_font='Some TTF, /tt_font does not work in Z buffer? (IDL 7.1.1, 8.2 on Mac OS 10.8) 1592 4
Started by Deleted User
I can't seem to specify custom TrueType fonts in Z-buffer plots in IDL 7.1.1 or 8.2 on Mac OS 10.8.2. I've tried most of the fonts listed in resource/fonts/tt/ttfont.map with no luck.
Example code:
pro zfont_test
x=dindgen(100)/50.*!dpi
y=sin(x)
set_plot,'Z'
device,decomposed=0, set_resolution=&91800,600&93,set_pixel_depth=24
device,set_font="Helvetica",/tt_font
plot,x,y,title='plot title',xtitle='x axis', ytitle='y axis',/xstyle
write_png,'zfont_test_h.png...
|
|
|
|
4 |
1592 |
14 Dec 2012 10:05 PM |
|
0 Replies and 1232 Views
New Workbench Help Articles 1232 0
Started by Deleted User
Fernando S. and I (David S.) have put together two new Help Articles that describe the IDL Workbench.
The first article is called "IDL Workbench Guide" and it's based the Workbench chapter of Mark Piper's "Introduction to IDL" course manual. The Help Article also expands on it by adding some new sections and external links, including our YouTube videos. Please, take a look at it here:
http://www.exelisvis.com/Support/HelpArticleDetail/ArticleId/5300.aspx
The second articl...
|
|
|
|
0 |
1232 |
05 Dec 2012 10:20 AM |
|
1 Replies and 1096 Views
Some problem of IDL-vm based software 1096 1
Started by Deleted User
Dear all
I have a question about the installation problem of IDL-VM based pre-compiled software. I don't know this question whether suit to post in this forum and hope anyone could help me to solve it. When i try to execute the software in my Centos 5.8 desktop, i found the following error message in my terminal:
"/usr/local/TORTOISE_V1.4.0/DIFF_PREP/diffprep_main/../../idl81/bin/bin.linux.x86_64/idl: error while loading shared libraries: /usr/local/TORTOISE_V1.4.0/DIFF_PREP/diffprep_main...
|
|
|
|
1 |
1096 |
05 Dec 2012 03:04 AM |
|
1 Replies and 1668 Views
Need some help with code uderstanding 1668 1
Started by Deleted User
Hello,guys!
Im currently writing a programm on C due to my university studying and i need to translate code from IDL to C,but i dont know the syntax of IDL, so i can get what going on in the code only in very general.
There is a code i trying to examine(The most trouble i have with 133-138 strings of the code-it would be great if you could explain to me this part atleast:)):
;------------------------------------------------------------------------
; RAT - Radar Tools
;...
|
|
|
|
1 |
1668 |
03 Dec 2012 02:32 PM |
|
6 Replies and 1501 Views
Add menu to ENVI 1501 6
Started by Deleted User
Hi
I added some menu to ENVI, however each time I should run both IDL and ENVI. Otherwise my menu is not in toollbar of ENVI
How can I fix it in menu-bar without running IDL.
Thank you
|
|
|
|
6 |
1501 |
30 Nov 2012 08:32 PM |
|
4 Replies and 3361 Views
If...then...else... for more than 2 conditions? 3361 4
Started by Deleted User
I am trying to get a simple elseif statement into IDL and am having a heck of a time with it. The working matlab code looks like this.
a = 1
b = 0.5
diff = a-b
thres1 = 1
thres2 = -1
if diff > thres1
'case 1'
elseif diff
But the IDL code is not so simple, I get compile errors and I am having troubles getting the syntax right.
the help states the syntax is:
IF expression THEN statement &91 ELSE statement &93 or IF expression THEN BEGIN statements ENDIF &91 ELSE BEGI...
|
|
|
|
4 |
3361 |
27 Nov 2012 01:27 AM |
|
0 Replies and 1314 Views
IDL consultant available for work (more than usual!) 1314 0
Started by Deleted User
To the gentle readers of this IDL forum:
I hope you will forgive this brief intrusion.
As well as having had numerous smaller contracts, I have been very fortunate to have a steady client for over a dozen years, and recently he was let go from his research position in a corporate workforce adjustment. It may turn out that none of that work will be continued, so I find myself suddenly very available for new business!
I have done a long-overdue update on my webs...
|
|
|
|
0 |
1314 |
26 Nov 2012 09:32 PM |