|
|
|
|
|
0 Replies and 1960 Views
Issues with TEK_COLOR in IDL 1960 0
Started by Ben Castellani
Question: I am having a great deal of difficulty with the TEK_COLOR procedure It loads automatically in my previous version and is usable in coding. However, In the 8.7.1 version it loads only a gradient black to white scale. Using palette and clicking on the boxes appropriate for each of the 32 colors, it gives the appropriate numbers, but not the colors. Seems to work in the plot function but not the plot procedure. How do you set it up to run tek_color on initiation of IDL Solution...
|
|
|
|
0 |
1960 |
30 Jan 2019 03:17 PM |
|
1 Replies and 1634 Views
Non-English text in iTools 1634 1
Started by Deleted User
Is it possible to enter non-english text in iTools
|
|
|
|
1 |
1634 |
by Deleted User 29 Jan 2019 05:17 AM |
|
0 Replies and 2135 Views
problems with STREAMLINE function? 2135 0
Started by Deleted User
Can anyone provide details of how the STREAMLINE plotting function works The Help for it is quite non-descriptive, and the results of STREAMLINE are often rather confusing. 1) I assume that streamlines should be (as in physics, etc.) curves that are everywhere locally tangent to the vector field (u,v). However, this is often not the case for this function; consider for example streamlines that begin along the y-axis (x=0), in the code ;;----- begin code snippet-------------------- ;; set...
|
|
|
|
0 |
2135 |
22 Jan 2019 11:19 AM |
|
1 Replies and 1312 Views
IDL 8.6 can not search the Included path after update MAC to High Sierra 1312 1
Started by Deleted User
I have installed IDL 8.6 on MAC Sierra. Recently, I updated Mac Sierra to High Sierra, and then IDL 8.6 meets some problems. For example, I tried to include a new idl source code path (e.g. /username/idl_source_path) to IDL ( idlde -> preference -> path ), and compiled an idl program which calls idl codes in the path. However, the idl can not find the source code and shows 'Attempt to call undefined procedure: xxxx' '. Then, I rechecked the IDL preference, the path became uncom...
|
|
|
|
1 |
1312 |
by Ben Castellani 17 Jan 2019 10:48 AM |
|
1 Replies and 1676 Views
Argmin 1676 1
Started by Deleted User
Hi, I would like to calculate the argument of the minimum or Argmin of a set of multivariate points. The Argmin should return the indices of the minimum values along an axis. Assuming I have a multidimensional array data = FLOAT&91;500, 300, 10&93; xaxis = 500 yaxiz = 300 observations = 10 Calculating argmin for a one-dimensional array could be done as follows: a = &91;0, 1, 2, 3, 4, 5, 6, 7, 8&93; argmin = SORT(MIN(a, DIMENSION = 1)) argmin = 0 How would this be ach...
|
|
|
|
1 |
1676 |
by Ben Castellani 16 Jan 2019 10:39 AM |
|
0 Replies and 21794 Views
Calculate distance between multiple arrays and landsat bands 21794 0
Started by Deleted User
Hello, I have a set of landsat 7 layers, that look like this: files = &91; $ 'D:\ArcGIS\Programmieren in IDL\Landsat Daten\landsat_b1.tif' $ ,'D:\ArcGIS\Programmieren in IDL\Landsat Daten\landsat_b2.tif' $ ,'D:\ArcGIS\Programmieren in IDL\Landsat Daten\landsat_b3.tif' $ ,'D:\ArcGIS\Programmieren in IDL\Landsat Daten\landsat_b4.tif' $ ,'D:\ArcGIS\Programmieren in IDL\Landsat Daten\landsat_b5.tif' $ ,'D:\ArcGIS\Programmieren in IDL\Landsat Daten\landsat_b6.tif'...
|
|
|
|
0 |
21794 |
11 Jan 2019 11:59 AM |
|
0 Replies and 23202 Views
READ_BMP results in error: Array dimensions must be greater than 0. 23202 0
Started by Deleted User
PROBLEM: An IDL user was unable to open BMP file with READ_BMP, getting an error like this: IDL> image = read_bmp(file) Array dimensions must be greater than 0. Execution halted at: $MAIN$ The same file can be viewed using the MS Photos application and MS Paint. The properties dialog indicate the expected image dimensions. --------------------------------- POSSIBLE SOLUTION: Check the dimensions of the BMP file in IDL using the QUERY_BMP routine, for example: print,...
|
|
|
|
0 |
23202 |
08 Jan 2019 10:22 AM |
|
1 Replies and 1541 Views
vector operation in function arguments 1541 1
Started by Deleted User
I am running IDL 8.5.1 on Mac OS X 10.13.6 the problem: IDL> print, abs(a-b) 1 IDL> print, abs(a-b&91;0&93;) 1 0 1 2 1 0 1 2 1 0 1 2 IDL> print,b 2 IDL> a=&91;1,2,3,4,1,2,3,4,1,2,3,4&93; IDL> b=&91;1,2,3,4&93; IDL> print, abs(a-b&91;1&93;) 1 0 1 2 1 0 1 2 1 0 1 2 IDL> b=reform(b&91;1&93;) IDL&...
|
|
|
|
1 |
1541 |
by Deleted User 04 Jan 2019 05:01 PM |
|
0 Replies and 21774 Views
automatically determine minor tick values? 21774 0
Started by Deleted User
Yo, I'm plotting several sets of data that can have wildly different values between sets, and need a way to automatically determine the minor y-tick values, given the major tick values obtained via (in this case) YTICK_GET=yvals. I do not explicitly set the YMINOR=yminor keyword when plotting (in this case), so IDL determines the ticks for me (because of the data variability I cannot just use a static range). Is there a way to automatically determine the values of the minor y-ticks if I don'...
|
|
|
|
0 |
21774 |
17 Dec 2018 03:39 PM |
|
0 Replies and 21250 Views
Can you render multiple datasets at the same time? Or multiple geometry types? 21250 0
Started by Deleted User
I am not yet a user of IDL. I am wondering if it can handle situations like this: 1) Can you render multiple datasets together Say if I have a simulation of the outer 1/3 of the sun, and a separate simulation of the inner 2/3 of the sun. Can I put them together, in the same 3D virtual space, and make one image out of the two datasets 2) And, separate question -- is it possible to show multiple types of geometry together Say, a volume, with embedded surface geometry For example, a volum...
|
|
|
|
0 |
21250 |
30 Oct 2018 11:44 AM |
|
0 Replies and 22200 Views
OSX 10.14 and the IDL 8.7 virtual machine 22200 0
Started by Deleted User
Hello everyone, Has anyone successfully created a virtual machine app using 8.7 and OSX 10.14 I'm having some issues and I'm not sure if it is due to mojave's new security features, or something in the VM itself. Thanks! Ronn Kling
|
|
|
|
0 |
22200 |
23 Oct 2018 04:46 AM |
|
1 Replies and 1678 Views
IDL-Python bridge 1678 1
Started by Deleted User
I am trying to use IDL-Python bridge to call IDL (Interactive Data Language) procedures from Python. Could anybody tell how to access IDL system variables that starts with '!' from Python For example, a call in Python from idlpy import * d2r = IDL.!DDTOR gives SyntaxError: invalid syntax.
|
|
|
|
1 |
1678 |
by Ben Castellani 22 Oct 2018 12:53 PM |
|
0 Replies and 22063 Views
Windows Batch file errors 22063 0
Started by Deleted User
Hi, I am having a problem executing a .bat file that starts idl and runs an IDL batch file. the command idl -e 'com_line' works perfectly as a regular windows command. However if i put it in as the only line of a windows batch idl.bat. The above line just keeps scrolling. What am I doing incorrectly. The idl /bat file only contains the line idl -e 'com_line' Thank you.
|
|
|
|
0 |
22063 |
19 Oct 2018 08:56 AM |
|
1 Replies and 2047 Views
Help with my school project 2047 1
Started by Deleted User
Hi, i'm having issues with my school project. It consists in download data to process and plot it , but this data is in a very strange format. So, my questions are: a) How to get a file from a website using IDL b)How to format it
|
|
|
|
1 |
2047 |
by Ben Castellani 14 Sep 2018 03:11 PM |
|
1 Replies and 22318 Views
contour routine not accepting c_value keyword 22318 1
Started by Ben Castellani
Problem: The “contour” routine refuses to accept the “c_value” keyword for specifying the desired values of the contours to plot. > IDL> contour,x2arr,pxarr,pyarr,/overplot,c_value=cvals,$ > IDL> c_color=c.purple,c_line=2,c_thick=thk > Keyword C_VALUE not allowed in call to: CONTOUR > Execution halted at: $MAIN$ 1 /Volumes/khufu1/dfox/pharos1/dfox/anita/I > ceCube/ehe_eprobs.pro I’m at a bit of a loss since the code itsel...
|
|
|
|
1 |
22318 |
14 Sep 2018 08:59 AM |
|
1 Replies and 21677 Views
Getting location of a graphics WINDOW() after creation 21677 1
Started by Deleted User
When a WINDOW() graphic is created, the position on the screen can be set with the LOCATION keyword, that can be used only at the initial creation. When handling mouse clicks through a subclass of 'GraphicsEventAdapter', I would like to find out where the window is currently located (or the location of the click in the coordinate system of the entire screen), particularly if the window has been dragged around by the user. The 'ConvertCoord' doesn't seem to work for this, since with the /TO_DEV...
|
|
|
|
1 |
21677 |
10 Sep 2018 10:16 AM |
|
1 Replies and 2404 Views
ENVIGainOffsetRaster 2404 1
Started by Deleted User
Hello everyone I am using envi api programming with envi 5.3 and idl 8.5. But ENVIGainOffsetRaster doesn't work in my envi/idl programming. in other wods whenever I open it's result in my software, it's information about gain and offsets are empty. could you help me please sincerely, Thanks.
|
|
|
|
1 |
2404 |
by MariM 31 Aug 2018 09:15 AM |
|
2 Replies and 2135 Views
IDL/ENVI Loop 2135 2
Started by Deleted User
I am going to write a code that : 1) read multiple images (like 50 images) then . . . 2) compute average of all of them automatically. Many thanks for your excellent website. johny,
|
|
|
|
2 |
2135 |
by MariM 27 Aug 2018 01:23 PM |
|
1 Replies and 2201 Views
use Convert Interleave through API 2201 1
Started by Deleted User
I try use 'Convert Interleave' tool to convert an ENVI file from BSQ to BIL format, it works fine. But when I try to convert it with ENVI API, it doesn't work, the output is still BSQ, can you help me check below is my code, thanks. Also you have any tutorial for FLAASH API PRO BSQ_BIL ; COMPILE_OPT IDL2 ; Start the application e = ENVI(/HEADLESS) ; Select input files dirs = &91;'/media/satellite_imagery/WV3/calibration'&93; filter = '*_cal' files = file_search(di...
|
|
|
|
1 |
2201 |
by MariM 10 Aug 2018 11:36 AM |
|
0 Replies and 2320 Views
Returning an array from CALL_EXTERNAL 2320 0
Started by Deleted User
Hi all, I'm using CALL_EXTERNAL to run a C function. This functions well - I can call it and it runs fine. My question relates to how to return an array from this function. I've tried changing the return type to a pointer, but I can't make this work. I've also tried passing a pointer to the array as an input value, modifying the array within the function, and then returning void. If I do so, when I try to access in IDL the array I modified in C, the array has not been modified. The exam...
|
|
|
|
0 |
2320 |
07 Aug 2018 02:26 AM |