|
|
|
|
|
2 Replies and 1609 Views
Outputting data to two columns 1609 2
Started by Deleted User
I'm having trouble formatting my wavelength and spectral data to two columns in a text file. This code applies a thresholded region of interest to plant images and gets the average spectra. I can output the data into a single column just fine. I can output to two columns but it goes through all the wavelengths first and then the data points. I've been trying different ways and am still stuck. Thanks.
|
|
|
|
2 |
1609 |
by Deleted User 27 Oct 2017 08:43 AM |
|
1 Replies and 2047 Views
Creating Series of parameter lists automatically 2047 1
Started by Deleted User
Creating Series of parameter lists automatically I would like to know if there is any way to create something like this automatically: untitled_0 = strarr(12) untitled_1 = strarr(30) untitled_2 = strarr(50) untitled_3 = strarr(40) untitled_4 = strarr(60) untitled_5 = strarr(80) The number of untitled is not fix and it depends on my input. So it is possible to create the names like this somehow: For k = 0, 5 do begin Untitled_(k) = ……………….. Endfor
|
|
|
|
1 |
2047 |
by Deleted User 27 Oct 2017 08:13 AM |
|
0 Replies and 3403 Views
MERIS Flags 3403 0
Started by Deleted User
Hello, I have to write an IDL script to exclude flaged values from a level 2 MERIS product. (N1). On ENVI, flags are stored in a dataset of 3 layers in bit format and I didn't find any way to do that. Thank you in advance. Siham
|
|
|
|
0 |
3403 |
14 Oct 2017 02:42 PM |
|
0 Replies and 5916 Views
How to delete a workspace 5916 0
Started by Deleted User
Question from a user: In IDL 8.5, how do I delete a workspace I want to delete a workspace from the pulldown list that is accessible when starting IDL 8.5. Possible Answer: -Go to Window > Preferences > General > Startup and Shutdown > Workspaces -Select the workspace you wish to remove and click the 'Remove' button
|
|
|
|
0 |
5916 |
13 Oct 2017 01:59 PM |
|
1 Replies and 4092 Views
WINDOW: Routine is not defined for the current graphics device 4092 1
Started by Ben Castellani
I recently updated my IDL to 8.6.1 and now I cannot use the Direct Graphics command WINDOW. I get the error: ' WINDOW: Routine is not defined for current graphics device.' I am running OS X El Capitan (10.11.2), and I have the latest version of XQuartz installed. Not sure how to fix this, used to work fine on my old version.
|
|
|
|
1 |
4092 |
by Ben Castellani 11 Oct 2017 03:02 PM |
|
0 Replies and 2946 Views
Trouble with Cursor Function 2946 0
Started by Deleted User
A user reported an issue they are encountering using the cursor command: Question: I am currently using IDL 8.4 in a Windows 10 laptop. For some unknown reason the cursor command does not return the correct values from the graph. However, when I use the cursor command in my old laptop which has an older IDL and runs on ubuntu it reads the data correctly. I request you to kindly solve this problem. Considering the graphs of IDL are non-interactive in nature when MATLAB and ...
|
|
|
|
0 |
2946 |
13 Sep 2017 08:53 AM |
|
1 Replies and 2070 Views
Control where ./idl is created? 2070 1
Started by Ben Castellani
When launching ENVI or IDL on Windows, the application saves user configuration data in the following location: C:\Users\Username\.idl Can this default location be changed
|
|
|
|
1 |
2070 |
by Ben Castellani 11 Sep 2017 09:21 AM |
|
3 Replies and 3639 Views
Image(): Failure to acquire window rendering context 3639 3
Started by Deleted User
I am using Linux Debian and IDL 8.4. Recently I used a Samsung TV Set as my monitor. I encountered this issue here: When I call IMAGE() to show an image picture, inside IDLDE, it will print out the following error message and hang:
IDLITWINDOW::ONEXPOSE: Failure to acquire window rendering context.
Unable to acquire device context.
Can someone tell me how to deal with this
|
|
|
|
3 |
3639 |
by Deleted User 08 Sep 2017 01:41 PM |
|
2 Replies and 1799 Views
2-dimentional fit to gridded data 1799 2
Started by Deleted User
I am looking for an IDL function which enables a 2-dimensional fit to gridded data, i.e. similar to the GAUSS2DFIT or the SFIT function. In the particular case the data is a grid array, let's say a=dblarr(x,y), where x, y and z=a(x,y) are the coordinates in the 3d space. The function I want to fit to my grid array could be a hemisphere, cone, or even any other mathematical area function, which can be described as z=f(x,y). CURVEFIT is something which is very to close to that what I need,...
|
|
|
|
2 |
1799 |
by Deleted User 08 Sep 2017 09:54 AM |
|
1 Replies and 2082 Views
Recover active source code 2082 1
Started by Deleted User
My program accidentally overwrote its source code .pro (save with filename='proc.pro' instead of 'proc.sav') Can I recover the original source code I did a 'save, /routines' but that is not readable. I tried restarting and stepping with .trace, but that does not echo the source lines.
|
|
|
|
1 |
2082 |
by Deleted User 05 Sep 2017 12:09 PM |
|
1 Replies and 1699 Views
rdpix broken 1699 1
Started by Deleted User
starting with IDL 8.6.1 when calling rdpix from the command line I get this (on all OS): 'Windows': cr = string('15b)string('12b) ; carriage and new line ^ Syntax error. At: C:\Program Files\Harris\ENVI54\IDL86\lib\rdpix.pro, Line 73 Attempt to call undefined procedure: 'RDPIX'. Since the source code of rdpix has not changed this error must be caused by some different compilation setting in 8.6.1.
|
|
|
|
1 |
1699 |
by Deleted User 05 Sep 2017 12:06 PM |
|
1 Replies and 1591 Views
Properly Dereferencing and Setting values via Pointers 1591 1
Started by Deleted User
For example: IDL> a = 10 IDL> b = ptr_new( a, /allocate_heap ) IDL> *b = 20 IDL> print, a 10 IDL> I would expect by dereferencing pointer 'b', and setting it to another value, this should change the value of 'a', although this is not the case. What could I do to get the desired result
|
|
|
|
1 |
1591 |
by Deleted User 05 Sep 2017 11:44 AM |
|
1 Replies and 1921 Views
Run a sav from a ASP.NET web page 1921 1
Started by Deleted User
Hi, I have written a ASP.NET program in which a SAV file can be run by a user click. That is the ENVI idl run-time (virtual machine) is invoked to run the SAV in the aspx page. While the application is ok when I run it through Visual Studio debugging environment, It can not be run after publishing the website in local host (i.e. http://localhost/myWeb ). I don't know what the reason is and I will be appreciate if anybody could help me.
|
|
|
|
1 |
1921 |
by Deleted User 05 Sep 2017 11:36 AM |
|
8 Replies and 3213 Views
ENVI_GLT_DOIT OPENR Error 3213 8
Started by Deleted User
I am unable to get ENVI_GLT_DOIT to complete; it finishes 'Build GLT File Part 1' and then aborts at the end of 'Build GLT File Part 2 with the following error: Build GLT File: An error has occurred during processing. Error: 'OPENR: Error opening file. Unit:102, File: /tmp/envFriJul2812222220171926558349_1.tmp' The result may be invalid. I am using IDL version 8.4 on Ubuntu 14.04 and trying to create GLTs from lat/long files associated with MASTER remote sensing datasets. Here is an exampl...
|
|
|
|
8 |
3213 |
by Deleted User 01 Aug 2017 11:03 AM |
|
1 Replies and 3285 Views
libGL error 3285 1
Started by Deleted User
I don't use IDL, I am asking this on behalf of a user. We have two machines, his code ran on one, but not the other. I updated the machine where the code would not run to the newest version of IDL, same error: libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast It appears that both machines have the same libraries installed. Although some of our machines have Nvidia, these two don't. We are also getting a 2nd error: !CGPLOTS ->...
|
|
|
|
1 |
3285 |
by MariM 24 Jul 2017 02:28 PM |
|
1 Replies and 2080 Views
Acquiring ROI‘s data 2080 1
Started by Deleted User
I want to get every pixel's data value in a ROI area by using IDL.However, I don't know which function can be used to achieve this purpose. Thanks for your sincerely reply in advance.
|
|
|
|
1 |
2080 |
by MariM 29 Jun 2017 02:00 PM |
|
1 Replies and 2266 Views
Issues with the MEAN function 2266 1
Started by Deleted User
I am stymied by something that IDL is doing in my code, and I cannot explain it. I am calculating the mean (average) of a defined subset of an array (using an index defined by the where function), and I am printing out the mean as well as the number of elements in the subset for which a certain condition is met. If no element meets the condition (index = -1) , I would expect the mean to come out as NaN. However, IDL always returns a number. I thought something was wrong in my elaborate code, but...
|
|
|
|
1 |
2266 |
by Deleted User 30 May 2017 11:33 AM |
|
0 Replies and 3669 Views
glibc detected error 3669 0
Started by Deleted User
Question: A user is running IDL scripts on their system. Usually the scripts run properly but sometimes a crash occurs with the following error message: *** glibc detected *** /opt/envi5.3.1/idl85/bin/bin.linux.x86_64/idl: malloc(): memory corruption: 0x00000000012dea60 *** The backtrace has lines that say things such as the following: ==5d33231000-7f5d34c3d000 r-xp 00000000 /usr/lib64/libnvidia-glcore.so.310.40 7f5d35926000-7f5d359f4000 r-xp 00000000 /usr/lib64/li...
|
|
|
|
0 |
3669 |
24 May 2017 11:10 AM |
|
1 Replies and 6559 Views
Changing Font Size and Type in Axis Titles 6559 1
Started by Deleted User
p.title.font_size=value works fine to change the main title font size, but I don't see a way to change the size of the x axis and y axis titles. Also, what font was used prior to 8.6 I think the new one looks terrible, and it seems to be drawn differently: it's blurry and not as crisp and clear as in previous versions.
|
|
|
|
1 |
6559 |
by Deleted User 23 May 2017 11:01 AM |
|
1 Replies and 2110 Views
Controlling vector maps with VECTOR and LEGEND 2110 1
Started by Deleted User
Hi everyone, I am trying to draw vector maps with IDL from a list of vector catalogs by using the VECTOR and LEGEND functions. However, I encountered two frustrating problems that may force me to find alternative methods in order to get publishable results. First, let me explain what I need to do: I am trying to compare on the same plot two vector catalogues containing information about astronomical polarisation vectors. These vectors are plotted on top of a contour map of the astronomical...
|
|
|
|
1 |
2110 |
by Deleted User 23 May 2017 10:36 AM |