|
|
|
|
|
2 Replies and 2056 Views
Performance Issues with OrderedHash 2056 2
Started by Deleted User
Good day, The time required to access the keys and values of an Orderedhash rises exponentially with the number of elements contained in the Orderedhash. This makes it unusable for large collections. The same is !not! true for ordinary Hash objects. With a hash the time required to access the keys and values rises approximatly linearly with the number of elements contained within the hash. This is what I would expect for an OrderedHash as well. Is this expected behaviour Will t...
|
|
|
|
2 |
2056 |
by Deleted User 31 Jan 2018 03:10 AM |
|
1 Replies and 1765 Views
add plugin to DE? 1765 1
Started by Deleted User
I would really like to modify the default commit template for Git, but this feature looks like the only way to do it. http://www.eclipse.org/mylyn/ Is it possible to add this, or is there another way Ronn Kling
|
|
|
|
1 |
1765 |
by Deleted User 30 Jan 2018 03:49 PM |
|
2 Replies and 1587 Views
Formatting forum postings 1587 2
Started by Deleted User
Are there instructions somewhere on how to format postings to this forum (embedded code, etc.) Whatever I enter shows up in the Preview as a single wrapped (and unreadable) paragraph. Thanks, Ken
|
|
|
|
2 |
1587 |
by Deleted User 30 Jan 2018 03:23 PM |
|
1 Replies and 2816 Views
read netcdf file with python 2816 1
Started by Deleted User
Hi, I would like to read a netcdf4 file using python bridge. I imported netCDF4 module and then I read the file: rd=python.import('netCDF4') data=rd.Dataset('/tmp/A2007235-chl-med-hr.nc') now with help,data I obtain the information: <class 'netCDF4._netCDF4.Dataset'> root group (NETCDF4 data model, file format HDF5): Conventions: CF-1.4 title: dataset-oc-med-chl-modis-l3-chl_1km_daily-rt-v02 netcdf_version: v4 grid_mapping: Equirectangular parameter: c...
|
|
|
|
1 |
2816 |
by Deleted User 23 Jan 2018 11:36 AM |
|
1 Replies and 2687 Views
Configuration of idlpy into Anaconda Python environment 2687 1
Started by Deleted User
I need to use idlpy tools and functions using the Python version and environment provided with Anaconda. I use Python 3.6.3 version. The problem is that using the Anaconda system, it is not possibile specify or set th PYTHONPATH and PYTHONHOME variables, because these variables are managed by Anaconda itself. Thank you for any suggestion.
|
|
|
|
1 |
2687 |
by Deleted User 23 Jan 2018 10:50 AM |
|
0 Replies and 2801 Views
How to write file from IDLgrWindow 2801 0
Started by Deleted User
User Question: How do you write files directly from an IDLgrWindow Possible Solution: Use the IMAGE_DATA property to get the image that is displayed in the window. Then use routines such as WRITE_PNG to write the image data to a file. For example: oWindow.GetProperty, IMAGE_DATA=img WRITE_PNG, 'test.png', img
|
|
|
|
0 |
2801 |
16 Jan 2018 12:40 PM |
|
0 Replies and 5661 Views
New Google Group for IDL discussions 5661 0
Started by Deleted User
Since 1991, the Usenet group comp.lang.idl-pvwave has been a place for discussion of the IDL language and the similar language PV-WAVE. The group is unaffiliated with Harris Geospatial, and is mainly for discussions among IDL users. Recently, the Usenet group has come under heavy attack from spammers, making it mostly unusable. Therefore, I have created a Google group to replace the Usenet group https://groups.google.com/forum/!forum/idl-pvwave You need to have a Google ...
|
|
|
|
0 |
5661 |
08 Jan 2018 07:57 AM |
|
0 Replies and 4211 Views
How to select and operate on a subset of array elements? 4211 0
Started by Deleted User
IDL USER QUESTION:: 'I have an IDL problem that I haven’t been able to solve and was hoping you might be able to point me in the right direction. I have a raster that I’ve read into an array and I want to perform an operation only where there aren’t the no data values of -32767. I thought I could use the if statements but they don’t work on arrays obviously. Is there an array expression equivalent that will allow me to do this' ANSWER: Here is example code that illustrate...
|
|
|
|
0 |
4211 |
05 Jan 2018 01:15 PM |
|
0 Replies and 3669 Views
Missing setup.py for python-IDL bridge 3669 0
Started by Deleted User
Problem: A user reported that the setup.py script is missing from the their IDL 8.5 installation. Solution: The setup.py script was added in IDL 8.6. To get access to this script, the user should upgrade to IDL 8.6.1. David -Harris GS
|
|
|
|
0 |
3669 |
21 Dec 2017 08:56 AM |
|
5 Replies and 2946 Views
Having trouble getting signatures from a .sli to use with ENVISpectralAngleMapper 2946 5
Started by Deleted User
Hi, I want to use ENVISpectralAngleMapperClassification to classify as set of files using my own spectral library ('library.sli'). However, ENVISAM requires training data as a Task.MEAN-array. I am having trouble constructing this array from the files in my library. I am using ENVIGetSpectrumFromLibrary and I can select the entries I want (signatures = &91;0,1,2&93;) and then loop: list = LIST() for i=0, signatures.LENGTH-1l do begin LibTask.spectrum_name=speclib.SPECTRA_NAMES&...
|
|
|
|
5 |
2946 |
by MariM 19 Dec 2017 05:57 AM |
|
0 Replies and 2931 Views
IDL non-rectangular image data set 2931 0
Started by Deleted User
Question: A user has encountered the following scenario: They have a 2D array with x-values of the image, a 2D array of the y-values of the image, and a 2D array of the image values. The image is a wedged shaped thing and not rectangular. The user is looking for something like the TV or TVSCL that allows the X and Y coordinates to be provided. Answer: The IMAGE function allows you to provide the X and Y coordinates. The documentation for this routine is shown below: h...
|
|
|
|
0 |
2931 |
18 Dec 2017 02:38 PM |
|
5 Replies and 2536 Views
WV_FN_HAAR 2536 5
Started by Deleted User
I am trying to use HAAR function to decompose an image and the coefficients, I have read the documentation but I didn't yet understood how to use it, how to get the 4 image components after decomposition with HAAR with order 1.
|
|
|
|
5 |
2536 |
by Deleted User 14 Dec 2017 03:04 AM |
|
1 Replies and 1562 Views
Boxplot outliers broken if single outlier 1562 1
Started by Deleted User
After having failed to use tech support (critical error - please check 'event viewer'), this is the bug I wanted to report: This works: arr = &91;1,2,3,4,5,2,1,2,3,999,999&93; bpd = createboxplotdata(arr, OUTLIER=out) o = boxplot(bpd, OUTLIER=out) This does not work (IDL does not draw outlier point): arr = &91;1,2,3,4,5,2,1,2,3,999&93; bpd = createboxplotdata(arr, OUTLIER=out) o = boxplot(bpd, OUTLIER=out) (tested under Windows 10, IDL 8.6.0)
|
|
|
|
1 |
1562 |
by Ben Castellani 13 Dec 2017 03:49 PM |
|
3 Replies and 2071 Views
IMSL routines on Mac? 2071 3
Started by Deleted User
I'm trying to use IMSL routines on IDL Mac 64-bit, without success (see error in subject line). There is no 32-bit version available for download here for the Mac. I'm given the impression that this must be a generic problem Any advice on how to proceed
|
|
|
|
3 |
2071 |
by MariM 13 Dec 2017 05:50 AM |
|
1 Replies and 2070 Views
OSX: wrong xterm path in launchers 2070 1
Started by Deleted User
after upgrading to 8.6.1 the LicenseAdministrator on OSX fails to start. This type of regression has happened many times before and it is surprising to see it happens again on such a vital component as the LicenseAdministrator. The error is caused by using a wrong path for xterm (/usr/X11R6/bin/xterm) while the correct path is /opt/X11/bin/xterm For example in: /Applications/harris/envi54/idl86/LicenseAdministrator.app/Contents/Resources/Scripts/main.scpt Changing the full path to xterm to ...
|
|
|
|
1 |
2070 |
by Deleted User 30 Nov 2017 04:19 PM |
|
1 Replies and 2020 Views
DLM_REGISTER 2020 1
Started by Deleted User
IDL 8.3 on MAC OS-X 10.12.6 Upon opening IDL, this error generated: DLM_REGISTER: Error opening file. File: applications/excelis/idl83/bin/bindarwin.x86_64/ No such file or directory Where does IDL define default the default DLM registry path Can this be edited to fix
|
|
|
|
1 |
2020 |
by MariM 16 Nov 2017 09:46 AM |
|
1 Replies and 2058 Views
vector routine doesn't work 2058 1
Started by Deleted User
Here is the program. Is there an error in the program or is it a bug. Each of the 2 vectors should be 1 in length and the second vector should originate at 2,2. pro displayVectorField xres = 4 yres = 4 dx = fltarr(xres,yres) dy = fltarr(xres,yres) dx&91;0,0&93; = 1 dy&91;0,0&93; = 1 dx&91;2,2&93; = 1 dy&91;2,2&93; = 1 v = vector(dx,dy,XRANGE=&91;0,4&93;,YRANGE=&91;0,4&93;,/OVERPLOT) end
|
|
|
|
1 |
2058 |
by Ben Castellani 10 Nov 2017 03:02 PM |
|
1 Replies and 2054 Views
how to improve efficiency of image processing 2054 1
Started by Deleted User
wavelength = &91;412,442,488,530,554,645,747,857,1242&93; for s =0,ns-1 do begin;ns for l=0,nl-1 do begin;nl Y=data&91;s,l,*&93; coeffs = powerlaw_fit(wavelength, Y) endfor endfor is there any method to improve efficiency?thanks
|
|
|
|
1 |
2054 |
by Deleted User 02 Nov 2017 10:34 AM |
|
1 Replies and 1511 Views
QROMO Manual Page Example 1511 1
Started by Deleted User
A colleague came to my office and asked if IDL's implementation of QROMO produces accurate results since the example given by IDL is off from the analytic result by 1. When you look at the example on IDL's QROMO manual page, it is to integrate the function 1/x^4 from 2 to infinity. Now, it is true that when you do exactly what is stated on the manual page, you get the stated results: PRINT, QROMO('hyper', 2.0, /MIDEXP) does yield 0.0412050 Anyone can integrate this by hand and on...
|
|
|
|
1 |
1511 |
by Deleted User 27 Oct 2017 08:55 AM |
|
2 Replies and 1408 Views
Outputting data to two columns 1408 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 |
1408 |
by Deleted User 27 Oct 2017 08:43 AM |