|
|
|
|
|
2 Replies and 3466 Views
Compile option disabled!! IDL command Prompt not working 3466 2
Started by Deleted User
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 ...
|
|
|
|
2 |
3466 |
by Deleted User 16 Feb 2021 03:15 PM |
|
2 Replies and 2514 Views
IDL 8.8 Python image display 2514 2
Started by Deleted User
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 |
2514 |
by Deleted User 26 Jan 2021 06:01 AM |
|
1 Replies and 2048 Views
Contour Function vs Procedure 2048 1
Started by Deleted User
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 |
2048 |
by Ben Castellani 25 Jan 2021 10:09 AM |
|
1 |
1839 |
by Ben Castellani 08 Jan 2021 01:17 PM |
|
0 Replies and 2418 Views
GAUSS2DFIT (bug solution) 2418 0
Started by Deleted User
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 |
2418 |
11 Dec 2020 07:53 PM |
|
7 |
3777 |
by Deleted User 07 Dec 2020 07:35 AM |
|
2 Replies and 3208 Views
IDL 8.8 Workbench, icon sizes (Win10 x64) 3208 2
Started by Deleted User
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 |
3208 |
by Deleted User 28 Nov 2020 01:22 PM |
|
1 Replies and 2155 Views
reading and processing multiple bands into one big file 2155 1
Started by Deleted User
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 |
2155 |
by MariM 29 Oct 2020 12:13 PM |
|
1 Replies and 2283 Views
Importing library 2283 1
Started by Deleted User
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 |
2283 |
by Ben Castellani 11 Sep 2020 12:24 PM |
|
0 Replies and 2324 Views
IDL PRINT format code problem 2324 0
Started by Deleted User
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 |
2324 |
27 Aug 2020 06:40 PM |
|
0 Replies and 2236 Views
Widget focus 2236 0
Started by Deleted User
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 |
2236 |
18 Aug 2020 05:36 AM |
|
2 Replies and 2371 Views
plotting points on maps 2371 2
Started by Deleted User
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 |
2371 |
by Ben Castellani 03 Aug 2020 01:47 PM |
|
1 Replies and 1760 Views
Help understanding portion of a script 1760 1
Started by Deleted User
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 |
1760 |
by Ben Castellani 03 Aug 2020 12:06 PM |
|
2 Replies and 2098 Views
Saving variable incrementaly 2098 2
Started by Deleted User
How could I save a variable in a file inside a loop incrementaly
|
|
|
|
2 |
2098 |
by Ben Castellani 03 Aug 2020 11:58 AM |
|
1 Replies and 2409 Views
how to access AWS from IDL 2409 1
Started by Deleted User
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 |
2409 |
by Ben Castellani 03 Aug 2020 11:55 AM |
|
0 Replies and 3341 Views
multi-thread warning command line? 3341 0
Started by Deleted User
Hi All, Recently, I've been getting this warning when I run a script from the command line (not from within the developer environment): OMP: Warning 190: Forking a process while a parallel region is active is potentially unsafe. Quite often the script will hang and not finish when this warning comes. It sounds like there's an issue with multi thread processing, but I'm not sure. Anyone have any good ideas on this issue and how to solve it I'm running IDL 8.7.3 on x64 Debian GNU/Linux ...
|
|
|
|
0 |
3341 |
17 Jun 2020 04:14 AM |
|
3 Replies and 2344 Views
IDL8.7.3 and Catalina: issue accessing data on external HD 2344 3
Started by Deleted User
To IDL8.7.3 and macOS 10.15 Catalina users (I'm running Catalina 10.15.4 on a 2019 MB Pro) I have an error with readfits() or mrdfits() when the image is on an external HD or an USB key. Compiled module: $MAIN$. MRDFITS: File access error MRDFITS: OPENR: Error opening file. Unit: 100, File: /Volumes/LaCie/data_spy/image.fits Illegal variable attribute: WAVE. Execution halted at: $MAIN$ From the terminal, I can cd to /Volumes/LaCie/data_spy/ and ls all my files... I ...
|
|
|
|
3 |
2344 |
by Deleted User 02 Jun 2020 01:06 PM |
|
4 Replies and 2618 Views
idl_lapack.dll not found 2618 4
Started by Deleted User
The purpose of this post is to indicate that something with the MS-Windows 32bit, idl_lapack.dll under in IDL 8.7.3 seems to be wrong. Background: I have a IDL program which requires 32bit MS-Windows libraries. With IDL 8.7.2 and using the make_rt command, I successfully built an IDLVM in which my program works fine. When I do the same under IDL 8.7.3, running the program in the 8.7.3-based IDLVM will crash with the error message: Plot: Error loading sharable executable. Symbol: IDL_Load, ...
|
|
|
|
4 |
2618 |
by Deleted User 11 May 2020 07:07 PM |
|
0 Replies and 2311 Views
ARM processor support? 2311 0
Started by Deleted User
Apple will release its first Mac powered by an ARM processor in 2021, Bloomberg reports. It is quite logical that Apple will switch to ARM in the near future. Will a future IDL version work on ARM so we can use IDL on future Macs and iPads That would be cool.
|
|
|
|
0 |
2311 |
05 May 2020 06:09 AM |
|
0 Replies and 2981 Views
Get title Widget_Base 2981 0
Started by Deleted User
In the widget_base() function it is possible to set the title using the 'title=...' keyword. This function works fine, but how can I get (read) the current title of an existing widget
|
|
|
|
0 |
2981 |
08 Apr 2020 01:51 AM |