|
|
|
|
|
|
0 Replies and 222 Views
detection of an abrupt change point(s) in a signal series 222 0
Started by Chia-Hsiang Yang
Hello, IDL colleagues:
I need to detect an abrupt change(s) in a signal series. The concept is similar to: "https://www.r-bloggers.com/a-simple-intro-to-bayesian-change-point-analysis/" or "https://de.mathworks.com/help/signal/ref/findchangepts.html". I cannot find any applicable IDL functions for my purpose. Does anyone have some comments or suggestions to me. Thanks a lot in advance.
Best regards,
Chia-Hsiang Yang
|
|
|
|
0 |
222 |
20 Jan 2017 12:02 PM |
|
0 Replies and 221 Views
How execute idl .pro filefrom another .pro file 221 0
Started by Silvio Martufi [LEFT]
Hello,
I need to execute a .pro file from inside another .pro file.
And one more question: can i execute every idl command line instruction (idl, ENVI api, envi classic api) using the idlpy module using the IDL.run('instruction') sintax
Thank you for any feedback.
|
|
|
|
0 |
221 |
12 Jan 2017 09:58 AM |
|
2 Replies and 205 Views
How delete a specific record from an ESRI Shapefile in IDL 205 2
Started by Silvio Martufi [LEFT]
Hello,
i need to delete a specific feature from a shapefile using IDL but i do not find any usefull tool or function. That is my simplified code:
myshape = OBJ_NEW('IDLffShape', file);
Get the number of entities so we can parse through them
myshape->GetProperty, N_ENTITIES=num_ent;
Parsing through the entities
FOR x=0, (num_ent-1) DO begin ;
Get the Attributes for entity x
attr = myshape->GetAttributes(x)
IF attr.ATTRIBUTE_0 EQ 'Roi_Test_v2 &91RECORD=2&93' THEN BEG...
|
|
|
|
2 |
205 |
12 Jan 2017 08:52 AM |
|
0 Replies and 223 Views
OpenRaster Error 223 0
Started by Laura Durning
Hi All,
I'm getting a silly error when I try to inital a raster result after running a task. I'm currently using ENVI 5.3 IDL 8.5.
Below is my code. The error happens after the first file in filelist, its the second one in the batch that hangs up on e.openraster().
The error is: Attempt to call undefined method: 'IDL_LONG::OPENRASTER'. Very weird and a bit frustrating because it runs beauifully on the first image but bombs on the scecond, I have 50 imgs to batch through this pro.
pro sieveC...
|
|
|
|
0 |
223 |
11 Jan 2017 03:18 PM |
|
1 Replies and 248 Views
"Dummies" guide to IDL 248 1
Started by Ian Barrodale
My grandchildren want to use a couple of my IDL licenses, and for the sake of harmony I do not want to be their initial tutor. ;-)
Is their anything resembling an IDL Dummies guide available please
Thanks,
Ian
|
|
|
|
1 |
248 |
09 Jan 2017 11:18 AM |
|
1 Replies and 221 Views
license error 221 1
Started by Jonathan Madison
I just reposted IDL 8.5 on my MAC Pro workstation running OS X El Capitan and I have received my new license.dat file but am unable to get the license activated. When I double click on the LicenseWizard an xQuartz windows opens but closely immediately and when i try to use the command line prompts i get the following errors.
bash-3.2$ cd /Applications/exelis/idl85/bin
bash-3.2$ . ./idl_setup.bash
bash-3.2$ sudo ./lmgrd_install
Password:
bash-3.2$ sudo ./exelislicense
IDL Version 8.5,...
|
|
|
|
1 |
221 |
04 Jan 2017 02:42 PM |
|
1 Replies and 188 Views
ENVI_DEFINE_MENU_BUTTON 188 1
Started by amal amal
Hello,
I try to add a button to the ENVI classic menu system from a defined procedure. I put the procedure files within the save_add directory but that didn't work, I can't have the defined button on the ENVI menu. I have ENVI 5.3 version.
|
|
|
|
1 |
188 |
28 Dec 2016 03:48 PM |
|
1 Replies and 179 Views
Getting Lat/Lon from object based map function 179 1
Started by Don Hampton
In direct graphics I could use the CONVERT_COORD function to return the lat/lon, in degrees, of a pixel after I had set a map projection in MAP_SET.
The new object-oriented MAP function shows provides a ConverCoord method but what it returns is a mystery. For example if I set a map with:
m = map('Mercator', limit=&9159, -170, 74, -135&93, dimensions = &91640, 640&93)
and then query the coordinates near the center I get
print, m.convertcoord(320,320,/device,/to_data) ...
|
|
|
|
1 |
179 |
27 Dec 2016 03:35 PM |
|
1 Replies and 185 Views
3D mesh visualizations new graphics 185 1
Started by Wouter Schellekens
Hi!
Currently I'm using old routines like SCALE3 & POLYSHADE to visualize a 3D surface mesh in IDL. Is there a way to do this using the new graphics methods If not, wouldn't that be a nice feature for an upcoming release
Thanks!
Wouter
|
|
|
|
1 |
185 |
21 Dec 2016 05:50 AM |
|
1 Replies and 169 Views
Keyword syntax for ENVI_FX_RULEBASED_DOIT 169 1
Started by Andrew Marx
We are using ENVI_FX_RULEBASED_DOIT to classify large TIF files into preselected classes. We need to speed up the processing time by not exporting the vector attributes. What is the syntax for suppressing EXPORT_VECTOR_ATTRIBUTES When we don't include that Keyword the vector attributes are exported anyway.
Thank you!
envi_doit, 'envi_fx_rulebased_doit', $
fid=fid, pos=pos, dims=dims, $
r_fid=r_fid, merge_level=80.0, $
scale_level=10.0, $
rule_filename=ru...
|
|
|
|
1 |
169 |
20 Dec 2016 09:45 AM |
|
1 Replies and 172 Views
Floating illegal operand With BuildMosaicRaster 172 1
Started by Rowan Gaffney
Hello,
I am building a mosaic for half a dozen hyperspectral rasters using the BuildMosaicRaster task. As this process executes I get the following warning:
Program caused arithmetic error: Floating illegal operand
Upon completion, the mosaic is missing an entire raster. I am guessing this error is related to a mathematical operation that is producing a number outside the acceptable range for a floating point - perhaps division by something very close to zero Is that correct If so, how...
|
|
|
|
1 |
172 |
19 Dec 2016 08:45 AM |
|
1 Replies and 230 Views
Problem using Software FETEX 2.0 230 1
Started by Rafael Ch
I included on the save_add folder the software fetex2.0.saf vile, to perform feature extraction software tool for object-based image analysis. However, when opening the tool and trying to upload an image this problem appears:
"Attempt to call undefined procedure/function: `ENVI_OPEN_FILE'
I am using ENVI 5.0 with IDL 8.2
Thanks!
|
|
|
|
1 |
230 |
17 Dec 2016 12:01 PM |
|
0 Replies and 181 Views
Double representation constant bug? 181 0
Started by Pierre-Luc Lévesque
Hi all,
trying to debug my code, I used a double(constant) to match the correct timestamp in my data. However, it did not work as I would have expected and below a picture of why it happened:
My first attempt was to use the equivalent of variable 'd', which kept returning the timestamp 507618080.000. Using variable 'c' now works, returning 507618075.650.
I think we can all agree this is not very elegant. My question is : why is this happening
|
|
|
|
0 |
181 |
16 Dec 2016 01:57 AM |
|
0 Replies and 177 Views
COORD_TRANSFORM question 177 0
Started by David Starbuck
A user has asked the following question:
Question :
----------
I need to create a log-log plot of power spectra in IDL. The bottom x-axis should be wavenumber and the top axis should be wavelength. My approach so far has been to use the plot function like this:
p2=plot(wavenumber,spectrum,xtitle='Wavenumber (1/m)',xlog=1,ylog=1,AXIS_STYLE=1)
and then construct the top wavelength axis using the axis function. However, wavelength is the reciprocal of
wavenumber and I don't know how to do t...
|
|
|
|
0 |
177 |
13 Dec 2016 09:41 AM |
|
1 Replies and 195 Views
Dealing with a rotated raster 195 1
Started by Rowan Gaffney
I have a set of ~20 hyperspectral rasters I would like to subset to a region. I am trying to get the grid definition for each raster to I can see which raster overlaps with other rasters. However, under the spatial reference data for each raster, the rotation is set to -1 except for a single raster that has a rotation of -88. How to I add in the rotation information to the grid definiton to account for this rotation Below is my current code.
function gridDefinitionFromRaster, oRaster_init
...
|
|
|
|
1 |
195 |
12 Dec 2016 11:22 AM |
|
1 Replies and 174 Views
plot colored streamline 174 1
Started by Petros Syntelis
Hi,
Based on the online manual of the streamline visualization routine (http://www.harrisgeospatial.com/docs/streamline.html), it seems that the resulting streamlines can only be colored based on distance and direction.
Using streamline, can I somehow color the resulting lines based on the value of another variable If not, can I save the x,y coordinates of the produced streamlines to manipulate them and plot them using the other routines with more functionality
Cheers,
Petros
|
|
|
|
1 |
174 |
12 Dec 2016 06:14 AM |
|
1 Replies and 201 Views
HYDROTHERM 201 1
Started by Shashank Tiwari
Hello:
I am curious if someone is aware about using IDL to generate contour plots from the output by Hydrotherm software developed by USGS.
Thanks
Shashank
|
|
|
|
1 |
201 |
05 Dec 2016 02:22 PM |
|
1 Replies and 192 Views
scalar * vector = vector (but not always!) 192 1
Started by Craig Wallace
Hello
Can anyone explain this behaviour in IDL 8.2
IDL> print, tr
0.0875595
IDL> print, yy
1.00000 2.00000 3.00000 4.00000 5.00000 6.00000 7.00000 8.00000 9.00000 10.0000 11.0000
12.0000 13.0000 14.0000 15.0000 16.0000 17.0000 18.0000 19.0000 20.0000 21.0000 22.0000
23.0000 24.0000 25.0000 26.0000 27.0000 28.0000 29.0000 30.0000 ...
|
|
|
|
1 |
192 |
29 Nov 2016 06:25 AM |
|
0 Replies and 216 Views
UCS-2/UCS-4 problem for IDL-Python bridge on Linux. 216 0
Started by Hyeong-Sik Yun
I have been trying to set up IDL-Python bridge in
Linux environment. I have used the Python bridge on the Windows system. The
bridge has been constructed successfully and I used it several times. Based on
this experience, I tried to set up the Python bridge in Linux system(Ubuntu
14.04 LTS). After the constructing IDL-Python bridge, IDL can read the library
of Python 2.7. When I tried to import 'scipy' of the Python using IDL, It shows
that
IDL> python.import(‘scipy’)
IDL...
|
|
|
|
0 |
216 |
21 Nov 2016 07:32 PM |
|
1 Replies and 317 Views
UCS2/UCS4 Problem for Python 2.7 bridge on Linux. 317 1
Started by Hyeong-Sik Yun
I have been trying to set up IDL-Python bridge in Linux environment. I have used the Python bridge on the Windows system. The bridge has been constructed successfully and I used it several times. Based on this experience, I tried to set up the Python bridge in Linux system(Ubuntu 14.04 LTS). After the constructing IDL-Python bridge, IDL can read the library of Python 2.7. When I tried to import 'scipy' of the Python using IDL, It shows that
IDL> python.import(‘scipy’)
IDL>...
|
|
|
|
1 |
317 |
21 Nov 2016 06:07 PM |