X
Search this forum:
Search
You are not authorized to create a new topic
Page 2 of 126 << < 12345 > >>
Topics
 Replies
 Views
 Last Post
1 Replies and 778 Views Python Bridge numpy absent  778  1 Started by  Deleted User I recently installed IDL 8.8.3 and decided to setup the bridge to Python. I added to the PATH variable and ran setup.py in the correct directory. Everything looks OK. In Python 3.7.6 I can run from idlpy import * When I run in IDL > np=Python.Import('Numpy') I get PYTHON::LOAD: numpy is not installed for this python distribution and is required for the IDL-python bridge. numpy can be installed by running 'c:\users\d.van.dusschoten\Anaconda3\python.exe -m pip install numpy'. numpy is in...
1 778
by  Deleted UserJump to last post
31 Jan 2023 06:30 PM
3 Replies and 871 Views has anyone successfully brought up a python plot window from the DE  871  3 Started by  Deleted User I'm trying to bring up a matplotlib graph and cannot get past creating the figure. I get the same error when calling it from a .pro or using >>> to put the console into python mode >>> >>> import matplotlib.pyplot as plt Loaded DLM: PYTHON39. >>> plt.figure(0) The I get a window that says (wish I could paste an image here) This application failed to start because it could not find or load the Qt plaform 'windows' in '', Reinstalling the application may fix the problem Pressing...
3 871
by  Deleted UserJump to last post
07 Jan 2023 04:48 AM
3 Replies and 770 Views Change Detection Difference Map  770  3 Started by  Deleted User Hi! Currently I am investigating differences in some data, in case two DEM files. Therefore I used the Change Detection Difference Map dialog in ENVI which is working perfectly fine and fast, but as I want to use it several time I am looking a possibility to recreate this functionality in IDL. Trying to recreate the functionality in IDL I used the following functions (firstly using ENVI modeler and then exported to IDL): 1. Generate Tie Points by Mutual Information 2. Filter Tie Points by Gl...
3 770
by  MariMJump to last post
20 Dec 2022 08:32 AM
1 Replies and 665 Views REPEAT...UNTIL  665  1 Started by  Deleted User Is there a way to use (Repeat begin/endrep until) and the condition that the code is run 100 times
1 665
by  Ben CastellaniJump to last post
07 Dec 2022 08:33 PM
3 Replies and 985 Views Scale all bands in raster  985  3 Started by  Deleted User I am trying to perform in IDL an operation that is conceptually quite simple, but that's apparently very complicated code-wise. I have a raster with more than 200 bands. The raster data values are 'float' type data and range between 0 and 1. I want to convert this raster to have 'uint' data type scaled between 0 and 10000. Conceptually this would be as easy as typing 'fix(raster*10000)', but that does not work, band math is needed. Now, is it really possible that this is the -only- way to...
3 985
by  MariMJump to last post
21 Nov 2022 08:00 AM
1 Replies and 741 Views VECTOR function doesn't make plot on postscript device  741  1 Started by  Deleted User I am using VECTOR function to make vector plot. But the resulting plot is always showing up in separate 'x' window even if I set device as 'ps' as postscript. The postscript file generated has zero size. I use IDL 8.8.2 on M1 Mac with macOS 12.6. This seems the case on other systems too! Thanks a lot!
1 741
by  Ben CastellaniJump to last post
03 Nov 2022 09:01 AM
1 Replies and 2352 Views When will HDF5 1.10 be supported by IDL?  2352  1 Started by  Deleted User We would like to keep our application code in sync with IDL, and are wondering what the upgrade time frame is for HDF5. Thanks!
1 2352
by  Ben CastellaniJump to last post
31 Oct 2022 08:25 AM
1 Replies and 1811 Views Slow rendering at startup  1811  1 Started by  Deleted User I have an applikation with quite a few widgets in it, but I think it takes strangly long time to start up. The rendering of images, lists and tables during runing the program is not a problem. It just sometimes take very long time to get the buttons visible to get started. Are there anything I can do to my code to speed up the startup-rendering
1 1811
by  Ben CastellaniJump to last post
31 Oct 2022 08:22 AM
1 Replies and 1762 Views Creating ROIs for a dataset and collect pixel values  1762  1 Started by  Deleted User I am doing remote sensing work and have a dataset containing a few hundred images. Each image has several bands, which contain information such as reflectance, incidence angle, longitude and latitude information. My goal is to create a database of reflectance and other information contained in the other bands on a pixel-by-pixel basis. 1. To reduce the large amount of data this would generate, I would like to create a region of interest (ROI) around a specified location of the surface and ap...
1 1762
by  Ben CastellaniJump to last post
31 Oct 2022 08:21 AM
1 Replies and 1957 Views IDL program stops at regular intervals  1957  1 Started by  Deleted User 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...
1 1957
by  Ben CastellaniJump to last post
31 Oct 2022 08:17 AM
1 Replies and 1534 Views problem saving graphics  1534  1 Started by  Deleted User Hi, I have the following problem when saving graphics on Windows 10 with IDL 8.7.2 I create a graphic and save it in a PNG file using the Save Method. A normal graphic can be seen here as an example: https://www.astroamateur.de/IDL/InetLayoutMOL40_ok.png From time to time, however, a graphic is created that sometimes shows bars instead of labels. Here is an example: https://www.astroamateur.de/IDL/InetLayoutMOL40_fail.png The faulty bars are usually in an identical position. Th...
1 1534
by  Ben CastellaniJump to last post
27 Oct 2022 06:06 PM
1 Replies and 2156 Views Variable undefined problem: STRSPLIT  2156  1 Started by  Deleted User 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...
1 2156
by  Ben CastellaniJump to last post
27 Oct 2022 06:02 PM
1 Replies and 1871 Views IDL Python bridge error with new IDL8.8/Anaconda 3.8  1871  1 Started by  Deleted User Hi there, I have a Mac running macOS 10.15.7. I have clean installs of IDL8.8 and Python 3.8 via Anaconda. I ran the setup.py for the IDL Python bridge successfully, but when attempting to run any python code in IDL, I get this: IDL 8.8.0 (darwin x86_64 m64). (c) 2020, Harris Geospatial Solutions, Inc. Licensed for use by: Wesleyan University License: 99690 IDL> >>>22 Loaded DLM: PYTHON38. INTEL MKL ERROR: dlopen(/Users/rkilgard/anaconda3/lib/libmkl_intel_thread.dylib, 9): Libra...
1 1871
by  Ben CastellaniJump to last post
27 Oct 2022 05:59 PM
0 Replies and 1043 Views VECTOR function doesn't make plot on postscript device  1043  0 Started by  Deleted User I am using VECTOR function to make vector plot. But the resulting plot is always showing up in separate 'x' window even if I set device as 'ps' as postscript. The postscript file generated has zero size. I use IDL 8.8.2 on M1 Mac with macOS 12.6. This seems the case on other systems too! Thanks a lot!
0 1043
27 Oct 2022 10:40 AM
10 Replies and 5739 Views Mac OS 12 Monterey breaks IDL  5739  10 Started by  Deleted User I recently upgraded to Monterey on my mac and now IDL crashes as soon as you invoke a window in X-windows: IDL> plot, findgen(10) Error: Unresolved inheritance operation I tried reinstalling X-Quartz (which was up to date at version 2.8.1) but this didn't help. Thanks, Henry
10 5739
by  Ben CastellaniJump to last post
21 Oct 2022 01:16 PM
1 Replies and 742 Views Using Symbol UValue  742  1 Started by  Deleted User Hi! As I did not find any possibility to show a colorbar for the Time Series Analyzer -> Vector visualization I wanted to recreate it using idl and the symbol function. But it turned out that adding a vast number of symbols is badly slow. By the way the whole ENVI program reproducibly crashes when interrupting a lengthy loop adding symbols. Therefore I wanted to add all symbols at once, passing x and y vectors to the symbol function and using the uvalue to set the symbol color. Would this be po...
1 742
by  Ben CastellaniJump to last post
21 Oct 2022 01:15 PM
1 Replies and 797 Views Possible bug in position property in graphics objects  797  1 Started by  Deleted User While working with some custom plotting routines, I found that setting the position property of a plot does not work as expected. Rather than the plot moving to those coordinates, it instead move something like 2/3 of the way there. For example, p=plot(&91;0,1&93;,&91;0,1&93;) p.position = &91;0.0, 0.0, 0.5, 0.5&93; p.position = &91;0.5, 0.0, 1.0, 0.5&93; will give a plot positioned at &91;0.314, 0.0, 0.814, 0.5&93;. Does anyone know what's happening here Is this intended beha...
1 797
by  Ben CastellaniJump to last post
07 Oct 2022 09:04 AM
1 Replies and 754 Views Bandpass_filter error message  754  1 Started by  Deleted User I have 2D time series data, which means I have values in a plane that evolve. I would like to filter the data around the 5 mHz frequency and then plot it. The command I am using is: bp = BANDPASS_FILTER(array,freq0-0.004,freq00.004,/IDEAL). array is a two-dimensional array of values. freq0 is 5 mHz. This command is yielding the error message I mentioned in the summary. Any help is appreciated. Thank you.
1 754
by  Ben CastellaniJump to last post
07 Oct 2022 08:59 AM
2 Replies and 775 Views Endfor syntax error when scripting with bash shell  775  2 Started by  Deleted User I have a script like this in a bash shell script idl print, 1 print, 2 ... print, 1000 end_of_commands And it works fine. Then I rewrote it to have this form: idl for i=1,1000 do begin print,i endfor end_of_commands And when I run it IDL says: endfor ^ Syntax error. Thank you.
2 775
by  Deleted UserJump to last post
01 Sep 2022 04:07 PM
1 Replies and 682 Views Mac OS compatibility for IDL 8.6.1 and 8.7  682  1 Started by  Deleted User Hi: I have an active, albeit old IDL License with 8.6.1 installed on an older computer running Sierra (OS 10.12). On my account, I also see 8.7 as a listed potential 'add on', although I do not see a download link. Questions: - if I upgrade my OS to Mojave (10.14), will IDL break (i.e. is 8.6.1 incompatible with Mojave) - Is 8.7 compatible with Mojave
1 682
by  Ben CastellaniJump to last post
31 Aug 2022 09:27 AM
You are not authorized to create a new topic
Page 2 of 126 << < 12345 > >>