X
Search this forum:
Search
You are not authorized to create a new topic
Page 12 of 126 << < 1011121314 > >>
Topics
 Replies
 Views
 Last Post
1 Replies and 1953 Views Creating Series of parameter lists automatically  1953  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 1953
by  Deleted UserJump to last post
27 Oct 2017 08:13 AM
0 Replies and 3249 Views MERIS Flags  3249  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 3249
14 Oct 2017 02:42 PM
0 Replies and 4859 Views How to delete a workspace  4859  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 4859
13 Oct 2017 01:59 PM
1 Replies and 3929 Views WINDOW: Routine is not defined for the current graphics device  3929  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 3929
by  Ben CastellaniJump to last post
11 Oct 2017 03:02 PM
0 Replies and 2817 Views Trouble with Cursor Function  2817  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 2817
13 Sep 2017 08:53 AM
1 Replies and 1979 Views Control where ./idl is created?  1979  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 1979
by  Ben CastellaniJump to last post
11 Sep 2017 09:21 AM
3 Replies and 3533 Views Image(): Failure to acquire window rendering context  3533  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 3533
by  Deleted UserJump to last post
08 Sep 2017 01:41 PM
2 Replies and 1699 Views 2-dimentional fit to gridded data  1699  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 1699
by  Deleted UserJump to last post
08 Sep 2017 09:54 AM
1 Replies and 1987 Views Recover active source code  1987  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 1987
by  Deleted UserJump to last post
05 Sep 2017 12:09 PM
1 Replies and 1593 Views rdpix broken  1593  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 1593
by  Deleted UserJump to last post
05 Sep 2017 12:06 PM
1 Replies and 1463 Views Properly Dereferencing and Setting values via Pointers  1463  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 1463
by  Deleted UserJump to last post
05 Sep 2017 11:44 AM
1 Replies and 1810 Views Run a sav from a ASP.NET web page  1810  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 1810
by  Deleted UserJump to last post
05 Sep 2017 11:36 AM
8 Replies and 3060 Views ENVI_GLT_DOIT OPENR Error  3060  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 3060
by  Deleted UserJump to last post
01 Aug 2017 11:03 AM
1 Replies and 3175 Views libGL error  3175  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 3175
by  MariMJump to last post
24 Jul 2017 02:28 PM
1 Replies and 1981 Views Acquiring ROI‘s data  1981  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 1981
by  MariMJump to last post
29 Jun 2017 02:00 PM
1 Replies and 2157 Views Issues with the MEAN function  2157  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 2157
by  Deleted UserJump to last post
30 May 2017 11:33 AM
0 Replies and 3536 Views glibc detected error  3536  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 3536
24 May 2017 11:10 AM
1 Replies and 6433 Views Changing Font Size and Type in Axis Titles  6433  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 6433
by  Deleted UserJump to last post
23 May 2017 11:01 AM
1 Replies and 1988 Views Controlling vector maps with VECTOR and LEGEND  1988  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 1988
by  Deleted UserJump to last post
23 May 2017 10:36 AM
1 Replies and 1825 Views Changing PLOT Function Font back to 8.5 values  1825  1 Started by  Deleted User The new IDL PLOT in 8.6 has new fonts and size for the titles. I can change the font size on the main title, but I don't know how to change it for the XTITLE and YTITLE. The new text looks fuzzy as well, not as crisp as original. What were the default font and font size prior to 8.6 and how can I change it back to that for all PLOT title values
1 1825
by  Deleted UserJump to last post
23 May 2017 08:49 AM
You are not authorized to create a new topic
Page 12 of 126 << < 1011121314 > >>