|
|
|
|
|
2 Replies and 10 Views
IDL 8.8 Python image display 10 2
Started by Judy Northrop
I want to use Python's imshow routine to plot the spectral response of hyperspectral images, but I cannot get a simple 2D image to display. One dimensional plots work fine using matplotlib. I am using IDL 8.8 with the following, IDL> plt = Python.Import('matplotlib.pyplot') Loaded DLM: PYTHON37. IDL> help, im60 IM60 FLOAT = Array&91;584, 1000&93; IDL> plt.imshow(im60) Fatal error: IDL has encountered a fatal error and will now exit I am using Linux x64 with Ana...
|
|
|
|
2 |
10 |
by Judy Northrop 26 Jan 2021 06:01 AM |
|
1 Replies and 66 Views
Contour Function vs Procedure 66 1
Started by Josh Herron
I am trying to plot horizontal scans taken from an aerosol lidar system. The raw data is composed of range resolved aerosol density collected at a particular azimuth angle. The range and azimuth data I convert into values of Northing and Easting against which I plot the aerosol data. If I use the contour plot procedure the data is plotted correctly, but if I use the contour function the same data will generate a qhull error. Is there a difference in how the qhull procedure is called in each ...
|
|
|
|
1 |
66 |
by Ben Castellani 25 Jan 2021 10:09 AM |
|
1 |
180 |
by Ben Castellani 08 Jan 2021 01:42 PM |
|
1 |
31 |
by Ben Castellani 08 Jan 2021 01:17 PM |
|
0 Replies and 51 Views
GAUSS2DFIT (bug solution) 51 0
Started by Mike Wong
GAUSS2DFIT with the /NEGATIVE option is supposed to fit a gaussian 'valley' instead of 'peak.' i came across intermittent cases where the function seemed to give a good fit in terms of parameter values, except that the output parameter A&91;1&93; was positive instead of negative. also, the return value had a positive gaussian peak instead of a negative gaussian valley. i have not thoroughly tested this, but adding this line of code seems to fix it: a&91;1&93; *= keyword_set(n...
|
|
|
|
0 |
51 |
11 Dec 2020 07:53 PM |
|
7 |
988 |
by Michael Ljungberg 07 Dec 2020 07:35 AM |
|
2 Replies and 230 Views
IDl bug 230 2
Started by Francesca Scipioni
I use IDL 8.8, and I recently upgraded my OS to Big Sur. After that I notice that, when I press return on the keyboard to go to the next line, the line below disappears. This happens because the process of creating a new blank line by pressing the return key takes a very long time. After a new line is created, the delated line appears again. I also noticed that if I move the IDL window, the new line appears right away. This is a very annoying problem, how can I solve it
|
|
|
|
2 |
230 |
by Michael Ljungberg 07 Dec 2020 07:23 AM |
|
2 Replies and 162 Views
IDL 8.8 Workbench, icon sizes (Win10 x64) 162 2
Started by Kip Matthews
In upgrading to IDL 8.8.0 from 8.7.2 (on a Windows 10 64-bit PC), the icons of the buttons in the IDL Workbench (for New Pro File, Cut, Paste, Compile, etc.) are drastically smaller in size than they were in the 8.7.2 Workbench (very problematic on a UHD-resolution monitor). In the 8.7.2 workbench, one could right-click on the toolbar and get an option to show text on the buttons, or to use small small icons; the 8.8 Workbench doesn't provide these options. I don't see any settings in Preference...
|
|
|
|
2 |
162 |
by Kip Matthews 28 Nov 2020 01:22 PM |
|
0 Replies and 62 Views
Variable undefined problem: STRSPLIT 62 0
Started by Brivael Laloux
Hello everyone, I am a beginner in IDL language and I need it to use the ACIS Extract package. After instaling the IDL and the reauested libraries I tried to do the tutorial example of the package. I had several problems including incomplete IDL_PATH to access all libraries. Anyhow, I couldn't solve one problem: the function STRSPLIT. At some point, a procedure of the ACIS Extract package used this function and it raised an error 'Variable is undefined: STRSPLIT. Execution halted at: $MA...
|
|
|
|
0 |
62 |
27 Nov 2020 07:24 AM |
|
1 Replies and 130 Views
reading and processing multiple bands into one big file 130 1
Started by David Hein-Griggs
Hello, I am helping a PhD student automate processing of hundreds of huge satellite imagery files. These imagery files have been split into individuals files per band in the process of correcting metadata in a previous step. These band files all have the same names -- only the directory names are different based on the name of the source satellite imagery file. 29/09/2020 00:31 644 alpha.bin.hdr 29/09/2020 01:24 419,576,868 alpha.bin.img &91;snip&93; 2...
|
|
|
|
1 |
130 |
by Mari Minari 29 Oct 2020 12:13 PM |
|
0 Replies and 152 Views
IDL program stops at regular intervals 152 0
Started by Ellen
Hi guys, My IDL program stops automatically at regular intervals, about 2 hours, although it can run successfully every time after I restart it. The error message is: Failed to open image. This may be due to SELinux settings. Please see the Release Notes for ENVI, or contact your System Administrator. Error message: OBJ_NEW: IDLnaReaderRaster unable to connect to data Unable to invoke method on NULL object reference: )>. The halted line is at my ENVITask('ReprojectGLT'). I hav...
|
|
|
|
0 |
152 |
05 Oct 2020 09:19 AM |
|
1 Replies and 205 Views
Importing library 205 1
Started by Deepjyoti Satpathy
I'm completely new to IDL and don't understand it much. Trying to run a simple code: tab = mrdfits('Sample.fits',1). Running this code shows an error - Variable is undefined: MRDFIT. In this regard I wanted to ask, how do I import the library
|
|
|
|
1 |
205 |
by Ben Castellani 11 Sep 2020 12:24 PM |
|
0 Replies and 301 Views
IDL PRINT format code problem 301 0
Started by Jim Uba
Q: Why does the following fail to print as expected IDL> a1 = 1 IDL> a2 = 2 IDL> a3 = 3 IDL> print,format='(8a,i02,i08,a3,i02,a4)', 'abcdefgh',a1,a2,'ijk',a3,'LMNO.txt' abcdefgh 1 2ijk 3LMNO.txt I expect output like: abcdefgh0100000002ijk03LMNO A: The first format code '8a' is not correct for the desired output. '8a' specifies output for 8 strings. Instead, the correct format code should be 'a8'. For example: IDL> print,format='(a8,i02,i08,a3,i02,a4)', '...
|
|
|
|
0 |
301 |
27 Aug 2020 06:40 PM |
|
0 Replies and 325 Views
Widget focus 325 0
Started by Jürgen Koglin
Hello, I have several floating draw widgets. All these widgets have the same level hierarchy. Setting the input focus automatically on one of these widgets, when I move the mouse over it, works fine. Unfortunately, 'widget_control, /input_focus' does not only set the focus on the widget, but also brings the widget to the front. How can I set the input focus on the draw widget without bringing it to the front Which means, if applicable the widget should stay behind the others and not be pu...
|
|
|
|
0 |
325 |
18 Aug 2020 05:36 AM |
|
2 Replies and 452 Views
plotting points on maps 452 2
Started by Ben Felzer
I am trying to plot filled and unfilled circles on a map - the unfilled circles appear as white circles, but I would like them to have a black outline around them. Is that possible (here are the commands I am using). A = FIndGen(47) * (!PI*2/46.) UserSym, cos(A), sin(A), /fill PLOTS,lon,lat,a,PSYM=8,SYMSIZE=0.75, LINESTYLE=0, COLOR=vcolors, THICK=5
|
|
|
|
2 |
452 |
by Ben Castellani 03 Aug 2020 01:47 PM |
|
1 Replies and 328 Views
Compile option disabled!! IDL command Prompt not working 328 1
Started by Jorge Lozano
The compile button is disabled, the cmd does not give the option to insert commands. When I tried to right click on project 'Build project ' a dialog box pops up with the following message: 'An internal error occurred during: 'Build Project'. Attempt to send message to IDL before IPS initialization complete. Clients must ensure IPS is ready or implement ServerReadyListener before calling this method.' Does any body have an idea what is going on I am totally new to IDL so excuse me if ...
|
|
|
|
1 |
328 |
by Ben Castellani 03 Aug 2020 12:08 PM |
|
1 Replies and 283 Views
Help understanding portion of a script 283 1
Started by John Hageter
I'm not the best with IDL but I have found my way around it. One thing I keep coming across while looking at a portion of an old script is 'arr' before each array, but I don't understand where the input is coming from; function impact, arr, r fl=(findgen(100)1.)/100. parr=arr&91;*,0&93; for i=1,n_elements(arr&91;0,*&93;)-1 do begin nx=arr&91;0,(i-1)&93;(arr&91;0,i&93;-arr&91;0,(i-1)&93;)*fl ny=arr&91;1,(i-1)&93;(arr&91;1,i&93;-arr&91;1,(i-1...
|
|
|
|
1 |
283 |
by Ben Castellani 03 Aug 2020 12:06 PM |
|
2 Replies and 374 Views
Saving variable incrementaly 374 2
Started by Sébastien Flament
How could I save a variable in a file inside a loop incrementaly
|
|
|
|
2 |
374 |
by Ben Castellani 03 Aug 2020 11:58 AM |
|
1 Replies and 228 Views
how to access AWS from IDL 228 1
Started by Brian
I searched around, but was not able to find anything especially useful as far as examples or documentation on how to access AWS datasets from within IDL. In particular, I would like to get satellite data from GOES-16 and 17: https://registry.opendata.aws/noaa-goes/ Any hints or leads would be greatly appreciated! Thanks, Brian
|
|
|
|
1 |
228 |
by Ben Castellani 03 Aug 2020 11:55 AM |
|
1 Replies and 421 Views
Interrupt embbeded Java Thread with CTRLC 421 1
Started by IKhokhriakov
Dear L3Harris Forum, I have a question concerning using embedded Java processes into IDL (Java-IDL bridge). Specifically I need to catch and process CTRLC while executing long running Java process from within IDL. Just listening for Thread.isInterrupted does not work. The source code of the embedded Java library can be found here: https://github.com/hzg-wpi/idl2tango/blob/6e8cd9f1a340481f7505f23d1a1c39cb36e493dd/src/main/java/hzg/wpn/idl/PollDevStateAwaitor.javaL54 Thanks in advance.
|
|
|
|
1 |
421 |
by IKhokhriakov 13 Jul 2020 04:00 AM |