|
|
|
|
|
|
2 Replies and 1873 Views
Legend problem with one data point 1873 2
Started by Deleted User
If I do a plot with only one point, then that dataset won't show up in the legend. In the following the p1 plot will show the point, but it won't show up in the legend, only 3 grey dots and the 'A' will show. Do anyone know if it is just an IDL bug or if I am doing something wrong
Thanks
pro test
p0 = PLOT(&911,2&93,&913,4&93, name=' A',LINESTYLE=6,SYMBOL='o',sym_size=1., /SYM_FILLED,sym_color='grey', xrange=&910,5&93, yrange=&910,5&93)
p1 = PLOT(&913&93,&911&93, name=' B',LINES...
|
|
|
|
2 |
1873 |
11 May 2016 07:48 AM |
|
3 Replies and 1904 Views
Import ROI classes to scatterplot 1904 3
Started by Deleted User
I try to import the ROI classes to my scatterplot but it's not easy
my script IDL is
; Read in a 2-band image.
file = FILE_WHICH('rad_2010.tif')
!null = QUERY_IMAGE(file, info)
gas = READ_IMAGE(file)
red_band_pixels = REFORM(gas&914,*,*&93, PRODUCT(info.dimensions))
green_band_pixels = REFORM(gas&915,*,*&93, PRODUCT(info.dimensions))
; Plot red versus green band.
myPlot = SCATTERPLOT(red_band_pixels, green_band_pixels, $
SYM_FILLED = 5, SYM_COLOR = 'red', $
XTIT...
|
|
|
|
3 |
1904 |
09 May 2016 11:31 PM |
|
1 Replies and 2041 Views
Limit to Shapefiles 2041 1
Started by Deleted User
A customer has posed the following question:
Error is Assertion failed!Programs:....File: shpopen.cLine 928Expression: psObject -> nSHPType==psSHP -> nShapeType ||psObject->nSHPType==SHPT_NULL
I am reading in shapefiles (they are large ssurgo soils for US states) and writing out a new shapefile with a subsample of the shapes,
the code works great for smaller states, but fails when there are say over ~1 million shapes. Is there a size limit and if so can you remove the size limit
|
|
|
|
1 |
2041 |
09 May 2016 05:39 PM |
|
1 Replies and 1897 Views
PDF save bug. 1897 1
Started by Deleted User
Hi
Here is a example code
IDL> data = findgen(500, 500)
IDL> data&91100:200, 100:200&93 = !values.f_nan
IDL> i = image(data, rgb_table=33)
and save the image as .pdf format using toolbar.
The result strange.
IDL 8.5.1 on windows 8.1
- Thanks
|
|
|
|
1 |
1897 |
08 May 2016 07:49 PM |
|
3 Replies and 1871 Views
question about ENVITask(&39;ApplyGainOffset&39;) 1871 3
Started by Deleted User
I am trying to use the ENVITask('ApplyGainOffset') to calibrate my data. I set the these values"GAIN, IGNORE_VALIDATE, INPUT_RASTER, OFFSET, OUTPUT_RASTER_URI"
1). when i run the program, i found that the program could not ignore the value (for example, 0). how can i ignore 0 value when using the task
2) how to change the out put data format I try to run the FLAASH module after applied gain and offset task, but it give me the following error : "problem: Flaash input file must b...
|
|
|
|
3 |
1871 |
06 May 2016 04:56 PM |
|
0 Replies and 1889 Views
orthographic projection on elliptical planets 1889 0
Started by Deleted User
Hello,
I'm using the map function to project spacecraft data onto sphere. I'm using the orthographic projection that fis well my purposes. However, I'm working with pretty oblate planets, for which the orthographic projection doesn't work: it only handles spherical planets.
Is there a way to map using orthographic projection onto elliptical planets
Thanks for your help,
Vincent
|
|
|
|
0 |
1889 |
06 May 2016 08:20 AM |
|
6 Replies and 2042 Views
Help needed in using object graphics 2042 6
Started by Deleted User
Dear all,
I am trying to use object graphic in my GUI development. According the documentation, I should be able to created an IGLgrWindow by WIDGET_WINDOW, and then displaying graphics objects on it. Therefore I tried to display IDLgrPlot in this way it always gives me a blank window only. I put the code below, anyone can see any problems in this code please let me know:
PRO PLOTTEST
BASE = WIDGET_BASE(/ROW, TITLE= 'TEST OBJECT GRAPHICS', XSIZE=800, YSIZE=600)
DRAW1 = WIDGET_WINDOW(BASE, X...
|
|
|
|
6 |
2042 |
05 May 2016 10:57 PM |
|
1 Replies and 3015 Views
Modis Conversion Tool Kit 3015 1
Started by Deleted User
Hi!! I´m new in IDL and I have a problem, I run the code from MCTK in IDLENVI 32bit for level_02 in multiple file, but when I get my products I get only one, it is as if they all load the same name and console I get the following:
HDF_SD_ATTRFIND: Unable to find the HDF-SD attribute named units
|
|
|
|
1 |
3015 |
01 May 2016 06:57 PM |
|
1 Replies and 2110 Views
Old program not working on new system 2110 1
Started by Deleted User
An IDL user has asked the following question:
I upgraded to 8.5 earlier this year (License ID: 5500131) as I am now running OS X Yosemite (10.10) and a data processing program I used previously not longer works. This is an old program (circa early 2000s) that reads binary data files from an older satellite and produces a save set of the data. When I use the program in the present idl version, the data it produces is garbage. It appears to be a problem with reading the binary file.
|
|
|
|
1 |
2110 |
21 Apr 2016 03:09 PM |
|
1 Replies and 2239 Views
Help using netcdf_get 2239 1
Started by Deleted User
An IDL user has asked the following question:
I am trying to understand how to read in a netcdf file using “ndcf_get,’2015_1.nc’,’u’,output.” It seems to read it in and gives me the array u() information. I cannot understand the jargon relating to Hash. I just want to use the data u() in a pro. Help.
|
|
|
|
1 |
2239 |
21 Apr 2016 12:59 PM |
|
2 Replies and 2046 Views
HELP: Nested arrays 2046 2
Started by Deleted User
Hi, I'm brand new to IDL but I've been banging my head off this all day: I'm reading in a set of 55 structures from fits files and I'd like to consolidate them into a single structure that I can call without having to redo the read in every time. Unfortunately IDL's need to define everything prior to use has made it rather more difficult than other programs to do this.
The code below is roughly what I would like to do. (Although obviously it doesn't work like this)
for i=2,55 do begin
S...
|
|
|
|
2 |
2046 |
21 Apr 2016 09:32 AM |
|
4 Replies and 1900 Views
Urgent! libXp.so not found 1900 4
Started by Deleted User
Please help!
I am using IDL 8.4 on Debian Wheezy system for a few years. Recently encountered this problem in starting up IDL. The error message is:
/usr/local/exelis/idl/bin/bin.linux.x86_64/idl: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
Now the IDL cannot run anymore. Anybody please help on this
Best regards,
|
|
|
|
4 |
1900 |
18 Apr 2016 11:43 PM |
|
2 Replies and 2071 Views
script scatterplot 2071 2
Started by Deleted User
Hi
thank's for all members who participate of this forum
I have made a script to show the scatterplot of two raster's but I need a help to draw within a line regression of the
same rasters and calculate the correlation regression
thank's
|
|
|
|
2 |
2071 |
18 Apr 2016 06:31 AM |
|
1 Replies and 2750 Views
Using IDL 8.5 using Windows 10 task scheduler 2750 1
Started by Deleted User
A user has asked the following question:
I am trying to get IDL 8.5 to replicate functionality I had with IDL 6.x - specifically, the ability to schedule IDL tasks to run automatically, in the background, via windows task scheduler. Characteristics I need are:
1. I need to start a new IDL task whenever new data are detected on my server sent in by one of my remote field instruments. This taks will analyze and plot the latest data. Because data arrive asynchronously, there will be times...
|
|
|
|
1 |
2750 |
15 Apr 2016 04:07 PM |
|
1 Replies and 2295 Views
IDL DICOM Toolkit questions 2295 1
Started by Deleted User
A user has asked the following questions:
We are trying to do 2 things with this toolkit. First, we are trying to take some raw image data and add a DICOM header to it, and second we would like to take a series of images and create a DICOMDIR file. I have had a hard time trying to get things to work the way I was envisioning.
|
|
|
|
1 |
2295 |
15 Apr 2016 03:26 PM |
|
1 Replies and 2240 Views
IDL Version 8.1 2240 1
Started by Deleted User
Hello!
Somebody has the IDL 8.1 Where is this version in this platform
Thaks!
|
|
|
|
1 |
2240 |
12 Apr 2016 07:40 PM |
|
0 Replies and 2277 Views
trouble with ENVIVectorMaskRaster 2277 0
Started by Deleted User
Hi All,
I'm writing code to do batch masking on an image set. One mask is a large vector I've got it coded as .shp file but would actually prefer it to be a .evf, are those file types interchangeable with ENVIVectorMaskRaster I'm using the .shp version because that is what was used in the online tool documentation. The other thing I would like this code to do is return non-data as numerical zero not -NaN, is there a setting or keyword with this tool that will do that. Lastly I updated my code a...
|
|
|
|
0 |
2277 |
08 Apr 2016 10:41 AM |
|
1 Replies and 2144 Views
How to hide hidden directories in DIALOG_PICKFILE 2144 1
Started by Deleted User
I am using Linux, and I don't want to subdirectories named ".something" to appear in the DIALOG_PICKFILE, how do I do that
Thanks for any help.
|
|
|
|
1 |
2144 |
03 Apr 2016 10:50 PM |
|
1 Replies and 2375 Views
Help using Python bridge 2375 1
Started by Deleted User
Hello,
I'd like to use the Python bridge to call some Python code and I'm having trouble getting some simple examples running. I'm using IDL 8.5 on Windows 7 and Windows 2012 R2 (same issue for both).
I'm using Python 2.7 and sys.version:
2.7.10 |Anaconda 2.3.0 (64-bit)| (default, May 28 2015, 16:44:52) &91MSC v.1500 64 bit (AMD64)&93
If I define a very simple python module (TestCode.py) as:
Simple Example
def testrun(A,B,C,D):
return ABCD
I figured I could import and run ...
|
|
|
|
1 |
2375 |
01 Apr 2016 02:26 PM |
|
1 Replies and 1878 Views
Help with array jujitsu (easy) !! 1878 1
Started by Deleted User
Hi all,
I have an array called data that is 1000, 4000. I also have a two dimensional array of subscripts that I would like to apply to only the first dimension of the data array.
IDL> help, data
DATA FLOAT = Array&911000, 4000&93
IDL> help, subs
SUBS LONG64 = Array&9121, 4&93
The result I want is &9121, 4, 4000&93. However, I can't quite figure out how to get that. For example:
IDL> help, data&91&91subs&93,*&93
FLOAT = Array&9184, 4000&93
Does...
|
|
|
|
1 |
1878 |
28 Mar 2016 02:17 PM |
|