X
Search this forum:
Search
You are not authorized to create a new topic
Page 5 of 126 << < 34567 > >>
Topics
 Replies
 Views
 Last Post
2 Replies and 2431 Views IDL 8.8 Python image display  2431  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 2431
by  Deleted UserJump to last post
26 Jan 2021 06:01 AM
1 Replies and 1966 Views Contour Function vs Procedure  1966  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 1966
by  Ben CastellaniJump to last post
25 Jan 2021 10:09 AM
1 Replies and 1766 Views How can I calculate square root of a matrix in IDL 8.4?  1766  1 Started by  Deleted User I need to calculate square root of a large dimension matrix. How can I do it using IDL
1 1766
by  Ben CastellaniJump to last post
08 Jan 2021 01:17 PM
0 Replies and 2292 Views GAUSS2DFIT (bug solution)  2292  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 2292
11 Dec 2020 07:53 PM
7 Replies and 3704 Views Is this a dead language?  3704  7 Started by  Deleted User How long will IDL keep running
7 3704
by  Deleted UserJump to last post
07 Dec 2020 07:35 AM
2 Replies and 3106 Views IDL 8.8 Workbench, icon sizes (Win10 x64)  3106  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 3106
by  Deleted UserJump to last post
28 Nov 2020 01:22 PM
1 Replies and 2062 Views reading and processing multiple bands into one big file  2062  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 2062
by  MariMJump to last post
29 Oct 2020 12:13 PM
1 Replies and 2197 Views Importing library  2197  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 2197
by  Ben CastellaniJump to last post
11 Sep 2020 12:24 PM
0 Replies and 2221 Views IDL PRINT format code problem  2221  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 2221
27 Aug 2020 06:40 PM
0 Replies and 2130 Views Widget focus  2130  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 2130
18 Aug 2020 05:36 AM
2 Replies and 2271 Views plotting points on maps  2271  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 2271
by  Ben CastellaniJump to last post
03 Aug 2020 01:47 PM
1 Replies and 1674 Views Help understanding portion of a script  1674  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 1674
by  Ben CastellaniJump to last post
03 Aug 2020 12:06 PM
2 Replies and 2028 Views Saving variable incrementaly  2028  2 Started by  Deleted User How could I save a variable in a file inside a loop incrementaly
2 2028
by  Ben CastellaniJump to last post
03 Aug 2020 11:58 AM
1 Replies and 2267 Views how to access AWS from IDL  2267  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 2267
by  Ben CastellaniJump to last post
03 Aug 2020 11:55 AM
0 Replies and 3215 Views multi-thread warning command line?  3215  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 3215
17 Jun 2020 04:14 AM
3 Replies and 2236 Views IDL8.7.3 and Catalina: issue accessing data on external HD  2236  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 2236
by  Deleted UserJump to last post
02 Jun 2020 01:06 PM
4 Replies and 2528 Views idl_lapack.dll not found  2528  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 2528
by  Deleted UserJump to last post
11 May 2020 07:07 PM
0 Replies and 2229 Views ARM processor support?  2229  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 2229
05 May 2020 06:09 AM
0 Replies and 2867 Views Get title Widget_Base  2867  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 2867
08 Apr 2020 01:51 AM
1 Replies and 2213 Views Overlay disjoint images on large base map?  2213  1 Started by  Deleted User I have several data arrays representing different regions within a large area. Each array has latitude and longitude information. I want to produce a single image with the regions placed on a common underlying map. I have tried using MAP_SET to define the base map and then, for each region, used MAP_PATCH to warp it into its proper place on the larger base map. The problem is that I can't figure out how to display them all; when I try using TV, for example, the display window is wiped clean...
1 2213
by  Deleted UserJump to last post
02 Apr 2020 07:50 AM
You are not authorized to create a new topic
Page 5 of 126 << < 34567 > >>