|
|
|
|
|
3 Replies and 1410 Views
PLOT object - can&39;t overplot in multigraphics after changing current index 1410 3
Started by Deleted User
HiI have a question regarding PLOT object, specifically the OVERPLOT keyword and how to use it when having mutliple graphics, i.e using INDEX keyword. I want to plot a 2 by 3 2D-plot graphics with three graphs for each plot.The values are collected from an external file and I currently retrieve the data in such a way that I would like to plot one graph in each plot index position before moving on to the next set of six graphs and so forth. The first six graphs are plotted in their specific posit...
|
|
|
|
3 |
1410 |
10 Mar 2014 04:30 AM |
|
5 Replies and 1699 Views
Colorbar get not minimum TAPER 1699 5
Started by Deleted User
Hi,
I have a strong problem, to get a low value TAPER in the colorbar procedure in case where the contour field includes negative values.
To demonstrate this is, I changed the example in the colorbar/taper documentation as seen in the attached example.
The top figure produces both taper ends, the bottom figure produce only the upper taper.
Any help is welcome
Thomas
idl code start
------------------------------------------------------------------------------------------------------------...
|
|
|
|
5 |
1699 |
05 Mar 2014 08:45 AM |
|
3 Replies and 1489 Views
Map clip not working? 1489 3
Started by Deleted User
Hi, with IDL 8.3 on 32-bit windows7, MAP can not clip the lon/lat lines outside the image boundary. Why, thanks!
; Define the data by reading the image into IDL,
; creating the daymap variable to hold the data.
READ_JPEG, FILEPATH('Day.jpg', $
SUBDIR=&91'examples','data'&93), daymap
; Define the latitude and longitude data for the contour.
longitude = FINDGEN(360) - 180
latitude = FINDGEN(180) - 90
cntrdata = SIN(longitude/30) COS(latitude/30)
; Display the global image.
ma...
|
|
|
|
3 |
1489 |
05 Mar 2014 01:16 AM |
|
1 Replies and 1432 Views
array indexing not working for a specified range with min() 1432 1
Started by Deleted User
I know a value in an unsorted array "a&91158,1&93" and want to find it's index.in my code; i have used :
min_refl=min(a&91(S1-1):(S2-1),1&93,location) ; to find minimum for a specified range in array a
indx=ARRAY_INDICES(a,location) ; to obtain the index of the minimum value obtained
print,a&91indx&910&93,indx&911&93&93,indx.
The indexing seems to work with the entire array but not for the selected range.Please suggest any other function if available.
|
|
|
|
1 |
1432 |
05 Mar 2014 01:07 AM |
|
2 Replies and 1174 Views
vector over map problem? 1174 2
Started by Deleted User
Hi, I run the vector NG function example with IDL 8.3:
; Read the data.
RESTORE, FILEPATH('globalwinds.dat', SUBDIR=&91'examples','data'&93)
; Set up the map projection, grid, and continents.
m = MAP('Equirectangular', LIMIT=&910,-150,60,-45&93, $
LABEL_POSITION=0, LABEL_ANGLE=0, $
COLOR='light gray', LABEL_COLOR='black')
cont = MAPCONTINENTS(FILL_COLOR='light gray')
; Display the vector data on top of the map.
vec = VECTOR(u, v, x, y, /OVERPLOT, $
MIN_VALUE=0, MAX_VALUE=25, ...
|
|
|
|
2 |
1174 |
05 Mar 2014 01:02 AM |
|
9 Replies and 2162 Views
IDL won&39;t run on a new Mac Pro 2162 9
Started by Deleted User
I have IDL 8.3 successfully running on several Macs under 10.9.1. However, on my new Mac Pro, I am having some significant difficulty with all versions of IDL I've tried (8.1, 8.2, 8.3). With the license.dat file in place and version 8.3, executing idl from the command line results in:
IDL Version 8.3, Mac OS X (darwin x86_64 m64). (c) 2013 &91etc&93
idl(4651,0x7fff7a85f310) malloc: *** error for object 0xf07: pointer being freed was not allocated
***set a breakpoint in malloc_error_br...
|
|
|
|
9 |
2162 |
01 Mar 2014 11:09 PM |
|
0 Replies and 1316 Views
processor utilization IDL_IDLBRIDGE thread 1316 0
Started by Deleted User
I'm trying to parallelize a FOR loop using IDL's IDL_IDLBRIDGE objects. I wrote a basic version a while ago that worked and made some upgrades. The modifications worked for a little while but now when I run it, the threads use less than 20 of a processor while running the loop. I'm running on a 16-core x86_64 server running GNU/Linux. A lot of people share the machine (~12) but I only multithread when about 10 of the 16-core processing power is otherwise being used. I'll even sometimes run...
|
|
|
|
0 |
1316 |
28 Feb 2014 03:28 PM |
|
0 Replies and 1430 Views
dialog_pickfile: How to set/get filter index ? 1430 0
Started by Deleted User
Using the IDL 8.3 dialog_pickfile() function to pick out a file name, a filter list can be set, like this:
filters = &91&91'*.jpg;*.jpeg', '*.tif;*.tiff', '*.png', '*.*'&93, &91'JPEG', 'TIFF', 'Bitmap', 'All files'&93&93
file = DIALOG_PICKFILE(/READ, FILTER = filters)
Every time, when calling the function the format filter is set to the very first filter index (here: '*.jpg'). As mentioned in the IDL help, the user cannot modify the displayed filter under Microsoft Windows. I think t...
|
|
|
|
0 |
1430 |
28 Feb 2014 09:00 AM |
|
4 Replies and 1587 Views
IDL can&39;t use COLORBAR 1587 4
Started by Deleted User
Trying to make use of the COLORBAR function, however after compiling it, IDL tells me that I am trying to call and undefined procedure/function.
Anyone know whats up with that
Thanks,
Steve
|
|
|
|
4 |
1587 |
28 Feb 2014 08:39 AM |
|
1 Replies and 1335 Views
IDL behaves differently when launched from Mac tool bar/command line - why? 1335 1
Started by Deleted User
I am running IDL8.2.3 on MacOS10.8.5. I usually launch IDL from the Mac "Dock" which brings me directly into the "Workbench" development environment (DE). I have learned, however, that IDL crashes when running certain codes from within the DE, in particular those that create a series of graphics. The fix for this apparently is to run IDL from the command line by issuing the command
bash-3.2$ idlde -outofprocess
IDL no longer crashes when I run my code from the DE launched ...
|
|
|
|
1 |
1335 |
24 Feb 2014 03:12 PM |
|
0 Replies and 1540 Views
export ENVI image stretch 1540 0
Started by Deleted User
Hi,
I want to export an image stretch from an image to other images.
Suppose you have to tiling a large image, and save each tile as a separate file. Then, in ENVI 5.0 each tile is viewed as a single layer. So when apply a defalut stretch (such as a linear 2) the statistics are calculated on the single tile, resulting in a different stretch for each tile. I'd like to apply the same stretch of the whole image (before tiling) to each generated tile.
How can I do it with IDL 8.2
I tried to use en...
|
|
|
|
0 |
1540 |
24 Feb 2014 09:41 AM |
|
1 Replies and 1282 Views
declaring Double-type variable 1282 1
Started by Deleted User
Dear:
IDL> a=double(1.123456789)
the "Variables" window shows A 1.1234568357467651
IDL> a=double(1.123456789D)
the "Variables" window shows A 1.1234567890000000
Why What does the "D" in "double(1.123456789D)" mean
Thank you very much.
Best regards,
Chia-Hsiang Yang
|
|
|
|
1 |
1282 |
18 Feb 2014 02:16 AM |
|
1 Replies and 1589 Views
use envi classic functions in idl without openning envi gui 1589 1
Started by Deleted User
Hi I'm using IDL 8.0 on a linux server. I've written some functions using ENVI classic functions. Now I need to open ENVI to make these ENVI functions usable in my function. But on the linux server opening GUI is super slow and every time I run my function I need to wait a very long time for the ENVI menu to be opened. Is there anyway to use the ENVI classic functions in IDL without opening ENVI at all Or at least hide the ENVI GUI or skip the GUI while running ENVI in the background on Linux ...
|
|
|
|
1 |
1589 |
16 Feb 2014 05:30 PM |
|
1 Replies and 1801 Views
idl interface language 1801 1
Started by Deleted User
how do i switch the interface (menu, dialog) language from german to english tried documentation but did not find it there.
idl 8.2, windows 8.
thanks, wolf schweitzer, zurich / switzerland
|
|
|
|
1 |
1801 |
15 Feb 2014 06:00 AM |
|
3 Replies and 1253 Views
IDLDE 8.3 burns CPU 1253 3
Started by Deleted User
We've just installed IDL 8.3.0 and I'm starting to use IDLDE with linux RHEL6 x86_64. Simply opening IDLDE, not running any commands at all, causes 1 full core of my quad-core hyperthreaded Dell Latitude to run at 100 continuously. The fan goes on and keeps running until I exit IDLDE. This didn't happen with IDL 8.2.
Is there a setting that would help Any idea what it's working so hard at Diagnostics I can check
Thanks,
Kim
|
|
|
|
3 |
1253 |
07 Feb 2014 11:51 AM |
|
1 Replies and 1619 Views
Color definition with tvlct 1619 1
Started by Deleted User
With the tvlct routine it is possible to define colors, which can be used in direct graphics, such as: loadct, 3 ;load the red temperature color tablestretch, 0, 254 ;stretch the image display color tabletvlct, 0, 192, 0, 255 ;define green color (index 255)shade_surf, dist(100), /norm, color=green, /dev ;plot test dat...
|
|
|
|
1 |
1619 |
05 Feb 2014 06:08 AM |
|
1 Replies and 1577 Views
Ribbon tool bar in IDL 8.x 1577 1
Started by Deleted User
Is there any way to create a Ribbon tool bar - instead of a the old styled menu bar - in IDL 8.x as it is often used in MS office 2007 or other software
|
|
|
|
1 |
1577 |
05 Feb 2014 05:32 AM |
|
1 Replies and 1408 Views
median statistics 1408 1
Started by Deleted User
Hello,
I want to calculate median value for panchromatic raster image (1 band greyscale). Could you explain me how to adapt this function in enviidl 5.1 to my needs
Like i understand, and i don't understand much from idl, it's a median filter function.
; Create a simple image and display it:
D = SIN(DIST(200)^0.8) & TVSCL, D
; Display D median-filtered with a width of 9:
TVSCL, MEDIAN(D, 9)
; Print the median of a four-element array, with and without
; the EVEN keyword:
PRINT, MEDIAN...
|
|
|
|
1 |
1408 |
03 Feb 2014 03:53 AM |
|
1 Replies and 1510 Views
The spectral reflectance and wavelength 1510 1
Started by Deleted User
This resource (http://earth.esa.int/pub/ESA_DOC/land...) describes how can I convert DN to radiance and reflectance value.
How then associate each value of radiance and reflectance with the wavelength, like this graphics (http://www.exelisvis.com/Home/NewsUpd...).
Is there a mathematical expression or function is expressed the radiance or reflectance through wavelength.
How can I get an array or object pair such as {reflectance;wavelengths} in IDL.
I have a multispectral image GeoTiff format ...
|
|
|
|
1 |
1510 |
02 Feb 2014 12:11 AM |
|
1 Replies and 1477 Views
AVIRIS flight images 1477 1
Started by Deleted User
Hi, does anyone know how to georeference AVIRIS flight swaths
|
|
|
|
1 |
1477 |
24 Jan 2014 11:22 AM |
|