|
|
|
|
|
5 Replies and 1598 Views
Colorbar get not minimum TAPER 1598 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 |
1598 |
05 Mar 2014 08:45 AM |
|
3 Replies and 1363 Views
Map clip not working? 1363 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 |
1363 |
05 Mar 2014 01:16 AM |
|
1 Replies and 1311 Views
array indexing not working for a specified range with min() 1311 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 |
1311 |
05 Mar 2014 01:07 AM |
|
2 Replies and 1071 Views
vector over map problem? 1071 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 |
1071 |
05 Mar 2014 01:02 AM |
|
9 Replies and 1940 Views
IDL won&39;t run on a new Mac Pro 1940 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 |
1940 |
01 Mar 2014 11:09 PM |
|
0 Replies and 1198 Views
processor utilization IDL_IDLBRIDGE thread 1198 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 |
1198 |
28 Feb 2014 03:28 PM |
|
0 Replies and 1316 Views
dialog_pickfile: How to set/get filter index ? 1316 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 |
1316 |
28 Feb 2014 09:00 AM |
|
4 Replies and 1456 Views
IDL can&39;t use COLORBAR 1456 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 |
1456 |
28 Feb 2014 08:39 AM |
|
1 Replies and 1231 Views
IDL behaves differently when launched from Mac tool bar/command line - why? 1231 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 |
1231 |
24 Feb 2014 03:12 PM |
|
0 Replies and 1429 Views
export ENVI image stretch 1429 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 |
1429 |
24 Feb 2014 09:41 AM |
|
1 Replies and 1175 Views
declaring Double-type variable 1175 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 |
1175 |
18 Feb 2014 02:16 AM |
|
1 Replies and 1483 Views
use envi classic functions in idl without openning envi gui 1483 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 |
1483 |
16 Feb 2014 05:30 PM |
|
1 Replies and 1626 Views
idl interface language 1626 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 |
1626 |
15 Feb 2014 06:00 AM |
|
3 Replies and 1120 Views
IDLDE 8.3 burns CPU 1120 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 |
1120 |
07 Feb 2014 11:51 AM |
|
1 Replies and 1495 Views
Color definition with tvlct 1495 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 |
1495 |
05 Feb 2014 06:08 AM |
|
1 Replies and 1410 Views
Ribbon tool bar in IDL 8.x 1410 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 |
1410 |
05 Feb 2014 05:32 AM |
|
1 Replies and 1296 Views
median statistics 1296 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 |
1296 |
03 Feb 2014 03:53 AM |
|
1 Replies and 1384 Views
The spectral reflectance and wavelength 1384 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 |
1384 |
02 Feb 2014 12:11 AM |
|
1 Replies and 1333 Views
AVIRIS flight images 1333 1
Started by Deleted User
Hi, does anyone know how to georeference AVIRIS flight swaths
|
|
|
|
1 |
1333 |
24 Jan 2014 11:22 AM |
|
6 Replies and 1394 Views
Saving, restoring, re-plotting a plot object 1394 6
Started by Deleted User
Hi folks
I'm new to object oriented programming but have certainly learned to appreciate the utility of the new plot functions introduced in ver 8. Once I produce a plot reference using (for example) p = plot(args), and then do a series of property modifications on it (i.e., p.title = 'string', etc), I end up with this really useful thing, namely the reference p that has all the properties and data in one place.
My question is this: once I close the plot window the plot is gone, I still have t...
|
|
|
|
6 |
1394 |
23 Jan 2014 04:00 PM |
|