Search this forum:
Search
You are not authorized to create a new topic
Page 1 of 11912345 > >>
Topics
 Replies
 Views
 Last Post
0 Replies and 1 Views problems with STREAMLINE function?  1  0 Started by  Nathaniel Cunningham 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 1
22 Jan 2019 11:19 AM
1 Replies and 24 Views IDL 8.6 can not search the Included path after update MAC to High Sierra  24  1 Started by  Xianghui Xue 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 24
by  Ben CastellaniJump to last post
17 Jan 2019 10:48 AM
1 Replies and 19 Views Argmin  19  1 Started by  Hugo De Lemos 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 19
by  Ben CastellaniJump to last post
16 Jan 2019 10:39 AM
0 Replies and 40 Views Calculating the Argmin  40  0 Started by  Hugo De Lemos Hi, Given a multidimensional array X, Y, Z (E.g. 400, 200, 5). How would you go about calculating the Argmin The Argmin returns the indices of the minimum values along an axis (E.g. numpy.argmin https://docs.scipy.org/doc/numpy-1.15.0/reference/generated/numpy.argmin.html). My attempt: argmin = SORT(MIN(data)) Regards Hugo
0 40
14 Jan 2019 01:59 AM
0 Replies and 89 Views Calculate distance between multiple arrays and landsat bands  89  0 Started by  Matthias Mueller 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 89
11 Jan 2019 11:59 AM
0 Replies and 4831 Views READ_BMP results in error: Array dimensions must be greater than 0.  4831  0 Started by  Jim Uba 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 4831
08 Jan 2019 10:22 AM
1 Replies and 81 Views vector operation in function arguments  81  1 Started by  Ed Hartouni 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 81
by  Jim UbaJump to last post
04 Jan 2019 05:01 PM
0 Replies and 165 Views automatically determine minor tick values?  165  0 Started by  Brian Harker 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 165
17 Dec 2018 03:39 PM
0 Replies and 119 Views Can you render multiple datasets at the same time? Or multiple geometry types?  119  0 Started by  Kalina Borkiewicz 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 119
30 Oct 2018 11:44 AM
0 Replies and 133 Views OSX 10.14 and the IDL 8.7 virtual machine  133  0 Started by  Ronn Kling 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 133
23 Oct 2018 04:46 AM
1 Replies and 144 Views IDL-Python bridge  144  1 Started by  Irina Tkatcheva 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 144
by  Ben CastellaniJump to last post
22 Oct 2018 12:53 PM
0 Replies and 73 Views Windows Batch file errors  73  0 Started by  Charles Harrell 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 73
19 Oct 2018 08:56 AM
1 Replies and 255 Views Help with my school project  255  1 Started by  Luis Cárdenas 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 255
by  Ben CastellaniJump to last post
14 Sep 2018 03:11 PM
1 Replies and 166 Views contour routine not accepting c_value keyword  166  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 166
14 Sep 2018 08:59 AM
0 Replies and 440 Views IDL on DOCKER  440  0 Started by  Arnaldo Tomasino I want to run a .sav file, compiled with IDL, on a Docker container. In the container I set up IDL 8.5.1 without a license and all the needed dependencies starting from a ubuntu:16.04 image. Here I start the execution of the .sav file with the command idl -vm=<name>.sav At first, I obtained this error: Unable to connect to X Windows display: :0.0 Unable to establish X Connection. Segmentation fault (core dumped) So I tried to set up a dummy display through VNC. I inst...
0 440
13 Sep 2018 04:42 AM
1 Replies and 213 Views Getting location of a graphics WINDOW() after creation  213  1 Started by  Daniel Weimer 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 213
10 Sep 2018 10:16 AM
1 Replies and 836 Views ENVIGainOffsetRaster  836  1 Started by  kullboys boys 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 836
by  Mari MinariJump to last post
31 Aug 2018 09:15 AM
2 Replies and 369 Views IDL/ENVI Loop  369  2 Started by  Johny Astine 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 369
by  Mari MinariJump to last post
27 Aug 2018 01:23 PM
1 Replies and 424 Views use Convert Interleave through API  424  1 Started by  jia xue 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 424
by  Mari MinariJump to last post
10 Aug 2018 11:36 AM
0 Replies and 249 Views Returning an array from CALL_EXTERNAL  249  0 Started by  Sam Cox 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 249
07 Aug 2018 02:26 AM
You are not authorized to create a new topic
Page 1 of 11912345 > >>