Search this forum:
Search
You are not authorized to create a new topic
Page 1 of 12512345 > >>
Topics
 Replies
 Views
 Last Post
1 Replies and 139 Views Python Bridge numpy absent  139  1 Started by  Dagmar van Dusschoten 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 139
by  Chris RyanJump to last post
31 Jan 2023 06:30 PM
3 Replies and 96 Views has anyone successfully brought up a python plot window from the DE  96  3 Started by  Ronn Kling 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 96
by  Ronn KlingJump to last post
07 Jan 2023 04:48 AM
3 Replies and 129 Views Change Detection Difference Map  129  3 Started by  Christian Kohler 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 129
by  MariMJump to last post
20 Dec 2022 08:32 AM
1 Replies and 103 Views REPEAT...UNTIL  103  1 Started by  Manaf Alkhuzaei Is there a way to use (Repeat begin/endrep until) and the condition that the code is run 100 times
1 103
by  Ben CastellaniJump to last post
07 Dec 2022 08:33 PM
2 Replies and 1993 Views python to IDL bridge on Mac  1993  2 Started by  Stephane Erard Hello I have a hard time trying to make the python bridge to work on Mac (OS X 14.2 localized, IDL 8.7.1, python 2.7 and 3.6) I'm using either the Apple install of python 2.7 or a homebrew install of 3.6. The IDL to python seems OK with python in the PATH (I can call python from IDL command line, although not in the workbench), but not the other way around. - Defining a PYTHONHOME logical only results in complete blocking of python (exits with message ImportError: No module named site...
2 1993
by  Stephane ErardJump to last post
06 Dec 2022 02:16 AM
5 Replies and 2588 Views Will the next version of IDL run natively on Macs with the new M1 Chip  2588  5 Started by  Sean Brittain Apple is moving away from Intel and to their new M1 chips. What is the timeline for releasing a version of IDL that runs natively on these chips.
5 2588
by  Marc De GraefJump to last post
28 Nov 2022 01:03 PM
3 Replies and 137 Views Scale all bands in raster  137  3 Started by  Federico Carotenuto 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 137
by  MariMJump to last post
21 Nov 2022 08:00 AM
1 Replies and 158 Views VECTOR function doesn't make plot on postscript device  158  1 Started by  Xinghai Zhao 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 158
by  Ben CastellaniJump to last post
03 Nov 2022 09:01 AM
1 Replies and 1540 Views When will HDF5 1.10 be supported by IDL?  1540  1 Started by  Kathleen McCandless 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 1540
by  Ben CastellaniJump to last post
31 Oct 2022 08:25 AM
1 Replies and 1164 Views Slow rendering at startup  1164  1 Started by  Ellen Wasbø 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 1164
by  Ben CastellaniJump to last post
31 Oct 2022 08:22 AM
1 Replies and 1027 Views Creating ROIs for a dataset and collect pixel values  1027  1 Started by  Bereket Mamo 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 1027
by  Ben CastellaniJump to last post
31 Oct 2022 08:21 AM
1 Replies and 1247 Views IDL program stops at regular intervals  1247  1 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...
1 1247
by  Ben CastellaniJump to last post
31 Oct 2022 08:17 AM
1 Replies and 964 Views problem saving graphics  964  1 Started by  André Knöfel 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 964
by  Ben CastellaniJump to last post
27 Oct 2022 06:06 PM
1 Replies and 1071 Views Variable undefined problem: STRSPLIT  1071  1 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...
1 1071
by  Ben CastellaniJump to last post
27 Oct 2022 06:02 PM
1 Replies and 1151 Views IDL Python bridge error with new IDL8.8/Anaconda 3.8  1151  1 Started by  Roy Kilgard 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 1151
by  Ben CastellaniJump to last post
27 Oct 2022 05:59 PM
0 Replies and 153 Views VECTOR function doesn't make plot on postscript device  153  0 Started by  Xinghai Zhao 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 153
27 Oct 2022 10:40 AM
10 Replies and 3369 Views Mac OS 12 Monterey breaks IDL  3369  10 Started by  Henry Chapman 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 3369
by  Ben CastellaniJump to last post
21 Oct 2022 01:16 PM
1 Replies and 169 Views Using Symbol UValue  169  1 Started by  Christian Kohler 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 169
by  Ben CastellaniJump to last post
21 Oct 2022 01:15 PM
1 Replies and 228 Views Possible bug in position property in graphics objects  228  1 Started by  Peter Montag 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 228
by  Ben CastellaniJump to last post
07 Oct 2022 09:04 AM
1 Replies and 173 Views Bandpass_filter error message  173  1 Started by  Khilav Majmudar 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 173
by  Ben CastellaniJump to last post
07 Oct 2022 08:59 AM
You are not authorized to create a new topic
Page 1 of 12512345 > >>


SIGN UP AND STAY INFORMED

Sign up to receive the latest news, events, technologies and special offers.

SIGN ME UP