|
|
|
|
|
1 Replies and 2449 Views
Problem using Software FETEX 2.0 2449 1
Started by Deleted User
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 |
2449 |
17 Dec 2016 12:01 PM |
|
0 Replies and 1771 Views
Double representation constant bug? 1771 0
Started by Deleted User
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 |
1771 |
16 Dec 2016 01:57 AM |
|
0 Replies and 1925 Views
COORD_TRANSFORM question 1925 0
Started by Deleted User
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 |
1925 |
13 Dec 2016 09:41 AM |
|
1 Replies and 1965 Views
Dealing with a rotated raster 1965 1
Started by Deleted User
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 |
1965 |
12 Dec 2016 11:22 AM |
|
1 Replies and 1924 Views
plot colored streamline 1924 1
Started by Deleted User
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 |
1924 |
12 Dec 2016 06:14 AM |
|
1 Replies and 2239 Views
HYDROTHERM 2239 1
Started by Deleted User
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 |
2239 |
05 Dec 2016 02:22 PM |
|
1 Replies and 1893 Views
scalar * vector = vector (but not always!) 1893 1
Started by Deleted User
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 |
1893 |
29 Nov 2016 06:25 AM |
|
0 Replies and 2045 Views
UCS-2/UCS-4 problem for IDL-Python bridge on Linux. 2045 0
Started by Deleted User
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 |
2045 |
21 Nov 2016 07:32 PM |
|
1 Replies and 3210 Views
UCS2/UCS4 Problem for Python 2.7 bridge on Linux. 3210 1
Started by Deleted User
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 |
3210 |
21 Nov 2016 06:07 PM |
|
1 Replies and 2194 Views
Create mask based on index value? 2194 1
Started by Deleted User
Can you point me in the direction of how to mask values below a certain index value, like NDVI Each of my greenhouse images has a lot of background in them I want removed before batch processing indices. Thanks.
|
|
|
|
1 |
2194 |
10 Nov 2016 01:38 PM |
|
1 Replies and 3572 Views
Variable is undefined: DIM 3572 1
Started by Deleted User
A user is running to an error that says:
"Variable is undefined: DIM"
When they attempt to run a program that uses the ENVI_DOIT, ENVI_MASK_APPLY_DOIT routine.
|
|
|
|
1 |
3572 |
08 Nov 2016 01:14 PM |
|
1 Replies and 2248 Views
How to get raster extents? 2248 1
Started by Deleted User
I've loaded a raster called myraster in ENVI and want to know its extent, i. e. map or geographic coordinates of the corners. How can I do this
|
|
|
|
1 |
2248 |
07 Nov 2016 12:57 PM |
|
1 Replies and 1790 Views
A distributable made with make_rt doesn&39;t work. The icon appears and then disappears right away. 1790 1
Started by Deleted User
A distributable made with make_rt doesn't work. The AppleScript icon appears and then disappears right away. In this case the file I am running is the .app file that is made by make_rt. (I am using OS X.)
All the code works fine when I restore the .sav file and run it from the console in the IDE.
I did create a .pro file with the same name as the package, and I thought that would be used as the entry point.
If I try to target LIN64 instead of OS X, a differnet problem arises when I run the co...
|
|
|
|
1 |
1790 |
27 Oct 2016 07:08 PM |
|
2 Replies and 2072 Views
Custom Naming 2072 2
Started by Deleted User
This code results in each image cube being named with it's original filename (e.g. raw_4000_rd) the ENVITask performed (e.g. ndvi).
This code doesn't loop because it says it cannot overwrite existing file. How do I run this custom index task and output each to an individual file with a custom name
Thanks
|
|
|
|
2 |
2072 |
24 Oct 2016 10:47 AM |
|
1 Replies and 2716 Views
MODIS Conversion Toolkit - IDL Execution Error for MOD11A1 2716 1
Started by Deleted User
Dear All,
I running this code but i have this message error:
Keyword GRID not allowed in call to: CONVERT_MODIS_DATA
Execution halted at: REPROJECT_MOD11A1 57 C:\Users\User\IDLWorkspace80\Default\reproject_mod11a1. $MAIN$
onyone can help me
Best Regards
Here is my code.
;batch det LST_day_time from MOD11A1
PRO reproject_mod11a1
COMPILE_OPT IDL2
ENVI, /RESTORE_BASE_SAVE_FILES
ENVI_BATCH_INIT;
;choice your data floder
input_directory=dialog_pic...
|
|
|
|
1 |
2716 |
14 Oct 2016 06:21 PM |
|
0 Replies and 1821 Views
MODIS Conversion Toolkit - IDL Execution Error for MOD11A1 products 1821 0
Started by Deleted User
Dear All,
I running this code but i have this message error:
Keyword GRID not allowed in call to: CONVERT_MODIS_DATA
Execution halted at: REPROJECT_MOD11A1 57 C:\Users\User\IDLWorkspace80\Default\reproject_mod11a1. $MAIN$
Here is my code.
;batch det LST_day_time from MOD11A1
PRO reproject_mod11a1
COMPILE_OPT IDL2
ENVI, /RESTORE_BASE_SAVE_FILES
ENVI_BATCH_INIT;
;choice your data floder
input_directory=dialog_pickfile(title='chioce data floder...
|
|
|
|
0 |
1821 |
14 Oct 2016 05:58 PM |
|
1 Replies and 2183 Views
How do I change the distance of xtitle to AXIS? 2183 1
Started by Deleted User
In the PLOT function, I want to change the distance between xtitle(ytitle) to axis, but could not find any properties in AXIS and in TEXT functions, I want to know how to do that
Thanks.
|
|
|
|
1 |
2183 |
22 Aug 2016 10:18 AM |
|
4 Replies and 2659 Views
computing ndvi for every pixel in the satellite picture (landsat 8) 2659 4
Started by Deleted User
Hi
Using envi, I generated .dat file that contains radiometric calibrations. Then using spectral tab then vegetation I generated NDVI file.
My problem now I am not able to read the ndvi file so I can used every read value to calculate emissivity(I have the equation based on NDVI value for each pixel) for each pixel.
Could you please help me.
|
|
|
|
4 |
2659 |
19 Aug 2016 01:06 PM |
|
1 Replies and 2017 Views
read_dicom fails on older dicom images 2017 1
Started by Deleted User
I tried to read dicom images that were 384x384 in size. IDL correctly read the header resolution. However the following code
tmp = read_dicom(imageFileName)
sz = size(tmp)
print,sz
produced an output of
2 64 64 1 4096
It produces an image that is only 64 by 64 in size. ImageJ can read the dicom images without a problem at the correct size of 384 by 384.
This problem doesn't happen with new dicom images sent over kpacs from a siemens sca...
|
|
|
|
1 |
2017 |
16 Aug 2016 07:26 AM |
|
1 Replies and 2004 Views
arithmetic error when using errorplot and /xlog 2004 1
Started by Deleted User
I have the problem that when I try to plot an errorplot and use /xlog, I keep getting an error no matter what dataset.
I have tried to distil the problem down to the simplest program:
pro test
X=&912,3&93
Y=&912,4&93
E_Y=&911,2&93
p = errorPLOT(X,Y, E_Y,/xlog)
end
It will plot it, but at the same time give me: Program caused arithmetic error: Floating divide by 0
Any ideas of what is the cause of the problem
I have IDL 8.3.0 for Mac
|
|
|
|
1 |
2004 |
12 Aug 2016 09:15 AM |