|
|
|
|
|
3 Replies and 1613 Views
Import ROI classes to scatterplot 1613 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 |
1613 |
09 May 2016 11:31 PM |
|
1 Replies and 1738 Views
Limit to Shapefiles 1738 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 |
1738 |
09 May 2016 05:39 PM |
|
1 Replies and 1635 Views
PDF save bug. 1635 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 |
1635 |
08 May 2016 07:49 PM |
|
3 Replies and 1560 Views
question about ENVITask(&39;ApplyGainOffset&39;) 1560 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 |
1560 |
06 May 2016 04:56 PM |
|
0 Replies and 1625 Views
orthographic projection on elliptical planets 1625 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 |
1625 |
06 May 2016 08:20 AM |
|
6 Replies and 1720 Views
Help needed in using object graphics 1720 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 |
1720 |
05 May 2016 10:57 PM |
|
1 Replies and 2740 Views
Modis Conversion Tool Kit 2740 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 |
2740 |
01 May 2016 06:57 PM |
|
1 Replies and 1859 Views
Old program not working on new system 1859 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 |
1859 |
21 Apr 2016 03:09 PM |
|
1 Replies and 1889 Views
Help using netcdf_get 1889 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 |
1889 |
21 Apr 2016 12:59 PM |
|
2 Replies and 1732 Views
HELP: Nested arrays 1732 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 |
1732 |
21 Apr 2016 09:32 AM |
|
4 Replies and 1607 Views
Urgent! libXp.so not found 1607 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 |
1607 |
18 Apr 2016 11:43 PM |
|
2 Replies and 1777 Views
script scatterplot 1777 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 |
1777 |
18 Apr 2016 06:31 AM |
|
1 Replies and 2425 Views
Using IDL 8.5 using Windows 10 task scheduler 2425 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 |
2425 |
15 Apr 2016 04:07 PM |
|
1 Replies and 2023 Views
IDL DICOM Toolkit questions 2023 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 |
2023 |
15 Apr 2016 03:26 PM |
|
1 Replies and 1860 Views
IDL Version 8.1 1860 1
Started by Deleted User
Hello!
Somebody has the IDL 8.1 Where is this version in this platform
Thaks!
|
|
|
|
1 |
1860 |
12 Apr 2016 07:40 PM |
|
0 Replies and 1927 Views
trouble with ENVIVectorMaskRaster 1927 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 |
1927 |
08 Apr 2016 10:41 AM |
|
1 Replies and 1814 Views
How to hide hidden directories in DIALOG_PICKFILE 1814 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 |
1814 |
03 Apr 2016 10:50 PM |
|
1 Replies and 2006 Views
Help using Python bridge 2006 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 |
2006 |
01 Apr 2016 02:26 PM |
|
1 Replies and 1604 Views
Help with array jujitsu (easy) !! 1604 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 |
1604 |
28 Mar 2016 02:17 PM |
|
0 Replies and 2046 Views
Floating illegal operand with EXP and real numbers 2046 0
Started by Deleted User
I have code running on two separate 64-bit Linux machines. One machine is running IDL v8.2 while the other is running v8.2.2 (these machines are owned by different entities, thus the different versions and licenses).
When I run my code on the v8.2.2 machine, however, I get "floating illegal operand" errors that I do not get on the v8.2 machine. Tracking this down reveals that the errors are created when using the "EXP" function with real numbers (as opposed to NaN values).
...
|
|
|
|
0 |
2046 |
28 Mar 2016 12:29 PM |